From b2b0c785040e26e68cb630f17654ce1e3ca923f8 Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Mon, 24 Aug 2020 17:32:56 +0200 Subject: [PATCH] fix on shapeGroups.py --- src/HYDROTools/shapesGroups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HYDROTools/shapesGroups.py b/src/HYDROTools/shapesGroups.py index 18dedea5..1ed9e63b 100644 --- a/src/HYDROTools/shapesGroups.py +++ b/src/HYDROTools/shapesGroups.py @@ -206,7 +206,7 @@ def exploreEdgeGroups(meshFile, outputDirectory="", offsetX=0., offsetY=0.): prefix = os.path.basename(a[0]) # prefix = file name without extension mcMesh = ml.MEDFileMesh.New(meshFile) - dim = mcMesh.getSpaceDimension() + dim = mcMesh.getMeshDimension() d1=-1 # when dimension 2, edges are dim -1 if dim == 3: # when dimension 3, edges are dim -2 d1=-2 -- 2.39.2