From: azakir Date: Mon, 21 Dec 2020 09:41:06 +0000 (+0100) Subject: MeshFormatWriter and MeshFormaReader are in MEDCOUPLING namespace X-Git-Tag: V9_7_0a1~18^2~45 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2e6d41859930a694e6df9302898e9fab77809428;p=modules%2Fsmesh.git MeshFormatWriter and MeshFormaReader are in MEDCOUPLING namespace --- diff --git a/src/SMESHGUI/MG_ADAPT.cxx b/src/SMESHGUI/MG_ADAPT.cxx index a75e9448c..3a1f56832 100644 --- a/src/SMESHGUI/MG_ADAPT.cxx +++ b/src/SMESHGUI/MG_ADAPT.cxx @@ -1105,7 +1105,7 @@ void MgAdapt::convertMedFile(std::string& meshFormatMeshFileName, std::string& s { std::vector fieldFileNames; - MeshFormatWriter writer; + MEDCoupling::MeshFormatWriter writer; MEDCoupling::MCAuto 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 mfd = reader.loadInMedFileDS(); // write MED @@ -1280,7 +1280,7 @@ void MgAdapt::buildBackGroundMeshAndSolFiles(const std::vector& fie tmpMfd->setFields( tmp_fields ); - MeshFormatWriter tmpWriter; + MEDCoupling::MeshFormatWriter tmpWriter; tmpWriter.setMeshFileName(meshFormatsizeMapFile); tmpWriter.setFieldFileNames( fieldFileNames); tmpWriter.setMEDFileDS(tmpMfd);