Skip to content

Commit

Permalink
iFlag_save_mesh flag
Browse files Browse the repository at this point in the history
  • Loading branch information
changliao1025 committed Mar 3, 2022
1 parent 5170578 commit 86d615f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyflowline/classes/pycase.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ def __init__(self, aParameter,\
if 'iFlag_flowline' in aParameter:
self.iFlag_flowline = int(aParameter[ 'iFlag_flowline'])




if 'iFlag_global' in aParameter:
Expand Down Expand Up @@ -302,6 +303,7 @@ def __init__(self, aParameter,\


#model generated files

self.sFilename_mesh = os.path.join(str(Path(self.sWorkspace_output) ) , sMesh_type + ".json" )
self.sFilename_mesh_info= os.path.join(str(Path(self.sWorkspace_output) ) , sMesh_type + "_mesh_info.json" )
self.sWorkspace_data_project = str(Path(self.sWorkspace_data ) / self.sWorkspace_project)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ def pyflowline_generate_template_configuration_json_file(sFilename_json, sPath_d

aConfig['iFlag_use_shapefile_extent'] = iFlag_use_shapefile_extent
aConfig['iFlag_use_mesh_dem'] = iFlag_use_mesh_dem

aConfig['iFlag_save_mesh'] = 1

aConfig['nOutlet'] = nBasin
aConfig['dResolution_degree'] = 0.5
Expand Down

0 comments on commit 86d615f

Please sign in to comment.