From 6b758bf7867955bfdac8e8815d08f248ec4a7216 Mon Sep 17 00:00:00 2001 From: Romain Boman Date: Tue, 2 Apr 2024 10:53:12 +0200 Subject: [PATCH] rename gui to res2vtp --- classes/louis/run.py | 4 ++-- classes/louis/sph/{gui.py => res2vtp.py} | 0 classes/louis/tests/julia.py | 4 ++-- classes/louis/tests/small.py | 4 ++-- classes/louis/tests/waterdrop.py | 4 ++-- classes/louis/tests/waterdrop2.py | 4 ++-- classes/louis/tests/waterdrop3.py | 4 ++-- classes/louis/tests/waterdrop4.py | 4 ++-- 8 files changed, 14 insertions(+), 14 deletions(-) rename classes/louis/sph/{gui.py => res2vtp.py} (100%) diff --git a/classes/louis/run.py b/classes/louis/run.py index 13471419..b50cc740 100755 --- a/classes/louis/run.py +++ b/classes/louis/run.py @@ -75,8 +75,8 @@ def __del__(self): if args.post: # only post-processing - import sph.gui as gui - gui.ToParaview(verb=False).convertall() + import sph.res2vtp as res2vtp + res2vtp.ToParaview(verb=False).convertall() else: # start test import time, platform diff --git a/classes/louis/sph/gui.py b/classes/louis/sph/res2vtp.py similarity index 100% rename from classes/louis/sph/gui.py rename to classes/louis/sph/res2vtp.py diff --git a/classes/louis/tests/julia.py b/classes/louis/tests/julia.py index 6c41c39c..aa8f0546 100644 --- a/classes/louis/tests/julia.py +++ b/classes/louis/tests/julia.py @@ -51,7 +51,7 @@ # convert to VTK try: print("Converting to VTK") - import sph.gui as gui - gui.ToParaview(verb=False).convertall() + import sph.res2vtp as res2vtp + res2vtp.ToParaview(verb=False).convertall() except Exception as e: print("\n**ERROR while converting to VTK:", e) diff --git a/classes/louis/tests/small.py b/classes/louis/tests/small.py index 1a8bac5b..a168c610 100644 --- a/classes/louis/tests/small.py +++ b/classes/louis/tests/small.py @@ -50,7 +50,7 @@ # convert to VTK try: - import sph.gui as gui - gui.ToParaview(verb=False).convertall() + import sph.res2vtp as res2vtp + res2vtp.ToParaview(verb=False).convertall() except Exception as e: print("\n**ERROR while converting to VTK:", e) diff --git a/classes/louis/tests/waterdrop.py b/classes/louis/tests/waterdrop.py index ec3273d1..5c279c20 100644 --- a/classes/louis/tests/waterdrop.py +++ b/classes/louis/tests/waterdrop.py @@ -50,8 +50,8 @@ # convert to VTK try: - import sph.gui as gui - gui.ToParaview(verb=False).convertall() + import sph.res2vtp as res2vtp + res2vtp.ToParaview(verb=False).convertall() except Exception as e: print("\n**ERROR while converting to VTK:", e) diff --git a/classes/louis/tests/waterdrop2.py b/classes/louis/tests/waterdrop2.py index 7422735a..fc1006df 100644 --- a/classes/louis/tests/waterdrop2.py +++ b/classes/louis/tests/waterdrop2.py @@ -79,7 +79,7 @@ # convert to VTK try: - import sph.gui as gui - gui.ToParaview(verb=False).convertall() + import sph.res2vtp as res2vtp + res2vtp.ToParaview(verb=False).convertall() except Exception as e: print("\n**ERROR while converting to VTK:", e) diff --git a/classes/louis/tests/waterdrop3.py b/classes/louis/tests/waterdrop3.py index 66fd938e..df052db5 100644 --- a/classes/louis/tests/waterdrop3.py +++ b/classes/louis/tests/waterdrop3.py @@ -78,7 +78,7 @@ # convert to VTK try: - import sph.gui as gui - gui.ToParaview(verb=False).convertall() + import sph.res2vtp as res2vtp + res2vtp.ToParaview(verb=False).convertall() except Exception as e: print("\n**ERROR while converting to VTK:", e) diff --git a/classes/louis/tests/waterdrop4.py b/classes/louis/tests/waterdrop4.py index 65a905a5..7af0d3df 100644 --- a/classes/louis/tests/waterdrop4.py +++ b/classes/louis/tests/waterdrop4.py @@ -77,7 +77,7 @@ # convert to VTK try: - import sph.gui as gui - gui.ToParaview(verb=False).convertall() + import sph.res2vtp as res2vtp + res2vtp.ToParaview(verb=False).convertall() except Exception as e: print("\n**ERROR while converting to VTK:", e)