Salome HOME
Deal with pipes
[tools/medcoupling.git] / src / ParaMEDMEMTest / ParaMEDMEMTestMPI2_2.cxx
index 21f7ff93245c3eb85025ee70f17e9bb4c45463f6..acc3588141f14490c322eee5c91a6ecd6f84f597 100644 (file)
@@ -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;