Salome HOME
0022172: [CEA 790] create the groups corresponding to domains
[plugins/hybridplugin.git] / src / GHS3DPlugin / GHS3DPlugin_Hypothesis.hxx
index c75610460b6732c2c8e57cc23b4ede0c1d656b23..7d6b1ad62c6ed09f3e4a894f42437d1c16b28a5c 100644 (file)
@@ -124,6 +124,13 @@ public:
    */
   void SetToMeshHoles(bool toMesh);
   bool GetToMeshHoles(bool checkFreeOption = false) const;
+  /*!
+   * To make groups of volumes of different domains when mesh is generated from skin.
+   * Default is to make groups.
+   * This option works only (1) for the mesh w/o shape and (2) if GetToMeshHoles() == true
+   */
+  void SetToMakeGroupsOfDomains(bool toMakeGroups);
+  bool GetToMakeGroupsOfDomains() const;
   /*!
    * Maximal size of memory to be used by the algorithm (in Megabytes)
    */
@@ -263,9 +270,11 @@ public:
   static TIDSortedElemGroupMap GetEnforcedTriangles(const GHS3DPlugin_Hypothesis* hyp);
   static TID2SizeMap GetNodeIDToSizeMap(const GHS3DPlugin_Hypothesis* hyp);
   static TSetStrings GetGroupsToRemove(const GHS3DPlugin_Hypothesis* hyp);
+  static bool GetToMakeGroupsOfDomains(const GHS3DPlugin_Hypothesis* hyp);
   void ClearGroupsToRemove();
   
   static bool   DefaultMeshHoles();
+  static bool   DefaultToMakeGroupsOfDomains();
   static short  DefaultMaximumMemory();
   static short  DefaultInitialMemory();
   static short  DefaultOptimizationLevel();
@@ -313,6 +322,7 @@ public:
 private:
 
   bool   myToMeshHoles;
+  bool   myToMakeGroupsOfDomains;
   short  myMaximumMemory;
   short  myInitialMemory;
   short  myOptimizationLevel;