X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FParaMEDMEMTest%2FParaMEDMEMTestMPI2_2.cxx;h=acc3588141f14490c322eee5c91a6ecd6f84f597;hb=c4551c56aa89896595842e5b41b048044681b4e8;hp=21f7ff93245c3eb85025ee70f17e9bb4c45463f6;hpb=e8f616a523471bd47f2eb60e6fded7b2b6363639;p=tools%2Fmedcoupling.git diff --git a/src/ParaMEDMEMTest/ParaMEDMEMTestMPI2_2.cxx b/src/ParaMEDMEMTest/ParaMEDMEMTestMPI2_2.cxx index 21f7ff932..acc358814 100644 --- a/src/ParaMEDMEMTest/ParaMEDMEMTestMPI2_2.cxx +++ b/src/ParaMEDMEMTest/ParaMEDMEMTestMPI2_2.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -63,7 +63,7 @@ void MPI2ParaMEDMEMTest::testBasicMPI2_1() return; } - /* Connection to remote programm */ + /* Connection to remote program */ MPI2Connector *mpio = new MPI2Connector; gcom = mpio->remoteMPI2Connect(service); @@ -102,7 +102,7 @@ void MPI2ParaMEDMEMTest::testBasicMPI2_1() parafield = new ParaFIELD(ON_CELLS,NO_TIME,paramesh, comptopo); MEDCoupling::InterpKernelDEC dec(*source,*target); - parafield->getField()->setNature(ConservativeVolumic); + parafield->getField()->setNature(IntensiveMaximum); dec.setMethod("P0"); dec.attachLocalField(parafield); @@ -113,7 +113,7 @@ void MPI2ParaMEDMEMTest::testBasicMPI2_1() const double *expected=targetResults[grank-(gsize-lsize)]; CPPUNIT_ASSERT_DOUBLES_EQUAL(expected[0],res[0],1e-13); CPPUNIT_ASSERT_DOUBLES_EQUAL(expected[1],res[1],1e-13); - /* Deconnection of remote programm */ + /* Deconnection of remote program */ mpio->remoteMPI2Disconnect(service); /* clean-up */ delete mpio;