Personal tools
You are here: Home Forum How to use Salome? using ID and name to identify a group in a mesh?

using ID and name to identify a group in a mesh?

Up to How to use Salome?

using ID and name to identify a group in a mesh?

Posted by pierre_j at August 04. 2010

Hi,

I have a small question: I see in SMESH documentation here that one can make use of an ID (int) and a name (string) to identify a group of nodes or elements ( I may mistake about the use of this information):

constructor:

SMESH_Group.SMESH_Group ( int  theID,


const SMESH_Mesh theMesh,


const SMDSAbs_ElementType  theType,


const char *  theName,


const TopoDS_Shape theShape = TopoDS_Shape()  

)

However, browsing MEDMEM module documentation, I do not see the possibility to manage an ID for a groupe, only its name.

I would thus like to know if such a data created through SMESH library can be saved in a MED file?

Do I mistake about the use of this ID parameter (maybe its a parameter used only in SMESH during mesh manipulation)?

Can it be managed using MEDMEM library (get/set)? If yes, how? Which class should be considered?

I thank you in advance for your advices.

Bests,

Pierre

Powered by Ploneboard
Document Actions