Version: 6.5.0
Functions
Families and Groups handling

Functions

virtual int MEDMEM::GMESH::getNumberOfFamilies (MED_EN::medEntityMesh Entity) const
virtual const std::vector
< FAMILY * > 
MEDMEM::GMESH::getFamilies (MED_EN::medEntityMesh Entity) const
virtual const FAMILY * MEDMEM::GMESH::getFamily (MED_EN::medEntityMesh Entity, int i) const
virtual int MEDMEM::GMESH::getNumberOfGroups (MED_EN::medEntityMesh Entity) const
virtual const std::vector
< GROUP * > 
MEDMEM::GMESH::getGroups (MED_EN::medEntityMesh Entity) const
virtual const GROUP * MEDMEM::GMESH::getGroup (MED_EN::medEntityMesh Entity, int i) const
virtual const SUPPORTMEDMEM::GMESH::getSupportOnAll (MED_EN::medEntityMesh Entity) const throw (MEDEXCEPTION)

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

int GMESH::getNumberOfFamilies ( MED_EN::medEntityMesh  entity) const
virtual

Retrieves the number of families in the mesh for entity type entity

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

const vector< MEDMEM::FAMILY * > GMESH::getFamilies ( MED_EN::medEntityMesh  entity) const
virtual

Returns the families of type entity present in the mesh as a vector of pointers

const MEDMEM::FAMILY * GMESH::getFamily ( MED_EN::medEntityMesh  entity,
int  i 
) const
virtual

Return a family.

Parameters
entity- entity of the family
i- index of the family
Return values
constMEDMEM::FAMILY* - pointer to the family

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

int GMESH::getNumberOfGroups ( MED_EN::medEntityMesh  entity) const
virtual

Retrieves the number of groups in the mesh for entity type entity

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

const vector< GROUP * > GMESH::getGroups ( MED_EN::medEntityMesh  entity) const
virtual

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.

const GROUP * GMESH::getGroup ( MED_EN::medEntityMesh  entity,
int  i 
) const
virtual

Return a group.

Parameters
entity- entity of the group
i- index of the group
Return values
constGROUP* - pointer to the group

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

const SUPPORT * GMESH::getSupportOnAll ( MED_EN::medEntityMesh  Entity) const throw (MEDEXCEPTION)
virtual

Method returns a reference on a support defined on all the elements of an entity.

Examples:
FIELDcreate.cxx.

References MEDMEM::SUPPORT::setAll(), MEDMEM::SUPPORT::setEntity(), MEDMEM::SUPPORT::setMesh(), MEDMEM::SUPPORT::setName(), and MEDMEM::SUPPORT::update().

Referenced by MEDMEM::FIELD_::_getFieldSize(), and MEDMEM::SUPPORT::buildSupportOnNode().

Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS