From f50f15160df8a3310d846c3a647ed2cbc167c147 Mon Sep 17 00:00:00 2001 From: ageay Date: Wed, 3 Feb 2010 13:05:59 +0000 Subject: [PATCH] *** empty log message *** --- .../ParaMEDMEMTest_InterpKernelDEC.cxx | 32 +++++++++---------- .../ParaMEDMEMTest_MEDLoader.cxx | 6 ++-- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/ParaMEDMEMTest/ParaMEDMEMTest_InterpKernelDEC.cxx b/src/ParaMEDMEMTest/ParaMEDMEMTest_InterpKernelDEC.cxx index b595af573..a195446d5 100644 --- a/src/ParaMEDMEMTest/ParaMEDMEMTest_InterpKernelDEC.cxx +++ b/src/ParaMEDMEMTest/ParaMEDMEMTest_InterpKernelDEC.cxx @@ -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_"<myRank()+1; aRemover.Register(filename.str().c_str()); - MEDLoader::writeField("./sourcesquareb","boundary",parafield->getField()); + MEDLoader::WriteField("./sourcesquareb",parafield->getField()); dec.recvData(); cout <<"writing"<myRank()==0) aRemover.Register("./sourcesquare"); - MEDLoader::writeField("./sourcesquare","boundary",parafield->getField()); + MEDLoader::WriteField("./sourcesquare",parafield->getField()); filename<<"./sourcesquare_"<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_"<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_"<myRank()+1; aRemover.Register(filename.str().c_str()); - MEDLoader::writeField("./sourcesquareb","boundary",parafield->getField()); + MEDLoader::WriteField("./sourcesquareb",parafield->getField()); dec.recvData(); cout <<"writing"<myRank()==0) aRemover.Register("./sourcesquare"); - MEDLoader::writeField("./sourcesquare","boundary",parafield->getField()); + MEDLoader::WriteField("./sourcesquare",parafield->getField()); filename<<"./sourcesquare_"<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_"<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"); diff --git a/src/ParaMEDMEMTest/ParaMEDMEMTest_MEDLoader.cxx b/src/ParaMEDMEMTest/ParaMEDMEMTest_MEDLoader.cxx index fd27f0364..c8b5a923a 100644 --- a/src/ParaMEDMEMTest/ParaMEDMEMTest_MEDLoader.cxx +++ b/src/ParaMEDMEMTest/ParaMEDMEMTest_MEDLoader.cxx @@ -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); // -- 2.39.2