From 49741e6305153f6a67d27e4ba81d1dd68aa13a9f Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 2 Feb 2010 09:29:21 +0000 Subject: [PATCH] *** empty log message *** --- src/ParaMEDMEM_Swig/test_InterpKernelDEC.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: -- 2.39.2