Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fluidparticles
MigFlow
Commits
86637267
Commit
86637267
authored
Oct 12, 2021
by
Michel Henry
Browse files
remove useless arg
parent
0659028d
Changes
1
Hide whitespace changes
Inline
Side-by-side
paraview_utils/show_problem.py
View file @
86637267
...
...
@@ -7,7 +7,7 @@ except:
raise
ValueError
(
"Cannot get the directory of the active source."
)
Delete
()
# Show the fluid velocity
def
showFluid
(
fluid
,
renderView
,
animationScene
):
def
showFluid
(
fluid
,
renderView
):
fluidDisplay
=
Show
(
fluid
,
renderView
)
fluidDisplay
.
Representation
=
'Surface'
ColorBy
(
fluidDisplay
,
(
'POINTS'
,
'velocity'
,
'Magnitude'
))
...
...
@@ -98,7 +98,7 @@ if isfile(particleProblemFile):
if
isfile
(
fluidFile
):
fluid
=
PVDReader
(
FileName
=
fluidFile
)
fluidDisplay
=
showFluid
(
fluid
,
renderView
,
animationScene
)
fluidDisplay
=
showFluid
(
fluid
,
renderView
)
if
isfile
(
particleProblemFile
):
Hide
(
fluid
,
renderView
)
showFluidVelocity
(
fluid
,
renderView
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment