X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH%2FSMESH_DriverMesh.cxx;h=60450141beef308742a3ba0ce36c171e4b819c73;hb=426c37e4f6bce7d94cd64410912e711d1616b05d;hp=01cc5df4c53968d783fac0980cf6054cc1ce8c5c;hpb=710bfb39c4f23540ba4085c597d1fb28455ab3e9;p=modules%2Fsmesh.git diff --git a/src/SMESH/SMESH_DriverMesh.cxx b/src/SMESH/SMESH_DriverMesh.cxx index 01cc5df4c..60450141b 100644 --- a/src/SMESH/SMESH_DriverMesh.cxx +++ b/src/SMESH/SMESH_DriverMesh.cxx @@ -46,7 +46,7 @@ using namespace MEDCoupling; * * @return true if the mesh within the files are identical */ -bool diffMEDFile(const std::string mesh_file1, const std::string mesh_file2, const std::string mesh_name){ +bool SMESH_DriverMesh::diffMEDFile(const std::string mesh_file1, const std::string mesh_file2, const std::string mesh_name){ MEDFileUMesh* medmesh1 = MEDFileUMesh::New(mesh_file1, mesh_name); MEDFileUMesh* medmesh2 = MEDFileUMesh::New(mesh_file2, mesh_name); MEDCouplingUMesh *m0_1=medmesh1->getMeshAtLevel(0,false); @@ -70,7 +70,7 @@ std::string getMeshName(std::string mesh_file){ * * @return error code */ -int importMesh(const std::string mesh_file, SMESH_Mesh& aMesh){ +int SMESH_DriverMesh::importMesh(const std::string mesh_file, SMESH_Mesh& aMesh){ // TODO: change that as it depends on the language std::string mesh_name = getMeshName(mesh_file); MESSAGE("Importing mesh from " << mesh_file << " mesh " << mesh_name); @@ -87,7 +87,8 @@ int importMesh(const std::string mesh_file, SMESH_Mesh& aMesh){ * * @return error code */ -int exportMesh(const std::string mesh_file, SMESH_Mesh& aMesh, const std::string mesh_name){ + +int SMESH_DriverMesh::exportMesh(const std::string mesh_file, SMESH_Mesh& aMesh, const std::string mesh_name){ MESSAGE("Exporting mesh to " << mesh_file); aMesh.ExportMED(mesh_file.c_str(), // theFile