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
TurTLE
TurTLE
Commits
c54d2b4a
Commit
c54d2b4a
authored
Dec 19, 2019
by
Tobias Baetge
Committed by
Cristian Lalescu
Jan 30, 2020
Browse files
bugfix: NSVE_Stokes_particles uses correct Loop in step()
parent
29536d38
Changes
2
Hide whitespace changes
Inline
Side-by-side
TurTLE/test/test_turtle_NSVE_Stokes_particles.py
View file @
c54d2b4a
...
...
@@ -63,7 +63,8 @@ def main():
sys
.
argv
[
1
:])
f
=
h5py
.
File
(
'quiescent_nsve_stokes_particles_particles.h5'
,
'r'
)
print
(
f
[
'tracers0/momentum/0'
][:])
print
(
f
[
'tracers0/momentum/100'
][:])
print
(
f
[
'tracers0/momentum/0'
][:]
-
f
[
'tracers0/momentum/100'
][:])
print
(
f
[
'tracers0/position/0'
][:]
-
f
[
'tracers0/position/100'
][:])
return
None
if
__name__
==
'__main__'
:
...
...
cpp/full_code/NSVE_Stokes_particles.cpp
View file @
c54d2b4a
...
...
@@ -88,7 +88,7 @@ int NSVE_Stokes_particles<rnumber>::step(void)
TIMEZONE
(
"NSVE_Stokes_particles::step"
);
this
->
fs
->
compute_velocity
(
this
->
fs
->
cvorticity
);
this
->
fs
->
cvelocity
->
ift
();
this
->
ps
->
completeLoop
(
this
->
dt
);
this
->
ps
->
complete
2ndOrder
Loop
(
this
->
dt
);
this
->
NSVE
<
rnumber
>::
step
();
return
EXIT_SUCCESS
;
}
...
...
Write
Preview
Markdown
is supported
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