Version: 8.3.0
MED::TElemInfo Struct Referenceabstract

Define a parent class for all MED entities that describes mesh entites such as nodes and cells. More...

#include <MED_Structures.hxx>

Inheritance diagram for MED::TElemInfo:

Public Member Functions

const PMeshInfoGetMeshInfo () const
 Get a reference to corresponding MED Mesh. More...
 
TInt GetNbElem () const
 
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...
 
EBooleen IsElemNum () const
 Let know if the mesh elements are indexed. More...
 
EBooleen IsFamNum () const
 Let know if the mesh elements family are indexed. More...
 
TInt GetElemNum (TInt theId) const
 Get a reference number of the mesh element by its order number. More...
 
void SetElemNum (TInt theId, TInt theVal)
 Set a reference number for the mesh element by its order number. More...
 
EBooleen IsElemNames () const
 Let know if the mesh elements havew names. More...
 
virtual std::string GetElemName (TInt theId) const =0
 Get name of the mesh element by its order number. More...
 
virtual void SetElemName (TInt theId, const std::string &theValue)=0
 Set name of the mesh element by its order number. More...
 

Data Fields

PMeshInfo myMeshInfo
 A reference to correspondig MED Mesh. More...
 
TInt myNbElem
 
PElemNum myFamNum
 Get number of mesh elements. More...
 
EBooleen myIsElemNum
 Defines if the mesh elements are indexed. More...
 
EBooleen myIsFamNum
 Defines if the mesh elements family are indexed. More...
 
PElemNum myElemNum
 Contains sequence of the indexes for the mesh elements. More...
 
EBooleen myIsElemNames
 Defines if the mesh elements are named. More...
 
PString myElemNames
 Contains sequence of the names for the mesh elements. More...
 

Detailed Description

Define a parent class for all MED entities that describes mesh entites such as nodes and cells.

Member Function Documentation

virtual std::string MED::TElemInfo::GetElemName ( TInt  theId) const
pure virtual

Get name of the mesh element by its order number.

Implemented in MED::TTElemInfo< eVersion >.

TInt TElemInfo::GetElemNum ( TInt  theId) const

Get a reference number of the mesh element by its order number.

TInt TElemInfo::GetFamNum ( TInt  theId) const

Get number of a MED FAMILY by order number of the mesh element.

const PMeshInfo& MED::TElemInfo::GetMeshInfo ( ) const

Get a reference to corresponding MED Mesh.

Referenced by MED::TShapeFun::Eval(), and MED::GetBaryCenter().

TInt MED::TElemInfo::GetNbElem ( ) const
EBooleen MED::TElemInfo::IsElemNames ( ) const

Let know if the mesh elements havew names.

EBooleen MED::TElemInfo::IsElemNum ( ) const

Let know if the mesh elements are indexed.

EBooleen MED::TElemInfo::IsFamNum ( ) const

Let know if the mesh elements family are indexed.

virtual void MED::TElemInfo::SetElemName ( TInt  theId,
const std::string &  theValue 
)
pure virtual

Set name of the mesh element by its order number.

Implemented in MED::TTElemInfo< eVersion >.

void TElemInfo::SetElemNum ( TInt  theId,
TInt  theVal 
)

Set a reference number for the mesh element by its order number.

Referenced by MED::TTElemInfo< eVersion >::TTElemInfo().

void TElemInfo::SetFamNum ( TInt  theId,
TInt  theVal 
)

Set number of a MED FAMILY for the mesh element with the order number.

References MED::eVRAI.

Referenced by MED::TTElemInfo< eVersion >::TTElemInfo().

Field Documentation

EBooleen MED::TElemInfo::myIsFamNum

Defines if the mesh elements family are indexed.

Referenced by MED::V2_2::TVWrapper::GetCellInfo(), MED::V2_2::TVWrapper::SetCellInfo(), and MED::TTElemInfo< eVersion >::TTElemInfo().