Skip to content

Commit 759ce83

Browse files
PR minor changes
1 parent f9e6ec9 commit 759ce83

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/AreaExporterService.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ def addPhysicalModelOfDimension(self, dimension=2):
3333
self.addComputedArea(geometryName, area)
3434

3535
def exportToJson(self, exportFileName:str):
36-
with open(exportFileName + ".json", 'w') as f:
36+
with open(exportFileName + ".areas.json", 'w') as f:
3737
json.dump(self.computedAreas, f, indent=3)

src/mesher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def runFromInput(self, inputFile, runGui=False):
3030

3131
gmsh.initialize()
3232
self.meshFromStep(inputFile, caseName, self.DEFAULT_MESHING_OPTIONS)
33-
self.exportgeomtryAreas(caseName)
33+
self.exportGeometryAreas(caseName)
3434
gmsh.write(caseName + '.msh')
3535
gmsh.write(caseName + '.vtk')
3636
if runGui:
@@ -66,7 +66,7 @@ def meshFromStep(self, inputFile: str, caseName: str, meshingOptions=None):
6666

6767
gmsh.model.mesh.generate(2)
6868

69-
def exportgeomtryAreas(self, caseName:str):
69+
def exportGeometryAreas(self, caseName:str):
7070
exporter = AreaExporterService()
7171
exporter.addPhysicalModelOfDimension(dimension=2)
7272
exporter.addPhysicalModelOfDimension(dimension=1)

0 commit comments

Comments
 (0)