From 61895b1f5243f1361d860d56165e087c8eeecea5 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 5 Oct 2020 18:54:04 +0200 Subject: [PATCH] Corrected error in test setValue->addValue --- .../FiniteVolumes2DPoisson_DISK_StiffBC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b3b09aa..36e48e0 100755 --- a/CDMATH/tests/examples/Poisson2DVF_DISK_StiffBC/FiniteVolumes2DPoisson_DISK_StiffBC.py +++ b/CDMATH/tests/examples/Poisson2DVF_DISK_StiffBC/FiniteVolumes2DPoisson_DISK_StiffBC.py @@ -78,7 +78,7 @@ for i in range(nbCells): Ck=my_mesh.getCell(k) distance=Ci.getBarryCenter().distance(Ck.getBarryCenter()) coeff=Fj.getMeasure()/Ci.getMeasure()/distance - Rigidite.setValue(i,k,-coeff) # terme extradiagonal + Rigidite.addValue(i,k,-coeff) # terme extradiagonal else: coeff=Fj.getMeasure()/Ci.getMeasure()/Ci.getBarryCenter().distance(Fj.getBarryCenter()) #For the particular case where the mesh boundary does not coincide with the domain boundary -- 2.39.2