#include <CellModel.hxx>
Public Member Functions | |
| const char * | getRepr () const |
| bool | isDynamic () const |
| bool | isQuadratic () const |
| unsigned | getDimension () const |
| bool | isCompatibleWith (NormalizedCellType type) const |
| bool | isSimplex () const |
| const unsigned * | getNodesConstituentTheSon (unsigned sonId) const |
| sonId is in C format. | |
| unsigned | getNumberOfNodes () const |
| unsigned | getNumberOfSons () const |
| unsigned | getNumberOfSons2 (const int *conn, int lgth) const |
| unsigned | getNumberOfNodesConstituentTheSon (unsigned sonId) const |
| unsigned | getNumberOfNodesConstituentTheSon2 (unsigned sonId, const int *nodalConn, int lgth) const |
| Return number of nodes in sonId-th son of a Dynamic() cell. | |
| NormalizedCellType | getExtrudedType () const |
| NormalizedCellType | getLinearType () const |
| NormalizedCellType | getQuadraticType () const |
| NormalizedCellType | getSonType (unsigned sonId) const |
| NormalizedCellType | getSonType2 (unsigned sonId) const |
| unsigned | fillSonCellNodalConnectivity (int sonId, const int *nodalConn, int *sonNodalConn) const |
| unsigned | fillSonCellNodalConnectivity2 (int sonId, const int *nodalConn, int lgth, int *sonNodalConn, NormalizedCellType &typeOfSon) const |
Static Public Member Functions | |
| static const CellModel & | GetCellModel (NormalizedCellType type) |
Static Public Attributes | |
| static const unsigned | MAX_NB_OF_SONS = 8 |
| static const unsigned | MAX_NB_OF_NODES_PER_ELEM = 30 |
Private Member Functions | |
| CellModel (NormalizedCellType type) | |
Static Private Member Functions | |
| static void | buildUniqueInstance () |
Private Attributes | |
| bool | _dyn |
| bool | _quadratic |
| bool | _is_simplex |
| unsigned | _dim |
| unsigned | _nb_of_pts |
| unsigned | _nb_of_sons |
| NormalizedCellType | _type |
| NormalizedCellType | _extruded_type |
| NormalizedCellType | _linear_type |
| NormalizedCellType | _quadratic_type |
| unsigned | _sons_con [MAX_NB_OF_SONS][MAX_NB_OF_NODES_PER_ELEM] |
| unsigned | _nb_of_sons_con [MAX_NB_OF_SONS] |
| NormalizedCellType | _sons_type [MAX_NB_OF_SONS] |
Static Private Attributes | |
| static std::map < NormalizedCellType, CellModel > | _map_of_unique_instance |
| static const char * | CELL_TYPES_REPR [] |
This class descibes all static elements (different from polygons and polyhedron) 3D, 2D and 1D.
| INTERP_KERNEL.CellModel::CellModel | ( | NormalizedCellType | type | ) | [private] |
References INTERP_KERNEL.NORM_ERROR, INTERP_KERNEL.NORM_HEXA20, INTERP_KERNEL.NORM_HEXA8, INTERP_KERNEL.NORM_HEXGP12, INTERP_KERNEL.NORM_PENTA15, INTERP_KERNEL.NORM_PENTA6, INTERP_KERNEL.NORM_POINT1, INTERP_KERNEL.NORM_POLYGON, INTERP_KERNEL.NORM_POLYHED, INTERP_KERNEL.NORM_PYRA13, INTERP_KERNEL.NORM_PYRA5, INTERP_KERNEL.NORM_QUAD4, INTERP_KERNEL.NORM_QUAD8, INTERP_KERNEL.NORM_SEG2, INTERP_KERNEL.NORM_SEG3, INTERP_KERNEL.NORM_TETRA10, INTERP_KERNEL.NORM_TETRA4, INTERP_KERNEL.NORM_TRI3, and INTERP_KERNEL.NORM_TRI6.
| void INTERP_KERNEL.CellModel::buildUniqueInstance | ( | ) | [static, private] |
References INTERP_KERNEL.CellModel._map_of_unique_instance, INTERP_KERNEL.CellModel.CellModel(), INTERP_KERNEL.NORM_HEXA20, INTERP_KERNEL.NORM_HEXA8, INTERP_KERNEL.NORM_HEXGP12, INTERP_KERNEL.NORM_PENTA15, INTERP_KERNEL.NORM_PENTA6, INTERP_KERNEL.NORM_POINT1, INTERP_KERNEL.NORM_POLYGON, INTERP_KERNEL.NORM_POLYHED, INTERP_KERNEL.NORM_PYRA13, INTERP_KERNEL.NORM_PYRA5, INTERP_KERNEL.NORM_QUAD4, INTERP_KERNEL.NORM_QUAD8, INTERP_KERNEL.NORM_SEG2, INTERP_KERNEL.NORM_SEG3, INTERP_KERNEL.NORM_TETRA10, INTERP_KERNEL.NORM_TETRA4, INTERP_KERNEL.NORM_TRI3, and INTERP_KERNEL.NORM_TRI6.
| const CellModel & INTERP_KERNEL.CellModel::GetCellModel | ( | NormalizedCellType | type | ) | [static] |
| const char * INTERP_KERNEL.CellModel::getRepr | ( | ) | const |
References INTERP_KERNEL.CellModel._type, and INTERP_KERNEL.CellModel.CELL_TYPES_REPR.
| bool INTERP_KERNEL.CellModel.isDynamic | ( | ) | const |
References INTERP_KERNEL.CellModel._dyn.
| bool INTERP_KERNEL.CellModel.isQuadratic | ( | ) | const |
References INTERP_KERNEL.CellModel._quadratic.
| unsigned INTERP_KERNEL.CellModel.getDimension | ( | ) | const |
References INTERP_KERNEL.CellModel._dim.
| bool INTERP_KERNEL.CellModel::isCompatibleWith | ( | NormalizedCellType | type | ) | const |
This method is compatible with all types including dynamic one.
References INTERP_KERNEL.CellModel._dim, INTERP_KERNEL.CellModel._type, INTERP_KERNEL.CellModel.GetCellModel(), INTERP_KERNEL.CellModel.getDimension(), INTERP_KERNEL.CellModel.isDynamic(), and INTERP_KERNEL.CellModel.isQuadratic().
| bool INTERP_KERNEL.CellModel.isSimplex | ( | ) | const |
References INTERP_KERNEL.CellModel._is_simplex.
| const unsigned* INTERP_KERNEL.CellModel.getNodesConstituentTheSon | ( | unsigned | sonId | ) | const |
sonId is in C format.
References INTERP_KERNEL.CellModel._sons_con.
| unsigned INTERP_KERNEL.CellModel.getNumberOfNodes | ( | ) | const |
References INTERP_KERNEL.CellModel._nb_of_pts.
| unsigned INTERP_KERNEL.CellModel.getNumberOfSons | ( | ) | const |
References INTERP_KERNEL.CellModel._nb_of_sons.
Equivalent to getNumberOfSons except that this method deals with dynamic type.
References INTERP_KERNEL.CellModel._dim, INTERP_KERNEL.CellModel.getNumberOfSons(), and INTERP_KERNEL.CellModel.isDynamic().
| unsigned INTERP_KERNEL.CellModel.getNumberOfNodesConstituentTheSon | ( | unsigned | sonId | ) | const |
References INTERP_KERNEL.CellModel._nb_of_sons_con.
| unsigned INTERP_KERNEL.CellModel::getNumberOfNodesConstituentTheSon2 | ( | unsigned | sonId, |
| const int * | nodalConn, | ||
| int | lgth | ||
| ) | const |
Return number of nodes in sonId-th son of a Dynamic() cell.
References INTERP_KERNEL.CellModel._dim, INTERP_KERNEL.CellModel.getNumberOfNodesConstituentTheSon(), and INTERP_KERNEL.CellModel.isDynamic().
| NormalizedCellType INTERP_KERNEL.CellModel.getExtrudedType | ( | ) | const |
References INTERP_KERNEL.CellModel._extruded_type.
| NormalizedCellType INTERP_KERNEL.CellModel.getLinearType | ( | ) | const |
References INTERP_KERNEL.CellModel._linear_type.
| NormalizedCellType INTERP_KERNEL.CellModel.getQuadraticType | ( | ) | const |
References INTERP_KERNEL.CellModel._quadratic_type.
| NormalizedCellType INTERP_KERNEL.CellModel.getSonType | ( | unsigned | sonId | ) | const |
References INTERP_KERNEL.CellModel._sons_type.
| NormalizedCellType INTERP_KERNEL.CellModel::getSonType2 | ( | unsigned | sonId | ) | const |
Equivalent to getSonType except that this method deals with dynamic type.
References INTERP_KERNEL.CellModel._dim, INTERP_KERNEL.CellModel.getSonType(), INTERP_KERNEL.CellModel.isDynamic(), INTERP_KERNEL.NORM_POLYGON, and INTERP_KERNEL.NORM_SEG2.
| unsigned INTERP_KERNEL.CellModel::fillSonCellNodalConnectivity | ( | int | sonId, |
| const int * | nodalConn, | ||
| int * | sonNodalConn | ||
| ) | const |
WARNING this method do not manage correctly types that return true at the call of isDynamic. Use fillSonCellNodalConnectivity2 instead.
References INTERP_KERNEL.CellModel._nb_of_sons_con, and INTERP_KERNEL.CellModel._sons_con.
| unsigned INTERP_KERNEL.CellModel::fillSonCellNodalConnectivity2 | ( | int | sonId, |
| const int * | nodalConn, | ||
| int | lgth, | ||
| int * | sonNodalConn, | ||
| NormalizedCellType & | typeOfSon | ||
| ) | const |
const unsigned INTERP_KERNEL.CellModel.MAX_NB_OF_SONS = 8 [static] |
const unsigned INTERP_KERNEL.CellModel.MAX_NB_OF_NODES_PER_ELEM = 30 [static] |
bool INTERP_KERNEL.CellModel._dyn [private] |
bool INTERP_KERNEL.CellModel._quadratic [private] |
bool INTERP_KERNEL.CellModel._is_simplex [private] |
unsigned INTERP_KERNEL.CellModel._dim [private] |
unsigned INTERP_KERNEL.CellModel._nb_of_pts [private] |
unsigned INTERP_KERNEL.CellModel._nb_of_sons [private] |
unsigned INTERP_KERNEL.CellModel._sons_con[MAX_NB_OF_SONS][MAX_NB_OF_NODES_PER_ELEM] [private] |
unsigned INTERP_KERNEL.CellModel._nb_of_sons_con[MAX_NB_OF_SONS] [private] |
std::map< NormalizedCellType, CellModel > INTERP_KERNEL.CellModel::_map_of_unique_instance [static, private] |
dn46 SALOME series6x631 MED Mandriva2010 MED_SRC src INTERP_KERNEL CellModel cxx const char * INTERP_KERNEL.CellModel::CELL_TYPES_REPR [static, private] |
{"NORM_POINT1", "NORM_SEG2", "NORM_SEG3", "NORM_TRI3", "NORM_QUAD4",
"NORM_POLYGON", "NORM_TRI6", "" , "NORM_QUAD8", "",
"", "", "", "", "NORM_TETRA4",
"NORM_PYRA5", "NORM_PENTA6", "", "NORM_HEXA8", "",
"NORM_TETRA10", "", "NORM_HEXGP12", "NORM_PYRA13", "",
"NORM_PENTA15", "", "", "", "",
"NORM_HEXA20", "NORM_POLYHED", "", "", "",
"", "", "", "", "",
"NORM_ERROR"}