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
3823da66
Commit
3823da66
authored
Jan 11, 2016
by
Cristian Lalescu
Browse files
add back acc_on parameter, but make it int
parent
be2b6813
Changes
1
Hide whitespace changes
Inline
Side-by-side
bfps/NavierStokes.py
View file @
3823da66
...
...
@@ -459,6 +459,7 @@ class NavierStokes(bfps.fluid_base.fluid_particle_base):
if
type
(
kcut
)
==
list
:
self
.
parameters
[
'tracers{0}_kcut'
.
format
(
s0
+
s
)]
=
kcut
[
s
]
self
.
parameters
[
'tracers{0}_interpolator'
.
format
(
s0
+
s
)]
=
interpolator
[
s
]
self
.
parameters
[
'tracers{0}_acc_on'
.
format
(
s0
+
s
)]
=
int
(
not
type
(
acc_name
)
==
type
(
None
))
self
.
parameters
[
'tracers{0}_integration_steps'
.
format
(
s0
+
s
)]
=
integration_steps
[
s
]
self
.
file_datasets_grow
+=
"""
//begincpp
...
...
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