]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
*** empty log message ***
authorageay <ageay>
Wed, 3 Feb 2010 13:05:59 +0000 (13:05 +0000)
committerageay <ageay>
Wed, 3 Feb 2010 13:05:59 +0000 (13:05 +0000)
src/ParaMEDMEMTest/ParaMEDMEMTest_InterpKernelDEC.cxx
src/ParaMEDMEMTest/ParaMEDMEMTest_MEDLoader.cxx

index b595af573a223aecd8bf98f04bb592d6c2a578ba..a195446d58f57158fc8144f2d0b936eb443b8058 100644 (file)
@@ -212,20 +212,20 @@ void ParaMEDMEMTest::testInterpKernelDEC_2D_(const char *srcMeth, const char *ta
       dec.setForcedRenormalization(false);
 
       dec.sendData();
-      MEDLoader::writeParaMesh("./sourcesquareb",paramesh);
+      ParaMEDLoader::WriteParaMesh("./sourcesquareb",paramesh);
       if (source_group->myRank()==0)
         aRemover.Register("./sourcesquareb");
       ostringstream filename;
       filename<<"./sourcesquareb_"<<source_group->myRank()+1;
       aRemover.Register(filename.str().c_str());
-      MEDLoader::writeField("./sourcesquareb","boundary",parafield->getField());
+      MEDLoader::WriteField("./sourcesquareb",parafield->getField());
    
       dec.recvData();
       cout <<"writing"<<endl;
-      MEDLoader::writeParaMesh("./sourcesquare",paramesh);
+      ParaMEDLoader::WriteParaMesh("./sourcesquare",paramesh);
       if (source_group->myRank()==0)
         aRemover.Register("./sourcesquare");
-      MEDLoader::writeField("./sourcesquare","boundary",parafield->getField());
+      MEDLoader::WriteField("./sourcesquare",parafield->getField());
       
      
       filename<<"./sourcesquare_"<<source_group->myRank()+1;
@@ -247,16 +247,16 @@ void ParaMEDMEMTest::testInterpKernelDEC_2D_(const char *srcMeth, const char *ta
       dec.setForcedRenormalization(false);
 
       dec.recvData();
-      MEDLoader::writeParaMesh("./targetsquareb",paramesh);
-      MEDLoader::writeField("./targetsquareb", "boundary",parafield->getField());
+      ParaMEDLoader::WriteParaMesh("./targetsquareb",paramesh);
+      MEDLoader::WriteField("./targetsquareb",parafield->getField());
       if (target_group->myRank()==0)
         aRemover.Register("./targetsquareb");
       ostringstream filename;
       filename<<"./targetsquareb_"<<target_group->myRank()+1;
       aRemover.Register(filename.str().c_str());
       dec.sendData();
-      MEDLoader::writeParaMesh("./targetsquare",paramesh);
-      MEDLoader::writeField("./targetsquare", "boundary",parafield->getField());
+      ParaMEDLoader::WriteParaMesh("./targetsquare",paramesh);
+      MEDLoader::WriteField("./targetsquare",parafield->getField());
       
       if (target_group->myRank()==0)
         aRemover.Register("./targetsquareb");
@@ -574,20 +574,20 @@ void ParaMEDMEMTest::testInterpKernelDEC_3D_(const char *srcMeth, const char *ta
       dec.setForcedRenormalization(false);
 
       dec.sendData();
-      MEDLoader::writeParaMesh("./sourcesquareb",paramesh);
+      ParaMEDLoader::WriteParaMesh("./sourcesquareb",paramesh);
       if (source_group->myRank()==0)
         aRemover.Register("./sourcesquareb");
       ostringstream filename;
       filename<<"./sourcesquareb_"<<source_group->myRank()+1;
       aRemover.Register(filename.str().c_str());
-      MEDLoader::writeField("./sourcesquareb","boundary",parafield->getField());
+      MEDLoader::WriteField("./sourcesquareb",parafield->getField());
    
       dec.recvData();
       cout <<"writing"<<endl;
-      MEDLoader::writeParaMesh("./sourcesquare",paramesh);
+      ParaMEDLoader::WriteParaMesh("./sourcesquare",paramesh);
       if (source_group->myRank()==0)
         aRemover.Register("./sourcesquare");
-      MEDLoader::writeField("./sourcesquare","boundary",parafield->getField());
+      MEDLoader::WriteField("./sourcesquare",parafield->getField());
       
      
       filename<<"./sourcesquare_"<<source_group->myRank()+1;
@@ -605,16 +605,16 @@ void ParaMEDMEMTest::testInterpKernelDEC_3D_(const char *srcMeth, const char *ta
       dec.setForcedRenormalization(false);
 
       dec.recvData();
-      MEDLoader::writeParaMesh("./targetsquareb",paramesh);
-      MEDLoader::writeField("./targetsquareb", "boundary",parafield->getField());
+      ParaMEDLoader::WriteParaMesh("./targetsquareb",paramesh);
+      MEDLoader::WriteField("./targetsquareb",parafield->getField());
       if (target_group->myRank()==0)
         aRemover.Register("./targetsquareb");
       ostringstream filename;
       filename<<"./targetsquareb_"<<target_group->myRank()+1;
       aRemover.Register(filename.str().c_str());
       dec.sendData();
-      MEDLoader::writeParaMesh("./targetsquare",paramesh);
-      MEDLoader::writeField("./targetsquare", "boundary",parafield->getField());
+      ParaMEDLoader::WriteParaMesh("./targetsquare",paramesh);
+      MEDLoader::WriteField("./targetsquare",parafield->getField());
       
       if (target_group->myRank()==0)
         aRemover.Register("./targetsquareb");
index fd27f03648d627c90bb0472a9d4c783cf5e09839..c8b5a923ac7c3cb3bebc395d72035ec093764521 100644 (file)
@@ -395,7 +395,7 @@ void ParaMEDMEMTest::testMEDLoaderWrite1()
   bool normalThrow=false;
   try
     {
-      MEDLoader::writeUMesh(outFileName.c_str(),mesh);
+      MEDLoader::WriteUMesh(outFileName.c_str(),mesh);
     }
   catch(INTERP_KERNEL::Exception& e)
     {
@@ -403,7 +403,7 @@ void ParaMEDMEMTest::testMEDLoaderWrite1()
     }
   CPPUNIT_ASSERT(normalThrow);
   mesh->setName(meshName);
-  MEDLoader::writeUMesh(outFileName.c_str(),mesh);
+  MEDLoader::WriteUMesh(outFileName.c_str(),mesh);
   mesh->decrRef();
   //
   mesh=MEDLoader::ReadUMeshFromFile(outFileName.c_str(),meshName,0);
@@ -429,7 +429,7 @@ void ParaMEDMEMTest::testMEDLoaderPolygonWrite()
   MEDCouplingUMesh *mesh=MEDLoader::ReadUMeshFromFile(fileName.c_str(),meshNames[0].c_str(),0);
   mesh->checkCoherency();
   string outFileName=makeTmpFile("toto22138.med");
-  MEDLoader::writeUMesh(outFileName.c_str(),mesh);
+  MEDLoader::WriteUMesh(outFileName.c_str(),mesh);
   //
   MEDCouplingUMesh *mesh2=MEDLoader::ReadUMeshFromFile(outFileName.c_str(),meshNames[0].c_str(),0);
   //