]> SALOME platform Git repositories - tools/solverlab.git/commitdiff
Salome HOME
Updated documentation (setValue->addValue)
authorndjinga <michael.ndjinga@cea.fr>
Wed, 21 Oct 2020 09:09:39 +0000 (11:09 +0200)
committerndjinga <michael.ndjinga@cea.fr>
Wed, 21 Oct 2020 09:09:39 +0000 (11:09 +0200)
35 files changed:
CDMATH/tests/doc/2DDiffusionVF/2DDiffusionVF_Delaunay_triangles/FiniteVolumes2DDiffusion_SQUARE.py
CDMATH/tests/doc/2DDiffusionVF/2DDiffusionVF_brickwall/FiniteVolumes2DDiffusion_SQUARE.py
CDMATH/tests/doc/2DDiffusionVF/2DDiffusionVF_checkerboard/FiniteVolumes2DDiffusion_SQUARE.py
CDMATH/tests/doc/2DDiffusionVF/2DDiffusionVF_cross_triangles/FiniteVolumes2DDiffusion_SQUARE.py
CDMATH/tests/doc/2DDiffusionVF/2DDiffusionVF_deformedQuadrangles/FiniteVolumes2DDiffusion_SQUARE.py
CDMATH/tests/doc/2DDiffusionVF/2DDiffusionVF_flat_cross_triangles/FiniteVolumes2DDiffusion_SQUARE.py
CDMATH/tests/doc/2DDiffusionVF/2DDiffusionVF_hexagons/FiniteVolumes2DDiffusion_SQUARE.py
CDMATH/tests/doc/2DDiffusionVF/2DDiffusionVF_loc_ref/FiniteVolumes2DDiffusion_SQUARE.py
CDMATH/tests/doc/2DDiffusionVF/2DDiffusionVF_long_rectangles/FiniteVolumes2DDiffusion_SQUARE.py
CDMATH/tests/doc/2DDiffusionVF/2DDiffusionVF_skinny_triangles/FiniteVolumes2DDiffusion_SQUARE.py
CDMATH/tests/doc/2DDiffusionVF/2DDiffusionVF_squares/FiniteVolumes2DDiffusion_SQUARE.py
CDMATH/tests/doc/2DDiffusionVF/CodeFV5DiffusionProblem.md
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_brickwall/FiniteVolumes2DPoisson_SQUARE.py
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_checkerboard/FiniteVolumes2DPoisson_SQUARE.py
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_cross_triangles/FiniteVolumes2DPoisson_SQUARE.py
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_deformedQuadrangles/FiniteVolumes2DPoisson_SQUARE.py
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_deformedQuadrangles/FiniteVolumes2DWithCDMATH.py
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_equilateral_triangles/FiniteVolumes2DPoisson_SQUARE.py
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_flat_triangles/FiniteVolumes2DPoisson_SQUARE.py
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_hexagons/FiniteVolumes2DPoisson_SQUARE.py
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_loc_ref/FiniteVolumes2DPoisson_SQUARE.py
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_loc_ref/FiniteVolumes2DWithCDMATH.py
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_long_rectangles/FiniteVolumes2DPoisson_SQUARE.py
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_long_triangles/FiniteVolumes2DPoisson_SQUARE.py
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_right_triangles/FiniteVolumes2DPoisson_SQUARE.py
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_squares/FiniteVolumes2DPoisson_SQUARE.py
CDMATH/tests/doc/2DPoissonVF/2DPoissonVF_triangles/FiniteVolumes2DPoisson_SQUARE.py
CDMATH/tests/doc/2DPoissonVF/CodeFV5PoissonProblem.md
CDMATH/tests/doc/2DPoisson_StiffBC/2DPoissonVF_StiffBC_DISK/2DPoissonVF_StiffBC_DISK_DelaunayTriangles/FiniteVolumes2DPoissonStiffBC_DISK.py
CDMATH/tests/doc/2DPoisson_StiffBC/2DPoissonVF_StiffBC_DISK/2DPoissonVF_StiffBC_DISK_hexagons/FiniteVolumes2DPoissonStiffBC_DISK.py
CDMATH/tests/doc/2DPoisson_StiffBC/2DPoissonVF_StiffBC_DISK/2DPoissonVF_StiffBC_DISK_spiderWeb/FiniteVolumes2DPoissonStiffBC_DISK.py
CDMATH/tests/doc/2DPoisson_StiffBC/2DPoissonVF_StiffBC_DISK/2DPoissonVF_StiffBC_DISK_squares/FiniteVolumes2DPoissonStiffBC_DISK.py
CDMATH/tests/doc/2DPoisson_StiffBC/2DPoissonVF_StiffBC_DISK/2DPoissonVF_StiffBC_SQUARE_equilateralTriangles/FiniteVolumes2DPoissonStiffBC_SQUARE.py
CDMATH/tests/doc/2DPoisson_StiffBC/2DPoissonVF_StiffBC_DISK/2DPoissonVF_StiffBC_SQUARE_hexagons/FiniteVolumes2DPoissonStiffBC_SQUARE.py
CDMATH/tests/doc/2DPoisson_StiffBC/2DPoissonVF_StiffBC_DISK/2DPoissonVF_StiffBC_SQUARE_squares/FiniteVolumes2DPoissonStiffBC_SQUARE.py

index 71e61556b53618d0b1027c91967dc276e3d20577..f7adba81d132e87dbff866456cc2fb64988c55e8 100644 (file)
@@ -88,7 +88,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 Ck=my_mesh.getCell(k)
                 distance=Ci.getBarryCenter().distance(Ck.getBarryCenter())
                 coeff=Fj.getMeasure()/Ci.getMeasure()/distance*(normal[0]*normal[0] + K*normal[1]*normal[1])
-                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())*(normal[0]*normal[0] + K*normal[1]*normal[1])
                 #For the particular case where the mesh boundary does not coincide with the domain boundary
index 71e61556b53618d0b1027c91967dc276e3d20577..f7adba81d132e87dbff866456cc2fb64988c55e8 100644 (file)
@@ -88,7 +88,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 Ck=my_mesh.getCell(k)
                 distance=Ci.getBarryCenter().distance(Ck.getBarryCenter())
                 coeff=Fj.getMeasure()/Ci.getMeasure()/distance*(normal[0]*normal[0] + K*normal[1]*normal[1])
-                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())*(normal[0]*normal[0] + K*normal[1]*normal[1])
                 #For the particular case where the mesh boundary does not coincide with the domain boundary
index 71e61556b53618d0b1027c91967dc276e3d20577..f7adba81d132e87dbff866456cc2fb64988c55e8 100644 (file)
@@ -88,7 +88,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 Ck=my_mesh.getCell(k)
                 distance=Ci.getBarryCenter().distance(Ck.getBarryCenter())
                 coeff=Fj.getMeasure()/Ci.getMeasure()/distance*(normal[0]*normal[0] + K*normal[1]*normal[1])
-                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())*(normal[0]*normal[0] + K*normal[1]*normal[1])
                 #For the particular case where the mesh boundary does not coincide with the domain boundary
index 71e61556b53618d0b1027c91967dc276e3d20577..f7adba81d132e87dbff866456cc2fb64988c55e8 100644 (file)
@@ -88,7 +88,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 Ck=my_mesh.getCell(k)
                 distance=Ci.getBarryCenter().distance(Ck.getBarryCenter())
                 coeff=Fj.getMeasure()/Ci.getMeasure()/distance*(normal[0]*normal[0] + K*normal[1]*normal[1])
-                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())*(normal[0]*normal[0] + K*normal[1]*normal[1])
                 #For the particular case where the mesh boundary does not coincide with the domain boundary
index 71e61556b53618d0b1027c91967dc276e3d20577..f7adba81d132e87dbff866456cc2fb64988c55e8 100644 (file)
@@ -88,7 +88,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 Ck=my_mesh.getCell(k)
                 distance=Ci.getBarryCenter().distance(Ck.getBarryCenter())
                 coeff=Fj.getMeasure()/Ci.getMeasure()/distance*(normal[0]*normal[0] + K*normal[1]*normal[1])
-                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())*(normal[0]*normal[0] + K*normal[1]*normal[1])
                 #For the particular case where the mesh boundary does not coincide with the domain boundary
index 71e61556b53618d0b1027c91967dc276e3d20577..f7adba81d132e87dbff866456cc2fb64988c55e8 100644 (file)
@@ -88,7 +88,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 Ck=my_mesh.getCell(k)
                 distance=Ci.getBarryCenter().distance(Ck.getBarryCenter())
                 coeff=Fj.getMeasure()/Ci.getMeasure()/distance*(normal[0]*normal[0] + K*normal[1]*normal[1])
-                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())*(normal[0]*normal[0] + K*normal[1]*normal[1])
                 #For the particular case where the mesh boundary does not coincide with the domain boundary
index 71e61556b53618d0b1027c91967dc276e3d20577..f7adba81d132e87dbff866456cc2fb64988c55e8 100644 (file)
@@ -88,7 +88,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 Ck=my_mesh.getCell(k)
                 distance=Ci.getBarryCenter().distance(Ck.getBarryCenter())
                 coeff=Fj.getMeasure()/Ci.getMeasure()/distance*(normal[0]*normal[0] + K*normal[1]*normal[1])
-                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())*(normal[0]*normal[0] + K*normal[1]*normal[1])
                 #For the particular case where the mesh boundary does not coincide with the domain boundary
index 71e61556b53618d0b1027c91967dc276e3d20577..f7adba81d132e87dbff866456cc2fb64988c55e8 100644 (file)
@@ -88,7 +88,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 Ck=my_mesh.getCell(k)
                 distance=Ci.getBarryCenter().distance(Ck.getBarryCenter())
                 coeff=Fj.getMeasure()/Ci.getMeasure()/distance*(normal[0]*normal[0] + K*normal[1]*normal[1])
-                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())*(normal[0]*normal[0] + K*normal[1]*normal[1])
                 #For the particular case where the mesh boundary does not coincide with the domain boundary
index 71e61556b53618d0b1027c91967dc276e3d20577..f7adba81d132e87dbff866456cc2fb64988c55e8 100644 (file)
@@ -88,7 +88,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 Ck=my_mesh.getCell(k)
                 distance=Ci.getBarryCenter().distance(Ck.getBarryCenter())
                 coeff=Fj.getMeasure()/Ci.getMeasure()/distance*(normal[0]*normal[0] + K*normal[1]*normal[1])
-                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())*(normal[0]*normal[0] + K*normal[1]*normal[1])
                 #For the particular case where the mesh boundary does not coincide with the domain boundary
index 71e61556b53618d0b1027c91967dc276e3d20577..f7adba81d132e87dbff866456cc2fb64988c55e8 100644 (file)
@@ -88,7 +88,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 Ck=my_mesh.getCell(k)
                 distance=Ci.getBarryCenter().distance(Ck.getBarryCenter())
                 coeff=Fj.getMeasure()/Ci.getMeasure()/distance*(normal[0]*normal[0] + K*normal[1]*normal[1])
-                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())*(normal[0]*normal[0] + K*normal[1]*normal[1])
                 #For the particular case where the mesh boundary does not coincide with the domain boundary
index 71e61556b53618d0b1027c91967dc276e3d20577..f7adba81d132e87dbff866456cc2fb64988c55e8 100644 (file)
@@ -88,7 +88,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 Ck=my_mesh.getCell(k)
                 distance=Ci.getBarryCenter().distance(Ck.getBarryCenter())
                 coeff=Fj.getMeasure()/Ci.getMeasure()/distance*(normal[0]*normal[0] + K*normal[1]*normal[1])
-                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())*(normal[0]*normal[0] + K*normal[1]*normal[1])
                 #For the particular case where the mesh boundary does not coincide with the domain boundary
index 531d473de25908db11755589c8a30e2402ff92f0..2404c5cad82fac29021c72c894a92ec071dffb94 100644 (file)
@@ -35,7 +35,7 @@ for i in range(nbCells):
                        Ck=my_mesh.getCell(k)
                        distance=Ci.getBarryCenter().distance(Ck.getBarryCenter())
                        coeff=Fj.getMeasure()/Ci.getMeasure()/distance*(normal[0]*normal[0] + K*normal[1]*normal[1])
-                       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())*(normal[0]*normal[0] + K*normal[1]*normal[1])
                        #For the particular case where the mesh boundary does not coincide with the domain boundary
index cb857fe37c62d7e3a5083efe08b78563ca339da7..5203cc73751b21f08c66f2691ee65ff7ad103669 100644 (file)
@@ -80,7 +80,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index cb857fe37c62d7e3a5083efe08b78563ca339da7..5203cc73751b21f08c66f2691ee65ff7ad103669 100644 (file)
@@ -80,7 +80,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index cb857fe37c62d7e3a5083efe08b78563ca339da7..5203cc73751b21f08c66f2691ee65ff7ad103669 100644 (file)
@@ -80,7 +80,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index cb857fe37c62d7e3a5083efe08b78563ca339da7..5203cc73751b21f08c66f2691ee65ff7ad103669 100644 (file)
@@ -80,7 +80,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index 21b2c1645371724076c2a865003311ed441d46ea..77966782843fff8040b48c51f9112bf83723fdc1 100644 (file)
@@ -83,7 +83,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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())
             Rigidite.addValue(i,i,coeff) # terme diagonal
index a8aee400f3fca64937b52de32f03b1d5bd088ace..f2b44a96d8bb0520e110cdf649e6f481412aef4a 100644 (file)
@@ -83,7 +83,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index cb857fe37c62d7e3a5083efe08b78563ca339da7..5203cc73751b21f08c66f2691ee65ff7ad103669 100644 (file)
@@ -80,7 +80,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index cb857fe37c62d7e3a5083efe08b78563ca339da7..5203cc73751b21f08c66f2691ee65ff7ad103669 100644 (file)
@@ -80,7 +80,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index cb857fe37c62d7e3a5083efe08b78563ca339da7..5203cc73751b21f08c66f2691ee65ff7ad103669 100644 (file)
@@ -80,7 +80,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index 21b2c1645371724076c2a865003311ed441d46ea..77966782843fff8040b48c51f9112bf83723fdc1 100644 (file)
@@ -83,7 +83,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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())
             Rigidite.addValue(i,i,coeff) # terme diagonal
index cb857fe37c62d7e3a5083efe08b78563ca339da7..5203cc73751b21f08c66f2691ee65ff7ad103669 100644 (file)
@@ -80,7 +80,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index cb857fe37c62d7e3a5083efe08b78563ca339da7..5203cc73751b21f08c66f2691ee65ff7ad103669 100644 (file)
@@ -80,7 +80,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index 83c5f47ffe7aca785068ae987eff0e622c990e67..dbc9a84f035e4035fcf7f3df9ff0d933ca39d97c 100644 (file)
@@ -83,7 +83,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index cb857fe37c62d7e3a5083efe08b78563ca339da7..5203cc73751b21f08c66f2691ee65ff7ad103669 100644 (file)
@@ -80,7 +80,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index cb857fe37c62d7e3a5083efe08b78563ca339da7..5203cc73751b21f08c66f2691ee65ff7ad103669 100644 (file)
@@ -80,7 +80,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index 155e226f9d6571758ad75383234f7a31595b1416..98cf3926ebe9e5f569874db8a8dca5cefe25d70d 100644 (file)
@@ -32,7 +32,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
index 2554b7239887105ecd0bf60eacba57593c122d8e..d92d8f9041e0f4d7eb38b629c2ffe94c4a4a999c 100644 (file)
@@ -97,7 +97,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index ff3c6735049469a2114b54f686fe3012f2c6bf44..8e6e967f533cdbfe6064dbb260d76bd9ef126569 100644 (file)
@@ -97,7 +97,7 @@ def solve(my_mesh,filename,resolution, meshName, testColor):
                 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
index 2554b7239887105ecd0bf60eacba57593c122d8e..d92d8f9041e0f4d7eb38b629c2ffe94c4a4a999c 100644 (file)
@@ -97,7 +97,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index 2554b7239887105ecd0bf60eacba57593c122d8e..d92d8f9041e0f4d7eb38b629c2ffe94c4a4a999c 100644 (file)
@@ -97,7 +97,7 @@ def solve(my_mesh,filename,resolution, meshType, testColor):
                 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
index c2cbccff0c742a377adfccdd9e8ed4f2b4c7a843..7822a02d2070bbff50452d2ecc0fc6d1646defa3 100644 (file)
@@ -97,7 +97,7 @@ def solve(my_mesh,filename,resolution, meshName, testColor):
                 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
index c2cbccff0c742a377adfccdd9e8ed4f2b4c7a843..7822a02d2070bbff50452d2ecc0fc6d1646defa3 100644 (file)
@@ -97,7 +97,7 @@ def solve(my_mesh,filename,resolution, meshName, testColor):
                 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
index c2cbccff0c742a377adfccdd9e8ed4f2b4c7a843..7822a02d2070bbff50452d2ecc0fc6d1646defa3 100644 (file)
@@ -97,7 +97,7 @@ def solve(my_mesh,filename,resolution, meshName, testColor):
                 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