#include <MEDMEM_CellModel.hxx>
| 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().
| void CELLMODEL::init | ( | const CELLMODEL & | m | ) | [private] |
private method :
used by constructor and operator=
References MEDMEM.CELLMODEL._constituents, MEDMEM.CELLMODEL._constituentsType, MEDMEM.CELLMODEL._dimension, MEDMEM.CELLMODEL._name, MEDMEM.CELLMODEL._numberOfConstituents, MEDMEM.CELLMODEL._numberOfConstituentsDimension, MEDMEM.CELLMODEL._numberOfNodeOfEachConstituent, MEDMEM.CELLMODEL._numberOfNodes, MEDMEM.CELLMODEL._numberOfVertexes, and MEDMEM.CELLMODEL._type.
| void CELLMODEL::clean | ( | ) | [private] |
private method :
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.
returns all constituents which dimension is _dimension-dim.
References MEDMEM.CELLMODEL._constituents.
returns number of constituents which dimension is _dimension-dim.
References MEDMEM.CELLMODEL._numberOfConstituents.
returns local nodes numbers vector for num-th constituent which dimension is _dimension-dim.
References MEDMEM.CELLMODEL._constituents.
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).
| ostream& operator<< | ( | ostream & | os, |
| const CELLMODEL & | my | ||
| ) | [friend] |
Operator << : print CELLMODEL to the given stream.
string MEDMEM.CELLMODEL._name [private] |
explicit name (as MED_POINT1)
type of cell (cf define.h)
int MEDMEM.CELLMODEL._dimension [private] |
Cell dimension (not space dimension)
int MEDMEM.CELLMODEL._numberOfNodes [private] |
number of nodes forming this type of a cell
int MEDMEM.CELLMODEL._numberOfVertexes [private] |
number of vertexes forming this type of a cell
2 for a 3D Cell and 1 for a 2DCell
int* MEDMEM.CELLMODEL._numberOfConstituents [private] |
Array of size numberOfConstituentsDimension
int** MEDMEM.CELLMODEL._numberOfNodeOfEachConstituent [private] |
Array of size _numberOfConstituentsDimension x_numberOfConstituents[i]
int*** MEDMEM.CELLMODEL._constituents [private] |
defines nodal local connectivity for each constituents of each dimension: should be seen as a vector<vector<vector>>