Skip to content
Snippets Groups Projects
Commit c7baf505 authored by David Seus's avatar David Seus
Browse files

change dirname

parent 0c87520b
Branches
No related tags found
No related merge requests found
...@@ -1563,7 +1563,9 @@ class LDDsimulation(object): ...@@ -1563,7 +1563,9 @@ class LDDsimulation(object):
# if we want to investigate the EOC and mesh dependence, we do not want # if we want to investigate the EOC and mesh dependence, we do not want
# to put all data files with different grids in different directories. # to put all data files with different grids in different directories.
if self.mesh_study: if self.mesh_study:
dirname = "dt" + "{}".format(self.timestep_size)+ "mesh_study_on-[{1:.2f},{1:.2f}]".format(self.starttime,self.endtime) + gravity_string + "/" #"{number:.{digits}f}".format(number=h, digits=3)
dirname = "dt" + "{}".format(self.timestep_size)+ \
"mesh_study_on-[{start:.{digits}f},{end:.{digits}f}]".format(start=self.starttime,end=self.endtime,digits=2) + gravity_string + "/"
else: else:
dirname = "mesh_res" + "{}_".format(self.mesh_resolution)\ dirname = "mesh_res" + "{}_".format(self.mesh_resolution)\
+ "dt" + "{}".format(self.timestep_size)\ + "dt" + "{}".format(self.timestep_size)\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment