X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGHS3DPlugin%2FGHS3DPlugin_Hypothesis.hxx;h=7d6b1ad62c6ed09f3e4a894f42437d1c16b28a5c;hb=d31f618094c714f43597bde40a6af21935d76551;hp=cc31ac7c8e808b727e14167c6edab1232a637464;hpb=88c5c06738765d2043c45e9b3a1ae2170ca764ed;p=plugins%2Fhybridplugin.git diff --git a/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.hxx b/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.hxx index cc31ac7..7d6b1ad 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.hxx +++ b/src/GHS3DPlugin/GHS3DPlugin_Hypothesis.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2004-2012 CEA/DEN, EDF R&D +// Copyright (C) 2004-2013 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -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;