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;
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");
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;
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");
bool normalThrow=false;
try
{
- MEDLoader::writeUMesh(outFileName.c_str(),mesh);
+ MEDLoader::WriteUMesh(outFileName.c_str(),mesh);
}
catch(INTERP_KERNEL::Exception& e)
{
}
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);
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);
//