Skip to content
Snippets Groups Projects
Commit 089cd05c authored by Berenger Bramas's avatar Berenger Bramas
Browse files

Move the generation of particle output at the right position (python)

parent c3885ccb
No related branches found
No related tags found
2 merge requests!21Bugfix/nansampling,!3Bugfix/event manager show html
......@@ -620,13 +620,13 @@ class NSVorticityEquation(_fluid_particle_base):
args = [],
**kwargs):
opt = self.prepare_launch(args = args)
self.fill_up_fluid_code()
if opt.nparticles > 0:
self.name += '-particles'
self.add_particles(
integration_steps = 4,
neighbours = opt.neighbours,
smoothness = opt.smoothness)
self.fill_up_fluid_code()
self.finalize_code()
self.launch_jobs(opt = opt)
return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment