]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
0021167: [CEA 448] Supports management on all elements
authoreap <eap@opencascade.com>
Wed, 9 Mar 2011 12:22:14 +0000 (12:22 +0000)
committereap <eap@opencascade.com>
Wed, 9 Mar 2011 12:22:14 +0000 (12:22 +0000)
relpace SUPPORT(mesh,name,entity) by mesh.getSupportOnAll( entity )

src/RENUMBER/testRenumbering.py

index 3f2ecba5cd628681e1711805027387c10217e691..b4978697b7bd693f1d77e7d6c906a85d71714742 100755 (executable)
@@ -51,7 +51,7 @@ eval("os.system("+string_to_execute+")")
 m = MESH(MED_DRIVER,dir_mesh+"/out_"+filename,meshname)
 
 field_ini=[2,3,12,13,14,15,4,5,6,7,8,9,16,17,0,1,10,11]
-s = SUPPORT(m,"Support on all",MED_CELL)
+s = m.getSupportOnAll(MED_CELL)
 f = FIELDDOUBLE(s,2)
 id=f.addDriver(MED_DRIVER,dir_mesh+"/out_"+filename,"Test field")
 f.read(id);