From: michael Date: Sun, 14 Feb 2021 12:11:24 +0000 (+0100) Subject: Reduced mesh size to save running time X-Git-Tag: V9_7_0~37 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9cb2b5ebbc4dc89560e75fea2ac8b1dff8616a09;p=tools%2Fsolverlab.git Reduced mesh size to save running time --- diff --git a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionEF_skinny_triangles/test_validation2DDiffusionEF_skinny_triangles.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionEF_skinny_triangles/test_validation2DDiffusionEF_skinny_triangles.py index bdbeaf0..263ae18 100755 --- a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionEF_skinny_triangles/test_validation2DDiffusionEF_skinny_triangles.py +++ b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionEF_skinny_triangles/test_validation2DDiffusionEF_skinny_triangles.py @@ -12,7 +12,7 @@ def test_validation2DEF_skinny_triangles(): start = time.time() #### 2D FE skinny triangle mesh #meshList=[5,9,15,21,31] - meshList=['squareWithSkinnyTriangles_0','squareWithSkinnyTriangles_1','squareWithSkinnyTriangles_2','squareWithSkinnyTriangles_3']#,'squareWithSkinnyTriangles_4' + meshList=['squareWithSkinnyTriangles_0','squareWithSkinnyTriangles_1','squareWithSkinnyTriangles_2']#,'squareWithSkinnyTriangles_3','squareWithSkinnyTriangles_4' mesh_path='../../../ressources/2DSkinnyTriangles/' meshType="Regular_skinny_triangles" mesh_name='squareWithSkinnyTriangles' @@ -78,7 +78,7 @@ def test_validation2DEF_skinny_triangles(): b=(-a2*b1+a1*b2)/det print( "FE on 2D skinny triangle mesh : scheme order is ", -a ) - assert abs(a+1.54)<0.1 + assert abs(a+1.59)<0.01 # Plot of convergence curves plt.close() diff --git a/CDMATH/tests/validation/Poisson/2DPoissonEF_skinny_triangles/test_validation2DPoissonEF_skinny_triangles.py b/CDMATH/tests/validation/Poisson/2DPoissonEF_skinny_triangles/test_validation2DPoissonEF_skinny_triangles.py index 5710282..a68ebbe 100755 --- a/CDMATH/tests/validation/Poisson/2DPoissonEF_skinny_triangles/test_validation2DPoissonEF_skinny_triangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonEF_skinny_triangles/test_validation2DPoissonEF_skinny_triangles.py @@ -12,7 +12,7 @@ def test_validation2DEF_skinny_triangles(): start = time.time() #### 2D FE skinny triangle mesh #meshList=[5,9,15,21,31] - meshList=['squareWithSkinnyTriangles_0','squareWithSkinnyTriangles_1','squareWithSkinnyTriangles_2','squareWithSkinnyTriangles_3']#,'squareWithSkinnyTriangles_4' + meshList=['squareWithSkinnyTriangles_0','squareWithSkinnyTriangles_1','squareWithSkinnyTriangles_2']#,'squareWithSkinnyTriangles_3','squareWithSkinnyTriangles_4' mesh_path='../../../ressources/2DSkinnyTriangles/' meshType="Regular_skinny_triangles" mesh_name='squareWithSkinnyTriangles' @@ -78,7 +78,7 @@ def test_validation2DEF_skinny_triangles(): b=(-a2*b1+a1*b2)/det print( "FE on 2D skinny triangle mesh : scheme order is ", -a ) - assert abs(a+1.397)<0.1 + assert abs(a+1.41)<0.01 # Plot of convergence curves plt.close()