Families and Groups handling

Functions

virtual const GROUP * MEDMEM::MESH::getGroup (const string &name) const throw (MEDEXCEPTION)
virtual const vector< GROUP * > MEDMEM::MESH::getGroups (MED_EN::medEntityMesh Entity) const

Detailed Description

The methods described in this section enable the manipulation of families and groups. These notions define subsets of MED elements in a mesh. They differ because families are non overlapping (a mesh element is associated to zero or one family) while groups are more general.


Function Documentation

const GROUP * MESH::getGroup ( const string &  name  )  const throw (MEDEXCEPTION) [virtual, inherited]

Retrieves the group named name. The method browses all the entities in order to find the group. If two groups with the same name coexist, the first one found will be returned. If no group with the correct name is found, the method throws an exception.

const vector< GROUP * > MESH::getGroups ( MED_EN::medEntityMesh  entity  )  const [virtual, inherited]

Returns the groups of type entity present in the mesh as a vector of pointers. The GROUP class inheriting from the SUPPORT class, the methods that can be used on these groups are explained in the related section.

References MEDMEM::MESH::_groupCell, MEDMEM::MESH::_groupEdge, MEDMEM::MESH::_groupFace, and MEDMEM::MESH::_groupNode.

Referenced by MEDMEM::MESH::createFamilies().

Generated on Tue Jul 27 22:08:45 2010 for Med Memory Users' Guide by  doxygen 1.6.3