Skip to content

Commit

Permalink
rename gui to res2vtp
Browse files Browse the repository at this point in the history
  • Loading branch information
rboman committed Apr 2, 2024
1 parent 42ab78e commit 6b758bf
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions classes/louis/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions classes/louis/tests/julia.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 2 additions & 2 deletions classes/louis/tests/small.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 2 additions & 2 deletions classes/louis/tests/waterdrop.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

4 changes: 2 additions & 2 deletions classes/louis/tests/waterdrop2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 2 additions & 2 deletions classes/louis/tests/waterdrop3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 2 additions & 2 deletions classes/louis/tests/waterdrop4.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 6b758bf

Please sign in to comment.