mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-24 19:30:34 +05:00
MeshFormatWriter and MeshFormaReader are in MEDCOUPLING namespace
This commit is contained in:
parent
97ad2bb328
commit
2e6d418599
@ -1105,7 +1105,7 @@ void MgAdapt::convertMedFile(std::string& meshFormatMeshFileName, std::string& s
|
||||
{
|
||||
|
||||
std::vector<std::string> fieldFileNames;
|
||||
MeshFormatWriter writer;
|
||||
MEDCoupling::MeshFormatWriter writer;
|
||||
MEDCoupling::MCAuto<MEDCoupling::MEDFileData> mfd = MEDCoupling::MEDFileData::New(medFileIn);
|
||||
MEDCoupling::MEDFileMeshes* meshes = mfd->getMeshes();
|
||||
MEDCoupling::MEDFileMesh* fileMesh = meshes->getMeshAtPos(0); // ok only one mesh in file!
|
||||
@ -1159,7 +1159,7 @@ void MgAdapt::convertMedFile(std::string& meshFormatMeshFileName, std::string& s
|
||||
|
||||
void MgAdapt::convertMeshFile(std::string& meshFormatIn, std::vector< std::string>& solFieldFileNames) const
|
||||
{
|
||||
MeshFormatReader reader(meshFormatIn, solFieldFileNames);
|
||||
MEDCoupling::MeshFormatReader reader(meshFormatIn, solFieldFileNames);
|
||||
|
||||
MEDCoupling::MCAuto<MEDCoupling::MEDFileData> mfd = reader.loadInMedFileDS();
|
||||
// write MED
|
||||
@ -1280,7 +1280,7 @@ void MgAdapt::buildBackGroundMeshAndSolFiles(const std::vector<std::string>& fie
|
||||
|
||||
|
||||
tmpMfd->setFields( tmp_fields );
|
||||
MeshFormatWriter tmpWriter;
|
||||
MEDCoupling::MeshFormatWriter tmpWriter;
|
||||
tmpWriter.setMeshFileName(meshFormatsizeMapFile);
|
||||
tmpWriter.setFieldFileNames( fieldFileNames);
|
||||
tmpWriter.setMEDFileDS(tmpMfd);
|
||||
|
Loading…
Reference in New Issue
Block a user