Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TurTLE
TurTLE
Commits
4b7d1ed9
Commit
4b7d1ed9
authored
Jan 10, 2016
by
Cristian Lalescu
Browse files
bugfix --- code now works for multiple interpolators
parent
11fa51cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
bfps/NavierStokes.py
View file @
4b7d1ed9
...
...
@@ -551,6 +551,7 @@ class NavierStokes(bfps.fluid_base.fluid_particle_base):
'if (ps0->iteration % niter_part == 0)
\n
'
+
'{
\n
'
)
for
s
in
range
(
nspecies
):
neighbours
=
self
.
parameters
[
interpolator
[
s
]
+
'_neighbours'
]
self
.
particle_start
+=
'sprintf(fname, "tracers{0}");
\n
'
.
format
(
s0
+
s
)
self
.
particle_end
+=
(
'ps{0}->write(stat_file);
\n
'
+
'delete ps{0};
\n
'
).
format
(
s0
+
s
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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