Salome HOME
0021382: EDF 1985 SMESH: Read/write of .mesh files (GMF format)
authoreap <eap@opencascade.com>
Thu, 15 Nov 2012 07:45:13 +0000 (07:45 +0000)
committereap <eap@opencascade.com>
Thu, 15 Nov 2012 07:45:13 +0000 (07:45 +0000)
  Make "required groups" otional arg

src/SMESH/SMESH_Mesh.hxx

index 009f80f93260440078a99514498f98eb2364a6ad..2b926f5dd8804c68f42a1ebe4d8dbd1bcefdd8bb 100644 (file)
@@ -123,7 +123,7 @@ public:
   int CGNSToMesh(const char* theFileName, const int theMeshIndex, std::string& theMeshName);
   
   SMESH_ComputeErrorPtr GMFToMesh(const char* theFileName,
-                                  bool        theMakeRequiredGroups);
+                                  bool        theMakeRequiredGroups = true );
 
   SMESH_Hypothesis::Hypothesis_Status
   AddHypothesis(const TopoDS_Shape & aSubShape, int anHypId)
@@ -246,7 +246,7 @@ public:
                   const SMESHDS_Mesh* mesh);
   void ExportGMF(const char *        file,
                  const SMESHDS_Mesh* mesh,
-                 bool                withRequiredGroups);
+                 bool                withRequiredGroups = true );
   void ExportSAUV(const char *file, 
                   const char* theMeshName = NULL, 
                   bool theAutoGroups = true) throw(SALOME_Exception);