Define a base class which represents MED Grille (structured mesh) More...
#include <MED_Structures.hxx>
Public Member Functions | |
const PMeshInfo & | GetMeshInfo () const |
const TNodeCoord & | GetNodeCoord () const |
Gives coordinates for mesh nodes (const version) More... | |
TNodeCoord & | GetNodeCoord () |
TNodeCoord | GetCoord (TInt theId) |
Gives coordinates for mesh node by its number, array index from 0. More... | |
TIntVector | GetConn (TInt theId, const bool isSub=false) |
Gives ids of nodes for mesh cell or sub-cell by its number, array index from 0. More... | |
const EGrilleType & | GetGrilleType () const |
Gets grille type (const version) More... | |
EGrilleType | GetGrilleType () |
Gets grille type. More... | |
void | SetGrilleType (EGrilleType theGrilleType) |
Sets grille type. More... | |
virtual std::string | GetCoordName (TInt theId) const =0 |
Get name of the coordinate dimension by its order number. More... | |
virtual void | SetCoordName (TInt theId, const std::string &theValue)=0 |
Set name of the coordinate dimension by its order number. More... | |
virtual std::string | GetCoordUnit (TInt theId) const =0 |
Get name of unit for the coordinate dimension by its order number. More... | |
virtual void | SetCoordUnit (TInt theId, const std::string &theValue)=0 |
Set name of unit for the coordinate dimension by its order number. More... | |
const TIndexes & | GetMapOfIndexes () const |
Gets a map of Tables (const version) More... | |
TIndexes & | GetMapOfIndexes () |
Gets a map of Tables. More... | |
const TFloatVector & | GetIndexes (TInt theAxisNumber) const |
Gets a Table of indexes for certain axe(const version) More... | |
TFloatVector & | GetIndexes (TInt theAxisNumber) |
Gets a Table of indexes for certain axe. More... | |
TInt | GetNbIndexes (TInt theAxisNumber) |
Gets a number of indices per axe. More... | |
TInt | GetNbNodes () |
TInt | GetNbCells () |
Return count of all points. More... | |
TInt | GetNbSubCells () |
Return count of all cells. More... | |
EGeometrieElement | GetGeom () |
Return count of all entities of <mesh dimension-1> More... | |
EGeometrieElement | GetSubGeom () |
Return geometry of cells (calculated from mesh dimension) More... | |
EEntiteMaillage | GetEntity () |
Return geometry of subcells (calculated from mesh dimension) More... | |
EEntiteMaillage | GetSubEntity () |
Return entity (eMAILLE) More... | |
const TIntVector & | GetGrilleStructure () const |
Gets grille structure(const version) More... | |
TIntVector | GetGrilleStructure () |
Gets grille structure. More... | |
void | SetGrilleStructure (TInt theAxis, TInt theNb) |
Sets the grille structure of theAxis axe to theNb. More... | |
TInt | GetFamNum (TInt theId) const |
Get number of a MED FAMILY by order number of the mesh element. More... | |
void | SetFamNum (TInt theId, TInt theVal) |
Set number of a MED FAMILY for the mesh element with the order number. More... | |
TInt | GetFamSubNum (TInt theId) const |
Get number of a MED FAMILY by order number of sub element. More... | |
void | SetFamSubNum (TInt theId, TInt theVal) |
Set number of a MED FAMILY for theId-th sub element. More... | |
TInt | GetFamNumNode (TInt theId) const |
Get number of a MED FAMILY by order number of the mesh node. More... | |
void | SetFamNumNode (TInt theId, TInt theVal) |
Set number of a MED FAMILY for the mesh node with the order number. More... | |
EModeSwitch | GetModeSwitch () const |
Data Fields | |
PMeshInfo | myMeshInfo |
TNodeCoord | myCoord |
Contains all nodal coordinates, now used only for eGRILLE_STANDARD. More... | |
EGrilleType | myGrilleType |
Defines grille type (eGRILLE_CARTESIENNE,eGRILLE_POLAIRE,eGRILLE_STANDARD) More... | |
TString | myCoordNames |
Contains names for the coordinate dimensions. More... | |
TString | myCoordUnits |
Contains units for the coordinate dimensions. More... | |
TIndexes | myIndixes |
Map of index of axes and Table of indexes for certain axe, now used for eGRILLE_CARTESIENNE and eGRILLE_POLAIRE. More... | |
TIntVector | myGrilleStructure |
Return sub entity. More... | |
TElemNum | myFamNum |
Defines sequence MED Family indexes for corresponding mesh entities. More... | |
TElemNum | myFamSubNum |
Defines sequence MED Family indexes for sub entities. More... | |
TElemNum | myFamNumNode |
Defines sequence MED Family indexes for corresponding mesh nodes. More... | |
EModeSwitch | myModeSwitch |
Keeps the interlace mode. More... | |
Define a base class which represents MED Grille (structured mesh)
TIntVector MED::TGrilleInfo::GetConn | ( | TInt | theId, |
const bool | isSub = false |
||
) |
Gives ids of nodes for mesh cell or sub-cell by its number, array index from 0.
TNodeCoord MED::TGrilleInfo::GetCoord | ( | TInt | theId | ) |
Gives coordinates for mesh node by its number, array index from 0.
References MED::eGRILLE_CARTESIENNE, MED::eGRILLE_STANDARD, EXCEPTION, and MED::GetNbNodes().
|
pure virtual |
Get name of the coordinate dimension by its order number.
Implemented in MED::TTGrilleInfo.
|
pure virtual |
Get name of unit for the coordinate dimension by its order number.
Implemented in MED::TTGrilleInfo.
EEntiteMaillage MED::TGrilleInfo::GetEntity | ( | ) |
Return geometry of subcells (calculated from mesh dimension)
References MED::eMAILLE.
Referenced by MED::TWrapper::GetGrilleInfo().
Get number of a MED FAMILY by order number of the mesh element.
Get number of a MED FAMILY by order number of the mesh node.
Get number of a MED FAMILY by order number of sub element.
EGeometrieElement MED::TGrilleInfo::GetGeom | ( | ) |
Return count of all entities of <mesh dimension-1>
References MED::eHEXA8, MED::eNONE, MED::eQUAD4, and MED::eSEG2.
Referenced by MED::TWrapper::GetGrilleInfo().
TIntVector MED::TGrilleInfo::GetGrilleStructure | ( | ) |
Gets grille structure.
const TIntVector & MED::TGrilleInfo::GetGrilleStructure | ( | ) | const |
Gets grille structure(const version)
EGrilleType MED::TGrilleInfo::GetGrilleType | ( | ) |
Gets grille type.
const EGrilleType & MED::TGrilleInfo::GetGrilleType | ( | ) | const |
Gets grille type (const version)
TFloatVector & MED::TGrilleInfo::GetIndexes | ( | TInt | theAxisNumber | ) |
Gets a Table of indexes for certain axe.
References EXCEPTION.
const TFloatVector & MED::TGrilleInfo::GetIndexes | ( | TInt | theAxisNumber | ) | const |
Gets a Table of indexes for certain axe(const version)
References EXCEPTION.
Referenced by MED::TWrapper::GetGrilleInfo(), and MED::TWrapper::SetGrilleInfo().
TIndexes & MED::TGrilleInfo::GetMapOfIndexes | ( | ) |
Gets a map of Tables.
const TIndexes & MED::TGrilleInfo::GetMapOfIndexes | ( | ) | const |
Gets a map of Tables (const version)
const PMeshInfo& MED::TGrilleInfo::GetMeshInfo | ( | ) | const |
|
inherited |
TInt MED::TGrilleInfo::GetNbCells | ( | ) |
Return count of all points.
Referenced by MED::TWrapper::GetGrilleInfo().
TInt MED::TGrilleInfo::GetNbNodes | ( | ) |
TInt MED::TGrilleInfo::GetNbSubCells | ( | ) |
Return count of all cells.
Referenced by MED::TWrapper::GetGrilleInfo().
TNodeCoord & MED::TGrilleInfo::GetNodeCoord | ( | ) |
const TNodeCoord & MED::TGrilleInfo::GetNodeCoord | ( | ) | const |
Gives coordinates for mesh nodes (const version)
EEntiteMaillage MED::TGrilleInfo::GetSubEntity | ( | ) |
Return entity (eMAILLE)
References MED::eARETE, and MED::eFACE.
Referenced by MED::TWrapper::GetGrilleInfo().
EGeometrieElement MED::TGrilleInfo::GetSubGeom | ( | ) |
Return geometry of cells (calculated from mesh dimension)
References MED::eNONE, MED::eQUAD4, and MED::eSEG2.
Referenced by MED::TWrapper::GetGrilleInfo().
|
pure virtual |
Set name of the coordinate dimension by its order number.
Implemented in MED::TTGrilleInfo.
|
pure virtual |
Set name of unit for the coordinate dimension by its order number.
Implemented in MED::TTGrilleInfo.
Set number of a MED FAMILY for the mesh element with the order number.
Set number of a MED FAMILY for the mesh node with the order number.
Set number of a MED FAMILY for theId-th sub element.
Sets the grille structure of theAxis axe to theNb.
Referenced by MED::TWrapper::GetGrilleInfo().
void MED::TGrilleInfo::SetGrilleType | ( | EGrilleType | theGrilleType | ) |
Sets grille type.
TNodeCoord MED::TGrilleInfo::myCoord |
Contains all nodal coordinates, now used only for eGRILLE_STANDARD.
Referenced by MED::TWrapper::GetGrilleInfo(), MED::TWrapper::SetGrilleInfo(), and MED::TTGrilleInfo::TTGrilleInfo().
TString MED::TGrilleInfo::myCoordNames |
Contains names for the coordinate dimensions.
Referenced by MED::TTGrilleInfo::GetCoordName(), MED::TWrapper::GetGrilleInfo(), MED::TTGrilleInfo::SetCoordName(), MED::TWrapper::SetGrilleInfo(), and MED::TTGrilleInfo::TTGrilleInfo().
TString MED::TGrilleInfo::myCoordUnits |
Contains units for the coordinate dimensions.
Referenced by MED::TTGrilleInfo::GetCoordUnit(), MED::TWrapper::GetGrilleInfo(), MED::TTGrilleInfo::SetCoordUnit(), MED::TWrapper::SetGrilleInfo(), and MED::TTGrilleInfo::TTGrilleInfo().
TElemNum MED::TGrilleInfo::myFamNum |
Defines sequence MED Family indexes for corresponding mesh entities.
Referenced by MED::TWrapper::GetGrilleInfo(), and MED::TTGrilleInfo::TTGrilleInfo().
TElemNum MED::TGrilleInfo::myFamNumNode |
Defines sequence MED Family indexes for corresponding mesh nodes.
Referenced by MED::TWrapper::GetGrilleInfo(), and MED::TTGrilleInfo::TTGrilleInfo().
TElemNum MED::TGrilleInfo::myFamSubNum |
Defines sequence MED Family indexes for sub entities.
Referenced by MED::TWrapper::GetGrilleInfo().
TIntVector MED::TGrilleInfo::myGrilleStructure |
Return sub entity.
Vector of grille structure (Example: {3,4,5}, 3 nodes in X axe, 4 nodes in Y axe, ...)
Referenced by MED::TWrapper::GetGrilleInfo(), MED::TWrapper::SetGrilleInfo(), and MED::TTGrilleInfo::TTGrilleInfo().
EGrilleType MED::TGrilleInfo::myGrilleType |
Defines grille type (eGRILLE_CARTESIENNE,eGRILLE_POLAIRE,eGRILLE_STANDARD)
Referenced by MED::TWrapper::GetGrilleInfo(), MED::TWrapper::SetGrilleInfo(), and MED::TTGrilleInfo::TTGrilleInfo().
TIndexes MED::TGrilleInfo::myIndixes |
Map of index of axes and Table of indexes for certain axe, now used for eGRILLE_CARTESIENNE and eGRILLE_POLAIRE.
Referenced by MED::TTGrilleInfo::TTGrilleInfo().
PMeshInfo MED::TGrilleInfo::myMeshInfo |
|
inherited |
Keeps the interlace mode.
Referenced by MED::TWrapper::GetCellInfo(), MED::TWrapper::GetGaussInfo(), MED::TWrapper::GetGrilleInfo(), MED::TWrapper::GetNodeInfo(), MED::TWrapper::SetCellInfo(), MED::TWrapper::SetGrilleInfo(), MED::TWrapper::SetNodeInfo(), and MED::TTNodeInfo::TTNodeInfo().