From: michael Date: Sun, 21 Mar 2021 10:35:18 +0000 (+0100) Subject: Added matplotlib.use(Agg) to correct memory error X-Git-Tag: V9_7_0~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dfc9ae59f8e1db4b9306db8fdc18d96977fc6ed7;p=tools%2Fsolverlab.git Added matplotlib.use(Agg) to correct memory error --- diff --git a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_Delaunay_triangles/test_validation2DDiffusionVF_Delaunay_triangles.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_Delaunay_triangles/test_validation2DDiffusionVF_Delaunay_triangles.py index 2a59e3d..5c20f3b 100755 --- a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_Delaunay_triangles/test_validation2DDiffusionVF_Delaunay_triangles.py +++ b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_Delaunay_triangles/test_validation2DDiffusionVF_Delaunay_triangles.py @@ -1,4 +1,6 @@ import FiniteVolumes2DDiffusion_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10,sqrt diff --git a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_brickwall/test_validation2DDiffusionVF_brickwall.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_brickwall/test_validation2DDiffusionVF_brickwall.py index 4138577..214eade 100755 --- a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_brickwall/test_validation2DDiffusionVF_brickwall.py +++ b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_brickwall/test_validation2DDiffusionVF_brickwall.py @@ -1,4 +1,6 @@ import FiniteVolumes2DDiffusion_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10,sqrt diff --git a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_checkerboard/test_validation2DDiffusionVF_checkerboard.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_checkerboard/test_validation2DDiffusionVF_checkerboard.py index 6300f81..f1a76db 100755 --- a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_checkerboard/test_validation2DDiffusionVF_checkerboard.py +++ b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_checkerboard/test_validation2DDiffusionVF_checkerboard.py @@ -1,4 +1,6 @@ import FiniteVolumes2DDiffusion_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_cross_triangles/test_validation2DDiffusionVF_cross_triangles.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_cross_triangles/test_validation2DDiffusionVF_cross_triangles.py index 7692f94..2b9eacb 100755 --- a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_cross_triangles/test_validation2DDiffusionVF_cross_triangles.py +++ b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_cross_triangles/test_validation2DDiffusionVF_cross_triangles.py @@ -1,4 +1,6 @@ import FiniteVolumes2DDiffusion_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_deformedQuadrangles/test_validation2DDiffusionVF_deformedQuadrangles.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_deformedQuadrangles/test_validation2DDiffusionVF_deformedQuadrangles.py index f1c2782..d021dd7 100755 --- a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_deformedQuadrangles/test_validation2DDiffusionVF_deformedQuadrangles.py +++ b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_deformedQuadrangles/test_validation2DDiffusionVF_deformedQuadrangles.py @@ -1,4 +1,6 @@ import FiniteVolumes2DDiffusion_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10,sqrt diff --git a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_flat_cross_triangles/test_validation2DDiffusionVF_flat_cross_triangles.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_flat_cross_triangles/test_validation2DDiffusionVF_flat_cross_triangles.py index 8bf2e2d..be584b4 100755 --- a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_flat_cross_triangles/test_validation2DDiffusionVF_flat_cross_triangles.py +++ b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_flat_cross_triangles/test_validation2DDiffusionVF_flat_cross_triangles.py @@ -1,4 +1,6 @@ import FiniteVolumes2DDiffusion_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_hexagons/test_validation2DDiffusionVF_hexagons.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_hexagons/test_validation2DDiffusionVF_hexagons.py index ad22658..e4fbcf9 100755 --- a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_hexagons/test_validation2DDiffusionVF_hexagons.py +++ b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_hexagons/test_validation2DDiffusionVF_hexagons.py @@ -1,4 +1,6 @@ import FiniteVolumes2DDiffusion_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10,sqrt diff --git a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_loc_ref/test_validation2DDiffusionVF_loc_ref.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_loc_ref/test_validation2DDiffusionVF_loc_ref.py index 3f2bac0..0d19688 100755 --- a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_loc_ref/test_validation2DDiffusionVF_loc_ref.py +++ b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_loc_ref/test_validation2DDiffusionVF_loc_ref.py @@ -1,4 +1,6 @@ import FiniteVolumes2DDiffusion_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_long_rectangles/test_validation2DDiffusionVF_long_rectangles.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_long_rectangles/test_validation2DDiffusionVF_long_rectangles.py index 4ab6a4d..59b5b6f 100755 --- a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_long_rectangles/test_validation2DDiffusionVF_long_rectangles.py +++ b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_long_rectangles/test_validation2DDiffusionVF_long_rectangles.py @@ -1,5 +1,7 @@ import cdmath import FiniteVolumes2DDiffusion_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_skinny_triangles/test_validation2DDiffusionVF_skinny_triangles.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_skinny_triangles/test_validation2DDiffusionVF_skinny_triangles.py index e93d900..186ec4b 100755 --- a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_skinny_triangles/test_validation2DDiffusionVF_skinny_triangles.py +++ b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_skinny_triangles/test_validation2DDiffusionVF_skinny_triangles.py @@ -1,5 +1,7 @@ import cdmath import FiniteVolumes2DDiffusion_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_squares/test_validation2DDiffusionVF_squares.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_squares/test_validation2DDiffusionVF_squares.py index 2ed0bbd..d59489f 100755 --- a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_squares/test_validation2DDiffusionVF_squares.py +++ b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionVF_squares/test_validation2DDiffusionVF_squares.py @@ -1,4 +1,6 @@ import FiniteVolumes2DDiffusion_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_Delaunay_triangles/test_validation2DPoissonVF_Delaunay_triangles.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_Delaunay_triangles/test_validation2DPoissonVF_Delaunay_triangles.py index 58a3bb4..e76545d 100644 --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_Delaunay_triangles/test_validation2DPoissonVF_Delaunay_triangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_Delaunay_triangles/test_validation2DPoissonVF_Delaunay_triangles.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoisson_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10,sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_delaunay_triangles/test_validation2DPoissonVF_StiffBCDisk_Delaunay_triangles.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_delaunay_triangles/test_validation2DPoissonVF_StiffBCDisk_Delaunay_triangles.py old mode 100644 new mode 100755 index 705d465..e2ee131 --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_delaunay_triangles/test_validation2DPoissonVF_StiffBCDisk_Delaunay_triangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_delaunay_triangles/test_validation2DPoissonVF_StiffBCDisk_Delaunay_triangles.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoissonStiffBC_DISK +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_hexagons/test_validation2DPoissonVF_StiffBCDisk_hexagons.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_hexagons/test_validation2DPoissonVF_StiffBCDisk_hexagons.py old mode 100644 new mode 100755 index d802d23..016a257 --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_hexagons/test_validation2DPoissonVF_StiffBCDisk_hexagons.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_hexagons/test_validation2DPoissonVF_StiffBCDisk_hexagons.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoissonStiffBC_DISK +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_spiderWeb/test_validation2DPoissonVF_StiffBCDisk_spiderWeb.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_spiderWeb/test_validation2DPoissonVF_StiffBCDisk_spiderWeb.py old mode 100644 new mode 100755 index f805225..8df14e0 --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_spiderWeb/test_validation2DPoissonVF_StiffBCDisk_spiderWeb.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_spiderWeb/test_validation2DPoissonVF_StiffBCDisk_spiderWeb.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoissonStiffBC_DISK +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_squares/test_validation2DPoissonVF_StiffBCDisk_squares.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_squares/test_validation2DPoissonVF_StiffBCDisk_squares.py old mode 100644 new mode 100755 index 973ed7b..bc17435 --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_squares/test_validation2DPoissonVF_StiffBCDisk_squares.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCDisk_squares/test_validation2DPoissonVF_StiffBCDisk_squares.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoissonStiffBC_DISK +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCSquare_equilateralTriangles/test_validation2DPoissonVF_StiffBCSquare_equilateralTriangles.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCSquare_equilateralTriangles/test_validation2DPoissonVF_StiffBCSquare_equilateralTriangles.py old mode 100644 new mode 100755 index ab27a65..f05796c --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCSquare_equilateralTriangles/test_validation2DPoissonVF_StiffBCSquare_equilateralTriangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCSquare_equilateralTriangles/test_validation2DPoissonVF_StiffBCSquare_equilateralTriangles.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoissonStiffBC_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCSquare_hexagons/test_validation2DPoissonVF_StiffBCSquare_hexagons.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCSquare_hexagons/test_validation2DPoissonVF_StiffBCSquare_hexagons.py old mode 100644 new mode 100755 index c73cc44..e2e8c20 --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCSquare_hexagons/test_validation2DPoissonVF_StiffBCSquare_hexagons.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCSquare_hexagons/test_validation2DPoissonVF_StiffBCSquare_hexagons.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoissonStiffBC_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCSquare_squares/test_validation2DPoissonVF_StiffBCSquare_squares.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCSquare_squares/test_validation2DPoissonVF_StiffBCSquare_squares.py old mode 100644 new mode 100755 index 0739a07..923bdd3 --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCSquare_squares/test_validation2DPoissonVF_StiffBCSquare_squares.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_StiffBCSquare_squares/test_validation2DPoissonVF_StiffBCSquare_squares.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoissonStiffBC_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_brickwall/test_validation2DPoissonVF_brickwall.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_brickwall/test_validation2DPoissonVF_brickwall.py old mode 100644 new mode 100755 index 7794622..0a74a7b --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_brickwall/test_validation2DPoissonVF_brickwall.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_brickwall/test_validation2DPoissonVF_brickwall.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoisson_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10,sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_checkerboard/test_validation2DPoissonVF_checkerboard.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_checkerboard/test_validation2DPoissonVF_checkerboard.py old mode 100644 new mode 100755 index e096510..78446bc --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_checkerboard/test_validation2DPoissonVF_checkerboard.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_checkerboard/test_validation2DPoissonVF_checkerboard.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoisson_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_cross_triangles/test_validation2DPoissonVF_cross_triangles.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_cross_triangles/test_validation2DPoissonVF_cross_triangles.py old mode 100644 new mode 100755 index 766ebae..bd8eb58 --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_cross_triangles/test_validation2DPoissonVF_cross_triangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_cross_triangles/test_validation2DPoissonVF_cross_triangles.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoisson_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_deformedQuadrangles/test_validation2DPoissonVF_deformedQuadrangles.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_deformedQuadrangles/test_validation2DPoissonVF_deformedQuadrangles.py old mode 100644 new mode 100755 index de6b39b..836a310 --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_deformedQuadrangles/test_validation2DPoissonVF_deformedQuadrangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_deformedQuadrangles/test_validation2DPoissonVF_deformedQuadrangles.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoisson_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10,sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_equilateral_triangles/test_validation2DPoissonVF_equilateral_triangles.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_equilateral_triangles/test_validation2DPoissonVF_equilateral_triangles.py old mode 100644 new mode 100755 index 49cea53..1eff5f3 --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_equilateral_triangles/test_validation2DPoissonVF_equilateral_triangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_equilateral_triangles/test_validation2DPoissonVF_equilateral_triangles.py @@ -1,5 +1,7 @@ import cdmath import FiniteVolumes2DPoisson_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_flat_cross_triangles/test_validation2DPoissonVF_flat_cross_triangles.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_flat_cross_triangles/test_validation2DPoissonVF_flat_cross_triangles.py old mode 100644 new mode 100755 index 1399530..0c4250d --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_flat_cross_triangles/test_validation2DPoissonVF_flat_cross_triangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_flat_cross_triangles/test_validation2DPoissonVF_flat_cross_triangles.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoisson_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_hexagons/test_validation2DPoissonVF_hexagons.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_hexagons/test_validation2DPoissonVF_hexagons.py old mode 100644 new mode 100755 index 98249fa..8ede501 --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_hexagons/test_validation2DPoissonVF_hexagons.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_hexagons/test_validation2DPoissonVF_hexagons.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoisson_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10,sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_loc_ref/test_validation2DPoissonVF_loc_ref.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_loc_ref/test_validation2DPoissonVF_loc_ref.py old mode 100644 new mode 100755 index 0c64745..fb6ec5f --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_loc_ref/test_validation2DPoissonVF_loc_ref.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_loc_ref/test_validation2DPoissonVF_loc_ref.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoisson_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_long_rectangles/test_validation2DPoissonVF_long_rectangles.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_long_rectangles/test_validation2DPoissonVF_long_rectangles.py old mode 100644 new mode 100755 index 7213d50..25ef4c6 --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_long_rectangles/test_validation2DPoissonVF_long_rectangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_long_rectangles/test_validation2DPoissonVF_long_rectangles.py @@ -1,5 +1,7 @@ import cdmath import FiniteVolumes2DPoisson_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_right_triangles/test_validation2DPoissonVF_right_triangles.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_right_triangles/test_validation2DPoissonVF_right_triangles.py old mode 100644 new mode 100755 index c3c03d2..ecc938a --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_right_triangles/test_validation2DPoissonVF_right_triangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_right_triangles/test_validation2DPoissonVF_right_triangles.py @@ -1,5 +1,7 @@ import cdmath import FiniteVolumes2DPoisson_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_skinny_triangles/test_validation2DPoissonVF_skinny_triangles.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_skinny_triangles/test_validation2DPoissonVF_skinny_triangles.py old mode 100644 new mode 100755 index 1481e4b..30ef831 --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_skinny_triangles/test_validation2DPoissonVF_skinny_triangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_skinny_triangles/test_validation2DPoissonVF_skinny_triangles.py @@ -1,5 +1,7 @@ import cdmath import FiniteVolumes2DPoisson_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/2DPoissonVF_squares/test_validation2DPoissonVF_squares.py b/CDMATH/tests/validation/Poisson/2DPoissonVF_squares/test_validation2DPoissonVF_squares.py old mode 100644 new mode 100755 index c1a1704..e9364bd --- a/CDMATH/tests/validation/Poisson/2DPoissonVF_squares/test_validation2DPoissonVF_squares.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonVF_squares/test_validation2DPoissonVF_squares.py @@ -1,4 +1,6 @@ import FiniteVolumes2DPoisson_SQUARE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/3DPoissonVF_checkerboard/test_validation3DPoissonVF_checkerboard.py b/CDMATH/tests/validation/Poisson/3DPoissonVF_checkerboard/test_validation3DPoissonVF_checkerboard.py index 93daa40..3d6cad2 100755 --- a/CDMATH/tests/validation/Poisson/3DPoissonVF_checkerboard/test_validation3DPoissonVF_checkerboard.py +++ b/CDMATH/tests/validation/Poisson/3DPoissonVF_checkerboard/test_validation3DPoissonVF_checkerboard.py @@ -1,4 +1,6 @@ import FiniteVolumes3DPoisson_CUBE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/3DPoissonVF_cubes/test_validation3DPoissonVF_cubes.py b/CDMATH/tests/validation/Poisson/3DPoissonVF_cubes/test_validation3DPoissonVF_cubes.py old mode 100644 new mode 100755 index bbf2de0..e321917 --- a/CDMATH/tests/validation/Poisson/3DPoissonVF_cubes/test_validation3DPoissonVF_cubes.py +++ b/CDMATH/tests/validation/Poisson/3DPoissonVF_cubes/test_validation3DPoissonVF_cubes.py @@ -1,5 +1,7 @@ import cdmath import FiniteVolumes3DPoisson_CUBE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt diff --git a/CDMATH/tests/validation/Poisson/3DPoissonVF_tetrahedra/test_validation3DPoissonVF_tetrahedra.py b/CDMATH/tests/validation/Poisson/3DPoissonVF_tetrahedra/test_validation3DPoissonVF_tetrahedra.py old mode 100644 new mode 100755 index 58955d5..9204ddb --- a/CDMATH/tests/validation/Poisson/3DPoissonVF_tetrahedra/test_validation3DPoissonVF_tetrahedra.py +++ b/CDMATH/tests/validation/Poisson/3DPoissonVF_tetrahedra/test_validation3DPoissonVF_tetrahedra.py @@ -1,4 +1,6 @@ import FiniteVolumes3DPoisson_CUBE +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt