From: ageay Date: Tue, 2 Feb 2010 09:29:21 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_main_FINAL~230 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=49741e6305153f6a67d27e4ba81d1dd68aa13a9f;p=tools%2Fmedcoupling.git *** empty log message *** --- diff --git a/src/ParaMEDMEM_Swig/test_InterpKernelDEC.py b/src/ParaMEDMEM_Swig/test_InterpKernelDEC.py index 83d4a13ec..da1cccc39 100755 --- a/src/ParaMEDMEM_Swig/test_InterpKernelDEC.py +++ b/src/ParaMEDMEM_Swig/test_InterpKernelDEC.py @@ -68,7 +68,7 @@ class ParaMEDMEMBasicsTest(unittest.TestCase): nb_local=mesh.getNumberOfCells() value = [1.0]*nb_local parafield.getField().setValues(value) - icocofield = ICoCoMEDField(paramesh,parafield) + icocofield = ICoCoMEDField(mesh,parafield.getField()) dec.setMethod("P0") dec.attachLocalField(icocofield) pass @@ -83,18 +83,18 @@ class ParaMEDMEMBasicsTest(unittest.TestCase): nb_local=mesh.getNumberOfCells() value = [0.0]*nb_local parafield.getField().setValues(value) - icocofield = ICoCoMEDField(paramesh,parafield) + icocofield = ICoCoMEDField(mesh,parafield.getField()) dec.setMethod("P0") dec.attachLocalField(icocofield) pass if source_group.containsMyRank(): - field_before_int = parafield.getVolumeIntegral(0) + field_before_int = parafield.getVolumeIntegral(0,True) dec.synchronize() dec.setForcedRenormalization(False) dec.sendData() dec.recvData() - field_after_int=parafield.getVolumeIntegral(0); + field_after_int=parafield.getVolumeIntegral(0,True); self.failUnless(math.fabs(field_after_int-field_before_int)<1e-8) pass else: