Commit aed4d6f6 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

fix initial condition sanity check

parent 92120543
......@@ -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 [
if self.check_current_vorticity_exists:
if not os.path.exists(self.get_checkpoint_0_fname()):
need_field = True
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment