From 9cb2b5ebbc4dc89560e75fea2ac8b1dff8616a09 Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 14 Feb 2021 13:11:24 +0100 Subject: [PATCH] Reduced mesh size to save running time --- .../test_validation2DDiffusionEF_skinny_triangles.py | 4 ++-- .../test_validation2DPoissonEF_skinny_triangles.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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() -- 2.39.2