]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Corrected path
authormichael <michael@localhost.localdomain>
Fri, 19 Nov 2021 12:34:28 +0000 (13:34 +0100)
committermichael <michael@localhost.localdomain>
Fri, 19 Nov 2021 12:34:28 +0000 (13:34 +0100)
CoreFlows/examples/Python/StationaryDiffusionEquation/StationaryDiffusionEquation_2DFV_EquilateralTriangles.py

index d4170e129f37435eafa80487120e483e26716d88..4beae7611fd746f25a92f441534a3176aa0da143 100755 (executable)
@@ -18,7 +18,7 @@ def StationaryDiffusionEquation_2DFV_EquilateralTriangles():
        spaceDim = 2;
        # Prepare for the mesh
        print("Loading mesh " );
-       M=cm.Mesh(os.environ['SOLVERLAB_INSTALL']+'/share/meshes/2DEquilateralTriangles/squareWithEquilateralTriangles20.med')#Equilateral triangular mesh
+       M=cm.Mesh('../resources/squareWithEquilateralTriangles20.med')#Equilateral triangular mesh
        
        print( "Loaded 2D equilateral triangle mesh with ", M.getNumberOfCells(), " cells")