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
aed4d6f6
Commit
aed4d6f6
authored
Nov 20, 2019
by
Cristian Lalescu
Browse files
fix initial condition sanity check
parent
92120543
Changes
1
Hide whitespace changes
Inline
Side-by-side
TurTLE/DNS.py
View file @
aed4d6f6
...
...
@@ -1048,14 +1048,7 @@ class DNS(_code):
# take care of fields' initial condition
# first, check if initial field exists
need_field
=
False
if
self
.
dns_type
in
[
'NSVE'
,
'NSVE_no_output'
,
'static_field'
,
'NSVEparticles'
,
'NSVEcomplex_particles'
,
'NSVEparticles_no_output'
,
'NSVEp_extra_sampling'
]:
if
self
.
check_current_vorticity_exists
:
if
not
os
.
path
.
exists
(
self
.
get_checkpoint_0_fname
()):
need_field
=
True
else
:
...
...
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