Salome HOME
0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported
authoreap <eap@opencascade.com>
Wed, 10 Aug 2011 10:04:47 +0000 (10:04 +0000)
committereap <eap@opencascade.com>
Wed, 10 Aug 2011 10:04:47 +0000 (10:04 +0000)
+  // Groups. SMESHDS_Mesh is not an owner of groups

src/SMESHDS/SMESHDS_Mesh.hxx

index f0ad83aa90450d8f04389914a39c2e294e6b14d0..ad1d79832d05880a8d6b4ac590fdaf0db62dcaa1 100644 (file)
@@ -437,6 +437,7 @@ public:
   void SetNodeOnVertex(SMDS_MeshNode * aNode, int Index);
   void SetMeshElementOnShape(const SMDS_MeshElement * anElt, int Index);
 
+  // Groups. SMESHDS_Mesh is not an owner of groups
   void AddGroup (SMESHDS_GroupBase* theGroup)      { myGroups.insert(theGroup); }
   void RemoveGroup (SMESHDS_GroupBase* theGroup)   { myGroups.erase(theGroup); }
   int GetNbGroups() const                      { return myGroups.size(); }