From: michael Date: Sun, 14 Feb 2021 11:58:32 +0000 (+0100) Subject: Added matplotlib.use(Agg) to correct memory error X-Git-Tag: V9_7_0~39 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=363e0801a2606aff8fd78800b639c20be4234def;p=tools%2Fsolverlab.git Added matplotlib.use(Agg) to correct memory error --- diff --git a/CDMATH/linearsolver/src/SparseMatrixPetsc.cxx b/CDMATH/linearsolver/src/SparseMatrixPetsc.cxx index 651a744..7041acc 100755 --- a/CDMATH/linearsolver/src/SparseMatrixPetsc.cxx +++ b/CDMATH/linearsolver/src/SparseMatrixPetsc.cxx @@ -663,7 +663,7 @@ SparseMatrixPetsc::computeSVD(int nsv, double ** valS, SVDWhich which, double to SVDGetType(svd,&type); PetscPrintf(PETSC_COMM_WORLD," Solution method: %s\n\n",type); SVDGetDimensions(svd,&nsv,NULL,NULL); - PetscPrintf(PETSC_COMM_WORLD," Number of requested eingular values: %D\n",nsv); + PetscPrintf(PETSC_COMM_WORLD," Number of requested singular values: %D\n",nsv); SVDGetTolerances(svd,&tol,&maxit); PetscPrintf(PETSC_COMM_WORLD," Stopping condition: tol=%.4g, maxit=%D\n",(double)tol,maxit); diff --git a/CDMATH/tests/examples/Poisson1DEF/FiniteElements1DPoisson.py b/CDMATH/tests/examples/Poisson1DEF/FiniteElements1DPoisson.py index ff8baf5..712b614 100755 --- a/CDMATH/tests/examples/Poisson1DEF/FiniteElements1DPoisson.py +++ b/CDMATH/tests/examples/Poisson1DEF/FiniteElements1DPoisson.py @@ -11,6 +11,8 @@ import cdmath from math import sin, pi, sqrt from numpy import linspace +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import PV_routines import VTK_routines diff --git a/CDMATH/tests/examples/Poisson1DVF/FiniteVolumes1DPoisson.py b/CDMATH/tests/examples/Poisson1DVF/FiniteVolumes1DPoisson.py index 8143b5c..0f18320 100755 --- a/CDMATH/tests/examples/Poisson1DVF/FiniteVolumes1DPoisson.py +++ b/CDMATH/tests/examples/Poisson1DVF/FiniteVolumes1DPoisson.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== # Name : Résolution VF de l'équation de Poisson 1D -\triangle u = f avec conditions aux limites de Dirichlet u=0 @@ -11,6 +12,8 @@ import cdmath from math import sin, pi from numpy import linspace +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import PV_routines import VTK_routines diff --git a/CDMATH/tests/examples/Poisson2DEF/FiniteElements2DPoisson_SQUARE.py b/CDMATH/tests/examples/Poisson2DEF/FiniteElements2DPoisson_SQUARE.py old mode 100644 new mode 100755 index a7529d9..eb28762 --- a/CDMATH/tests/examples/Poisson2DEF/FiniteElements2DPoisson_SQUARE.py +++ b/CDMATH/tests/examples/Poisson2DEF/FiniteElements2DPoisson_SQUARE.py @@ -11,6 +11,8 @@ import cdmath from math import sin, pi, sqrt import numpy as np +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import PV_routines import VTK_routines diff --git a/CDMATH/tests/examples/Poisson2DEF_DISK/FiniteElements2DPoisson_DISK.py b/CDMATH/tests/examples/Poisson2DEF_DISK/FiniteElements2DPoisson_DISK.py index d3ec673..d133bdf 100755 --- a/CDMATH/tests/examples/Poisson2DEF_DISK/FiniteElements2DPoisson_DISK.py +++ b/CDMATH/tests/examples/Poisson2DEF_DISK/FiniteElements2DPoisson_DISK.py @@ -11,6 +11,8 @@ import cdmath from math import sin, sqrt, atan2 import numpy as np +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import PV_routines import VTK_routines diff --git a/CDMATH/tests/examples/Poisson2DEF_DISK_StiffBC/FiniteElements2DPoisson_DISK_StiffBC.py b/CDMATH/tests/examples/Poisson2DEF_DISK_StiffBC/FiniteElements2DPoisson_DISK_StiffBC.py index 46e9c35..f160ce6 100755 --- a/CDMATH/tests/examples/Poisson2DEF_DISK_StiffBC/FiniteElements2DPoisson_DISK_StiffBC.py +++ b/CDMATH/tests/examples/Poisson2DEF_DISK_StiffBC/FiniteElements2DPoisson_DISK_StiffBC.py @@ -11,6 +11,8 @@ import cdmath from math import atan, pi from numpy import sign, linspace +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import PV_routines import VTK_routines diff --git a/CDMATH/tests/examples/Poisson2DEF_SQUARE_StiffBC/FiniteElements2DPoisson_SQUARE_StiffBC.py b/CDMATH/tests/examples/Poisson2DEF_SQUARE_StiffBC/FiniteElements2DPoisson_SQUARE_StiffBC.py index d58fb6b..1f2a44f 100755 --- a/CDMATH/tests/examples/Poisson2DEF_SQUARE_StiffBC/FiniteElements2DPoisson_SQUARE_StiffBC.py +++ b/CDMATH/tests/examples/Poisson2DEF_SQUARE_StiffBC/FiniteElements2DPoisson_SQUARE_StiffBC.py @@ -11,6 +11,8 @@ import cdmath from math import atan, pi from numpy import linspace +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import PV_routines import VTK_routines diff --git a/CDMATH/tests/examples/Poisson2DVF/FiniteVolumes2DPoisson_SQUARE.py b/CDMATH/tests/examples/Poisson2DVF/FiniteVolumes2DPoisson_SQUARE.py old mode 100644 new mode 100755 index 128dbe3..877628c --- a/CDMATH/tests/examples/Poisson2DVF/FiniteVolumes2DPoisson_SQUARE.py +++ b/CDMATH/tests/examples/Poisson2DVF/FiniteVolumes2DPoisson_SQUARE.py @@ -11,6 +11,8 @@ import cdmath from math import sin, pi, sqrt import numpy as np +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import PV_routines import VTK_routines diff --git a/CDMATH/tests/examples/Poisson2DVF_DISK/FiniteVolumes2DPoisson_DISK.py b/CDMATH/tests/examples/Poisson2DVF_DISK/FiniteVolumes2DPoisson_DISK.py index 9a923cd..9e13ad3 100755 --- a/CDMATH/tests/examples/Poisson2DVF_DISK/FiniteVolumes2DPoisson_DISK.py +++ b/CDMATH/tests/examples/Poisson2DVF_DISK/FiniteVolumes2DPoisson_DISK.py @@ -11,6 +11,8 @@ import cdmath from math import sin, sqrt, atan2 import numpy as np +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import PV_routines import VTK_routines diff --git a/CDMATH/tests/examples/Poisson2DVF_DISK_StiffBC/FiniteVolumes2DPoisson_DISK_StiffBC.py b/CDMATH/tests/examples/Poisson2DVF_DISK_StiffBC/FiniteVolumes2DPoisson_DISK_StiffBC.py index 36e48e0..56355bd 100755 --- a/CDMATH/tests/examples/Poisson2DVF_DISK_StiffBC/FiniteVolumes2DPoisson_DISK_StiffBC.py +++ b/CDMATH/tests/examples/Poisson2DVF_DISK_StiffBC/FiniteVolumes2DPoisson_DISK_StiffBC.py @@ -11,6 +11,8 @@ import cdmath from math import atan, pi, sqrt from numpy import linspace +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import PV_routines import VTK_routines diff --git a/CDMATH/tests/examples/Poisson3DEF/FiniteElements3DPoisson_CUBE.py b/CDMATH/tests/examples/Poisson3DEF/FiniteElements3DPoisson_CUBE.py old mode 100644 new mode 100755 index 6317e94..6043a1e --- a/CDMATH/tests/examples/Poisson3DEF/FiniteElements3DPoisson_CUBE.py +++ b/CDMATH/tests/examples/Poisson3DEF/FiniteElements3DPoisson_CUBE.py @@ -11,6 +11,8 @@ import cdmath from math import sin, pi, sqrt import numpy as np +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import PV_routines import VTK_routines diff --git a/CDMATH/tests/examples/Poisson3DEF_BALL/FiniteElements3DPoisson_BALL.py b/CDMATH/tests/examples/Poisson3DEF_BALL/FiniteElements3DPoisson_BALL.py index b9f0f14..82fa4e8 100755 --- a/CDMATH/tests/examples/Poisson3DEF_BALL/FiniteElements3DPoisson_BALL.py +++ b/CDMATH/tests/examples/Poisson3DEF_BALL/FiniteElements3DPoisson_BALL.py @@ -11,6 +11,8 @@ import cdmath from math import sin, cos, atan2, sqrt import numpy as np +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import PV_routines import VTK_routines diff --git a/CDMATH/tests/examples/Poisson3DSphereEF/FiniteElements3DPoissonSphere.py b/CDMATH/tests/examples/Poisson3DSphereEF/FiniteElements3DPoissonSphere.py old mode 100644 new mode 100755 index 274586a..9d07572 --- a/CDMATH/tests/examples/Poisson3DSphereEF/FiniteElements3DPoissonSphere.py +++ b/CDMATH/tests/examples/Poisson3DSphereEF/FiniteElements3DPoissonSphere.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== # Name : Résolution EF de l'équation de Laplace-Beltrami -\triangle u = f sur une sphere diff --git a/CDMATH/tests/examples/Poisson3DTorusEF/FiniteElements3DPoissonTorus.py b/CDMATH/tests/examples/Poisson3DTorusEF/FiniteElements3DPoissonTorus.py index 0b7612c..6de976e 100755 --- a/CDMATH/tests/examples/Poisson3DTorusEF/FiniteElements3DPoissonTorus.py +++ b/CDMATH/tests/examples/Poisson3DTorusEF/FiniteElements3DPoissonTorus.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== # Name : Résolution EF de l'équation de Laplace-Beltrami -\triangle u = f sur un tore diff --git a/CDMATH/tests/examples/Poisson3DVF/FiniteVolumes3DPoisson_CUBE.py b/CDMATH/tests/examples/Poisson3DVF/FiniteVolumes3DPoisson_CUBE.py index 41c3ab0..066d1ff 100755 --- a/CDMATH/tests/examples/Poisson3DVF/FiniteVolumes3DPoisson_CUBE.py +++ b/CDMATH/tests/examples/Poisson3DVF/FiniteVolumes3DPoisson_CUBE.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== # Name : Résolution VF de l'équation de Poisson -\triangle u = f sur unu cube avec conditions aux limites de Dirichlet u=0 @@ -11,6 +12,8 @@ import cdmath from math import sin, pi, sqrt import numpy as np +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import PV_routines import VTK_routines diff --git a/CDMATH/tests/examples/Poisson3DVF_BALL/FiniteVolumes3DPoisson_BALL.py b/CDMATH/tests/examples/Poisson3DVF_BALL/FiniteVolumes3DPoisson_BALL.py index a09d3fd..2c32135 100755 --- a/CDMATH/tests/examples/Poisson3DVF_BALL/FiniteVolumes3DPoisson_BALL.py +++ b/CDMATH/tests/examples/Poisson3DVF_BALL/FiniteVolumes3DPoisson_BALL.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== # Name : Résolution VF de l'équation de Poisson -\triangle u = f sur la boule unité avec conditions aux limites de Dirichlet u=0 @@ -11,6 +12,8 @@ import cdmath from math import sin, cos, pi, sqrt, atan2 import numpy as np +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import PV_routines import VTK_routines diff --git a/CDMATH/tests/examples/TransportEquation1DUpwindImplicit/1DTransportEquationUpwindImplicit.py b/CDMATH/tests/examples/TransportEquation1DUpwindImplicit/1DTransportEquationUpwindImplicit.py index 84ddf39..6f990fb 100755 --- a/CDMATH/tests/examples/TransportEquation1DUpwindImplicit/1DTransportEquationUpwindImplicit.py +++ b/CDMATH/tests/examples/TransportEquation1DUpwindImplicit/1DTransportEquationUpwindImplicit.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== diff --git a/CDMATH/tests/examples/WaveSystem1DStaggered_RiemannProblem/WaveSystem1DStaggered_RiemannProblem.py b/CDMATH/tests/examples/WaveSystem1DStaggered_RiemannProblem/WaveSystem1DStaggered_RiemannProblem.py index 675f3dd..3603977 100755 --- a/CDMATH/tests/examples/WaveSystem1DStaggered_RiemannProblem/WaveSystem1DStaggered_RiemannProblem.py +++ b/CDMATH/tests/examples/WaveSystem1DStaggered_RiemannProblem/WaveSystem1DStaggered_RiemannProblem.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*-coding:utf-8 -* import cdmath diff --git a/CDMATH/tests/examples/WaveSystem1DUpwind/WaveSystem1DUpwind.py b/CDMATH/tests/examples/WaveSystem1DUpwind/WaveSystem1DUpwind.py index 00cbdec..945f163 100755 --- a/CDMATH/tests/examples/WaveSystem1DUpwind/WaveSystem1DUpwind.py +++ b/CDMATH/tests/examples/WaveSystem1DUpwind/WaveSystem1DUpwind.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*-coding:utf-8 -* import cdmath diff --git a/CDMATH/tests/examples/WaveSystem1DUpwind_RiemannProblem/WaveSystem1DUpwind_RiemannProblem.py b/CDMATH/tests/examples/WaveSystem1DUpwind_RiemannProblem/WaveSystem1DUpwind_RiemannProblem.py index 7fcb86d..ad3f8d6 100755 --- a/CDMATH/tests/examples/WaveSystem1DUpwind_RiemannProblem/WaveSystem1DUpwind_RiemannProblem.py +++ b/CDMATH/tests/examples/WaveSystem1DUpwind_RiemannProblem/WaveSystem1DUpwind_RiemannProblem.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*-coding:utf-8 -* import cdmath diff --git a/CDMATH/tests/examples/WaveSystem2DUpwind_RiemannProblem/WaveSystemUpwind.py b/CDMATH/tests/examples/WaveSystem2DUpwind_RiemannProblem/WaveSystemUpwind.py index db1a426..9d3abde 100755 --- a/CDMATH/tests/examples/WaveSystem2DUpwind_RiemannProblem/WaveSystemUpwind.py +++ b/CDMATH/tests/examples/WaveSystem2DUpwind_RiemannProblem/WaveSystemUpwind.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== diff --git a/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemCentered/WaveSystemCentered.py b/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemCentered/WaveSystemCentered.py index b728be9..95fa24f 100755 --- a/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemCentered/WaveSystemCentered.py +++ b/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemCentered/WaveSystemCentered.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== diff --git a/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemPStag/WaveSystemPStag.py b/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemPStag/WaveSystemPStag.py index b4793e8..1130af8 100755 --- a/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemPStag/WaveSystemPStag.py +++ b/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemPStag/WaveSystemPStag.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== diff --git a/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemStaggered/WaveSystemStaggered.py b/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemStaggered/WaveSystemStaggered.py index 69ef241..752c378 100755 --- a/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemStaggered/WaveSystemStaggered.py +++ b/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemStaggered/WaveSystemStaggered.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== diff --git a/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemUpwind/WaveSystemUpwind.py b/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemUpwind/WaveSystemUpwind.py index 5eb7688..10b55c9 100755 --- a/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemUpwind/WaveSystemUpwind.py +++ b/CDMATH/tests/examples/WaveSystem_Shock/WaveSystemUpwind/WaveSystemUpwind.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== diff --git a/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemCentered/WaveSystemCentered.py b/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemCentered/WaveSystemCentered.py index 5480f1f..c6c6fa8 100755 --- a/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemCentered/WaveSystemCentered.py +++ b/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemCentered/WaveSystemCentered.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== diff --git a/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemPStag/WaveSystemPStag.py b/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemPStag/WaveSystemPStag.py index a86f0f7..f73e2b4 100755 --- a/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemPStag/WaveSystemPStag.py +++ b/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemPStag/WaveSystemPStag.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== diff --git a/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemStaggered/WaveSystemStaggered.py b/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemStaggered/WaveSystemStaggered.py index 6318a50..092ab28 100755 --- a/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemStaggered/WaveSystemStaggered.py +++ b/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemStaggered/WaveSystemStaggered.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== diff --git a/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemUpwind/WaveSystemUpwind.py b/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemUpwind/WaveSystemUpwind.py index 3cd4021..bb190e0 100755 --- a/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemUpwind/WaveSystemUpwind.py +++ b/CDMATH/tests/examples/WaveSystem_Stationary/WaveSystemUpwind/WaveSystemUpwind.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*-coding:utf-8 -* #=============================================================================================================================== diff --git a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionEF_Delaunay_triangles/test_validation2DDiffusionEF_Delaunay_triangles.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionEF_Delaunay_triangles/test_validation2DDiffusionEF_Delaunay_triangles.py index 9601301..244b128 100755 --- a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionEF_Delaunay_triangles/test_validation2DDiffusionEF_Delaunay_triangles.py +++ b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionEF_Delaunay_triangles/test_validation2DDiffusionEF_Delaunay_triangles.py @@ -1,4 +1,6 @@ import FiniteElements2DDiffusion_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/2DDiffusionEF_flat_cross_triangles/test_validation2DDiffusionEF_flat_cross_triangles.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionEF_flat_cross_triangles/test_validation2DDiffusionEF_flat_cross_triangles.py old mode 100644 new mode 100755 index 1f604a2..30f1cd8 --- a/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionEF_flat_cross_triangles/test_validation2DDiffusionEF_flat_cross_triangles.py +++ b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionEF_flat_cross_triangles/test_validation2DDiffusionEF_flat_cross_triangles.py @@ -1,4 +1,6 @@ import FiniteElements2DDiffusion_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/2DDiffusionEF_skinny_triangles/test_validation2DDiffusionEF_skinny_triangles.py b/CDMATH/tests/validation/AnisotropicDiffusion/2DDiffusionEF_skinny_triangles/test_validation2DDiffusionEF_skinny_triangles.py index c926345..bdbeaf0 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 @@ -1,4 +1,6 @@ import FiniteElements2DDiffusion_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/2DPoissonEF_Delaunay_triangles/test_validation2DPoissonEF_Delaunay_triangles.py b/CDMATH/tests/validation/Poisson/2DPoissonEF_Delaunay_triangles/test_validation2DPoissonEF_Delaunay_triangles.py old mode 100644 new mode 100755 index e392e0f..ce97ce0 --- a/CDMATH/tests/validation/Poisson/2DPoissonEF_Delaunay_triangles/test_validation2DPoissonEF_Delaunay_triangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonEF_Delaunay_triangles/test_validation2DPoissonEF_Delaunay_triangles.py @@ -1,5 +1,7 @@ import FiniteElements2DPoisson_SQUARE import matplotlib.pyplot as plt +import matplotlib +matplotlib.use("Agg") import numpy as np from math import log10, sqrt import time, json diff --git a/CDMATH/tests/validation/Poisson/2DPoissonEF_StiffBCDisk_delaunay_triangles/test_validation2DPoissonEF_StiffBCDisk_Delaunay_triangles.py b/CDMATH/tests/validation/Poisson/2DPoissonEF_StiffBCDisk_delaunay_triangles/test_validation2DPoissonEF_StiffBCDisk_Delaunay_triangles.py old mode 100644 new mode 100755 index bdec68c..637874d --- a/CDMATH/tests/validation/Poisson/2DPoissonEF_StiffBCDisk_delaunay_triangles/test_validation2DPoissonEF_StiffBCDisk_Delaunay_triangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonEF_StiffBCDisk_delaunay_triangles/test_validation2DPoissonEF_StiffBCDisk_Delaunay_triangles.py @@ -1,4 +1,6 @@ import FiniteElements2DPoissonStiffBC_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/2DPoissonEF_StiffBCSquare_delaunay_triangles/test_validation2DPoissonEF_StiffBCSquare_Delaunay_triangles.py b/CDMATH/tests/validation/Poisson/2DPoissonEF_StiffBCSquare_delaunay_triangles/test_validation2DPoissonEF_StiffBCSquare_Delaunay_triangles.py old mode 100644 new mode 100755 index 4fc11d4..b19fa19 --- a/CDMATH/tests/validation/Poisson/2DPoissonEF_StiffBCSquare_delaunay_triangles/test_validation2DPoissonEF_StiffBCSquare_Delaunay_triangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonEF_StiffBCSquare_delaunay_triangles/test_validation2DPoissonEF_StiffBCSquare_Delaunay_triangles.py @@ -1,4 +1,6 @@ import FiniteElements2DPoissonStiffBC_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/2DPoissonEF_flat_cross_triangles/test_validation2DPoissonEF_flat_cross_triangles.py b/CDMATH/tests/validation/Poisson/2DPoissonEF_flat_cross_triangles/test_validation2DPoissonEF_flat_cross_triangles.py old mode 100644 new mode 100755 index 03c3acd..124f0b5 --- a/CDMATH/tests/validation/Poisson/2DPoissonEF_flat_cross_triangles/test_validation2DPoissonEF_flat_cross_triangles.py +++ b/CDMATH/tests/validation/Poisson/2DPoissonEF_flat_cross_triangles/test_validation2DPoissonEF_flat_cross_triangles.py @@ -1,4 +1,6 @@ import FiniteElements2DPoisson_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/2DPoissonEF_skinny_triangles/test_validation2DPoissonEF_skinny_triangles.py b/CDMATH/tests/validation/Poisson/2DPoissonEF_skinny_triangles/test_validation2DPoissonEF_skinny_triangles.py old mode 100644 new mode 100755 index c279a19..5710282 --- 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 @@ -1,4 +1,6 @@ import FiniteElements2DPoisson_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/3DCubeSkinPoissonEF/test_validation3DCubeSkinPoissonEF.py b/CDMATH/tests/validation/Poisson/3DCubeSkinPoissonEF/test_validation3DCubeSkinPoissonEF.py old mode 100644 new mode 100755 index c7c5e38..e3e1831 --- a/CDMATH/tests/validation/Poisson/3DCubeSkinPoissonEF/test_validation3DCubeSkinPoissonEF.py +++ b/CDMATH/tests/validation/Poisson/3DCubeSkinPoissonEF/test_validation3DCubeSkinPoissonEF.py @@ -1,4 +1,6 @@ import FiniteElements3DPoissonCubeSkin +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/3DPoissonEF/test_validation3DPoissonEF.py b/CDMATH/tests/validation/Poisson/3DPoissonEF/test_validation3DPoissonEF.py old mode 100644 new mode 100755 index 980189b..492b3c2 --- a/CDMATH/tests/validation/Poisson/3DPoissonEF/test_validation3DPoissonEF.py +++ b/CDMATH/tests/validation/Poisson/3DPoissonEF/test_validation3DPoissonEF.py @@ -1,4 +1,6 @@ import FiniteElements3DPoisson_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/3DTorusPoissonEF/test_validation3DTorusPoissonEF.py b/CDMATH/tests/validation/Poisson/3DTorusPoissonEF/test_validation3DTorusPoissonEF.py old mode 100644 new mode 100755 index 117d252..3ed1b87 --- a/CDMATH/tests/validation/Poisson/3DTorusPoissonEF/test_validation3DTorusPoissonEF.py +++ b/CDMATH/tests/validation/Poisson/3DTorusPoissonEF/test_validation3DTorusPoissonEF.py @@ -1,4 +1,6 @@ import FiniteElements3DPoissonTorus +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/TransportEquation1D/1DTransportCenteredImplicit/test_validation1DTransportEquationCenteredImplicit.py b/CDMATH/tests/validation/TransportEquation1D/1DTransportCenteredImplicit/test_validation1DTransportEquationCenteredImplicit.py old mode 100644 new mode 100755 index 6b9f640..8d134bd --- a/CDMATH/tests/validation/TransportEquation1D/1DTransportCenteredImplicit/test_validation1DTransportEquationCenteredImplicit.py +++ b/CDMATH/tests/validation/TransportEquation1D/1DTransportCenteredImplicit/test_validation1DTransportEquationCenteredImplicit.py @@ -1,4 +1,6 @@ import TransportEquation1DCenteredImplicit +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/TransportEquation1D/1DTransportUpwindExplicit/test_validation1DTransportEquationUpwindExplicit.py b/CDMATH/tests/validation/TransportEquation1D/1DTransportUpwindExplicit/test_validation1DTransportEquationUpwindExplicit.py old mode 100644 new mode 100755 index 5c40905..9559531 --- a/CDMATH/tests/validation/TransportEquation1D/1DTransportUpwindExplicit/test_validation1DTransportEquationUpwindExplicit.py +++ b/CDMATH/tests/validation/TransportEquation1D/1DTransportUpwindExplicit/test_validation1DTransportEquationUpwindExplicit.py @@ -1,4 +1,6 @@ import TransportEquation1DUpwindExplicit +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/TransportEquation1D/1DTransportUpwindImplicit/test_validation1DTransportEquationUpwindImplicit.py b/CDMATH/tests/validation/TransportEquation1D/1DTransportUpwindImplicit/test_validation1DTransportEquationUpwindImplicit.py old mode 100644 new mode 100755 index a289933..e241281 --- a/CDMATH/tests/validation/TransportEquation1D/1DTransportUpwindImplicit/test_validation1DTransportEquationUpwindImplicit.py +++ b/CDMATH/tests/validation/TransportEquation1D/1DTransportUpwindImplicit/test_validation1DTransportEquationUpwindImplicit.py @@ -1,4 +1,6 @@ import TransportEquation1DUpwindImplicit +import matplotlib +matplotlib.use("Agg") import matplotlib.pyplot as plt import numpy as np from math import log10, sqrt