]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Corrected file name error in postprocessin
authormichael <michael@localhost.localdomain>
Sun, 21 Mar 2021 10:33:14 +0000 (11:33 +0100)
committermichael <michael@localhost.localdomain>
Sun, 21 Mar 2021 10:33:14 +0000 (11:33 +0100)
CDMATH/tests/validation/Poisson/3DCubeSkinPoissonEF/test_validation3DCubeSkinPoissonEF.py
CDMATH/tests/validation/Poisson/3DSpherePoissonEF/test_validation3DSpherePoissonEF.py [changed mode: 0644->0755]
CDMATH/tests/validation/Poisson/3DTorusPoissonEF/test_validation3DTorusPoissonEF.py

index e3e1831143df7361ee3997dd069667ab89553578..3fa8f81c7d92a3cb467522c90e3f638b08c8590b 100755 (executable)
@@ -30,7 +30,7 @@ def test_validation3DCubeSkinEF():
         assert max_sol_num<1.1
         error_tab[i]=log10(error_tab[i])
         time_tab[i]=log10(time_tab[i])
-        with open('./FiniteElementsOnCubeSkinPoisson_PlotOnSortedLines'+meshType+str(mesh_size_tab[i])+'0.csv') as f:
+        with open('./FiniteElementsOnCubeSkinPoisson_PlotOnSortedLines'+meshType+str(mesh_size_tab[i])+'.csv') as f:
             lines = f.readlines()
             y = [float(line.split(",")[0]) for line in lines[1:]]
             x = [float(line.split(",")[1]) for line in lines[1:]]
old mode 100644 (file)
new mode 100755 (executable)
index 22827ed..fcb9b9e
@@ -1,4 +1,6 @@
 import FiniteElements3DPoissonSphere
+import matplotlib
+matplotlib.use("Agg")
 import matplotlib.pyplot as plt
 import numpy as np
 from math import log10, sqrt
@@ -28,7 +30,7 @@ def test_validation3DSphereEF():
         assert max_sol_num<1.1
         error_tab[i]=log10(error_tab[i])
         time_tab[i]=log10(time_tab[i])
-        with open('./FiniteElementsOnSpherePoisson_PlotOnSortedLines'+meshType+str(mesh_size_tab[i])+'0.csv') as f:
+        with open('./FiniteElementsOnSpherePoisson_PlotOnSortedLines'+meshType+str(mesh_size_tab[i])+'.csv') as f:
             lines = f.readlines()
             y = [float(line.split(",")[0]) for line in lines[1:]]
             x = [float(line.split(",")[1]) for line in lines[1:]]
index 3ed1b87903a15bc4d5c0db3ef221eae59a14030c..ee81c8ea7b3785b996564077893a4a93bdf22c26 100755 (executable)
@@ -30,7 +30,7 @@ def test_validation3DTorusEF():
         assert max_sol_num<1.15
         error_tab[i]=log10(error_tab[i])
         time_tab[i]=log10(time_tab[i])
-        with open('./FiniteElementsOnTorusPoisson_PlotOnSortedLines'+meshType+str(mesh_size_tab[i])+'0.csv') as f:
+        with open('./FiniteElementsOnTorusPoisson_PlotOnSortedLines'+meshType+str(mesh_size_tab[i])+'.csv') as f:
             lines = f.readlines()
             y = [float(line.split(",")[0]) for line in lines[1:]]
             x = [float(line.split(",")[1]) for line in lines[1:]]