Version: 6.3.1
Public Member Functions | Private Member Functions | Private Attributes | Friends

MEDMEM.CELLMODEL Class Reference

#include <MEDMEM_CellModel.hxx>

Public Member Functions

 CELLMODEL ()
 CELLMODEL (MED_EN::medGeometryElement t)
 CELLMODEL (const CELLMODEL &m)
 ~CELLMODEL ()
CELLMODELoperator= (const CELLMODEL &m)
string getName () const
int getNumberOfVertexes () const
int getNumberOfNodes () const
int getDimension () const
MED_EN::medGeometryElement getType () const
int ** getConstituents (int dim) const
int getNumberOfConstituents (int dim) const
intgetNodesConstituent (int dim, int num) const
int getNodeConstituent (int dim, int num, int nodes_index) const
MED_EN::medGeometryElementgetConstituentsType (int dim) const
MED_EN::medGeometryElement getConstituentType (int dim, int num) const
int getNumberOfConstituentsType () const
set< MED_EN::medGeometryElementgetAllConstituentsType () const
map
< MED_EN::medGeometryElement,
int
getNumberOfConstituentsForeachType () const

Private Member Functions

void init (const CELLMODEL &m)
void clean ()

Private Attributes

string _name
MED_EN::medGeometryElement _type
int _dimension
int _numberOfNodes
int _numberOfVertexes
int _numberOfConstituentsDimension
int_numberOfConstituents
int ** _numberOfNodeOfEachConstituent
int *** _constituents
MED_EN::medGeometryElement ** _constituentsType

Friends

ostream & operator<< (ostream &os, const CELLMODEL &my)

Constructor & Destructor Documentation

MEDMEM.CELLMODEL::CELLMODEL ( )

Constructor.

MEDMEM.CELLMODEL.CELLMODEL ( MED_EN::medGeometryElement  t)

Constructor.

MEDMEM.CELLMODEL::CELLMODEL ( const CELLMODEL m)

Copy constructor.

References MEDMEM.CELLMODEL.init().

MEDMEM.CELLMODEL::~CELLMODEL ( )

Destructor.

References MEDMEM.CELLMODEL.clean().


Member Function Documentation

void CELLMODEL::init ( const CELLMODEL m) [private]
void CELLMODEL::clean ( ) [private]

private method :

CELLMODEL & MEDMEM.CELLMODEL::operator= ( const CELLMODEL m)

Operator = : duplicate CELLMODEL.

References MEDMEM.CELLMODEL.clean(), and MEDMEM.CELLMODEL.init().

string MEDMEM.CELLMODEL::getName ( ) const

returns _name attribute (ie: MED_PENTA15).
see med.h (in med/include)

References MEDMEM.CELLMODEL._name.

int MEDMEM.CELLMODEL::getNumberOfVertexes ( ) const

returns number of vertexes forming this type of cell

References MEDMEM.CELLMODEL._numberOfVertexes.

int MEDMEM.CELLMODEL::getNumberOfNodes ( ) const

returns number of nodes forming this type of cell

References MEDMEM.CELLMODEL._numberOfNodes.

int MEDMEM.CELLMODEL::getDimension ( ) const

returns the dimension of this type of cell.
it can be different from mesh dimension

References MEDMEM.CELLMODEL._dimension.

MED_EN::medGeometryElement MEDMEM.CELLMODEL::getType ( ) const

returns the geometric type of the cell.
see med.h (in med/include)

References MEDMEM.CELLMODEL._type.

int ** MEDMEM.CELLMODEL::getConstituents ( int  dim) const

returns all constituents which dimension is _dimension-dim.

References MEDMEM.CELLMODEL._constituents.

int MEDMEM.CELLMODEL::getNumberOfConstituents ( int  dim) const

returns number of constituents which dimension is _dimension-dim.

References MEDMEM.CELLMODEL._numberOfConstituents.

int * MEDMEM.CELLMODEL::getNodesConstituent ( int  dim,
int  num 
) const

returns local nodes numbers vector for num-th constituent which dimension is _dimension-dim.

References MEDMEM.CELLMODEL._constituents.

int MEDMEM.CELLMODEL::getNodeConstituent ( int  dim,
int  num,
int  nodes_index 
) const

returns local node number of nodes_index-th node for num-th constituent which dimension is _dimension-dim.

References MEDMEM.CELLMODEL._constituents.

MED_EN::medGeometryElement * MEDMEM.CELLMODEL::getConstituentsType ( int  dim) const

returns types of each constituents which dimension is _dimension-dim.

References MEDMEM.CELLMODEL._constituentsType.

MED_EN::medGeometryElement MEDMEM.CELLMODEL::getConstituentType ( int  dim,
int  num 
) const

returns type of num-th constituent which dimension is _dimension-dim.

References MEDMEM.CELLMODEL._constituentsType.

int CELLMODEL::getNumberOfConstituentsType ( ) const

returns number of constituents type (which dimension is _dimension-1).

set< medGeometryElement > CELLMODEL::getAllConstituentsType ( ) const

returns all types of constituents which dimension is (_dimension-1).

map< medGeometryElement, int > CELLMODEL::getNumberOfConstituentsForeachType ( ) const

returns number of constituents foreach type (which dimension is _dimension-1).


Friends And Related Function Documentation

ostream& operator<< ( ostream &  os,
const CELLMODEL my 
) [friend]

Operator << : print CELLMODEL to the given stream.


Field Documentation

string MEDMEM.CELLMODEL._name [private]

explicit name (as MED_POINT1)

type of cell (cf define.h)

Cell dimension (not space dimension)

number of nodes forming this type of a cell

number of vertexes forming this type of a cell

2 for a 3D Cell and 1 for a 2DCell

Array of size numberOfConstituentsDimension

Array of size _numberOfConstituentsDimension x_numberOfConstituents[i]

defines nodal local connectivity for each constituents of each dimension: should be seen as a vector<vector<vector>>

  • first vector : for each cell dimension (first : dim-1, second if any : dim-2)
  • second vector : for each constituent of this dimension
  • third vector : list of local nodes
Copyright © 2007-2011 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