Skip to content

Commit

Permalink
update hpc function
Browse files Browse the repository at this point in the history
  • Loading branch information
changliao1025 committed Oct 17, 2023
1 parent f94e18d commit 6c17369
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions pyflowline/classes/_hpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,7 @@ def _create_hpc_job(self, sSlurm_in=None):
+ 'sMesh_type_in="'+ str(self.sMesh_type) +'"' \
+ ')' + '\n'
ofs_pyflowline.write(sLine)
#if self.iFlag_flowline==1:
# sLine = 'oPyflowline.aBasin[0].dLatitude_outlet_degree=' \
# + "{:0f}".format(self.aBasin[0].dLatitude_outlet_degree)+ '\n'
# ofs_pyflowline.write(sLine)
# sLine = 'oPyflowline.aBasin[0].dLongitude_outlet_degree=' \
# + "{:0f}".format(self.aBasin[0].dLongitude_outlet_degree)+ '\n'
# ofs_pyflowline.write(sLine)

sLine = 'oPyflowline.setup()' + '\n'
ofs_pyflowline.write(sLine)

Expand All @@ -38,9 +32,9 @@ def _create_hpc_job(self, sSlurm_in=None):
ofs_pyflowline.write(sLine)
else:
pass
sLine = 'aCell = oPyflowline.mesh_generation()' + '\n'
sLine = 'oPyflowline.mesh_generation()' + '\n'
ofs_pyflowline.write(sLine)
sLine = 'oPyflowline.reconstruct_topological_relationship(aCell)' + '\n'
sLine = 'oPyflowline.reconstruct_topological_relationship()' + '\n'
ofs_pyflowline.write(sLine)

sLine = 'oPyflowline.analyze()' + '\n'
Expand Down

0 comments on commit 6c17369

Please sign in to comment.