MED::TElemInfo Struct Referenceabstract

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

#include <MED_Structures.hxx>

Public Member Functions

virtual std::string GetElemName (TInt theId) const =0
 Get name of the mesh element by its order number. More...
 
TInt GetElemNum (TInt theId) const
 Get a reference number of the mesh element by its order number. More...
 
TInt GetFamNum (TInt theId) const
 Get number of a MED FAMILY by order number of the mesh element. More...
 
const PMeshInfoGetMeshInfo () const
 Get a reference to corresponding MED Mesh. More...
 
TInt GetNbElem () const
 
EBooleen IsElemNames () const
 Let know if the mesh elements have names. 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...
 
virtual void SetElemName (TInt theId, const std::string &theValue)=0
 Set name 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...
 
void SetFamNum (TInt theId, TInt theVal)
 Set number of a MED FAMILY for the mesh element with the order number. More...
 
- Public Member Functions inherited from MED::TBase
virtual ~TBase ()
 

Public Attributes

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

Detailed Description

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

Member Function Documentation

◆ GetElemName()

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 >.

◆ GetElemNum()

TInt TElemInfo::GetElemNum ( TInt  theId) const

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

References myElemNum.

◆ GetFamNum()

TInt TElemInfo::GetFamNum ( TInt  theId) const

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

References myFamNum.

◆ GetMeshInfo()

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

Get a reference to corresponding MED Mesh.

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

◆ GetNbElem()

TInt MED::TElemInfo::GetNbElem ( ) const

◆ IsElemNames()

EBooleen MED::TElemInfo::IsElemNames ( ) const

Let know if the mesh elements have names.

◆ IsElemNum()

EBooleen MED::TElemInfo::IsElemNum ( ) const

Let know if the mesh elements are indexed.

◆ IsFamNum()

EBooleen MED::TElemInfo::IsFamNum ( ) const

Let know if the mesh elements family are indexed.

◆ SetElemName()

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 >.

◆ SetElemNum()

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().

◆ SetFamNum()

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

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

References MED::eVRAI, and myIsFamNum.

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

Member Data Documentation

◆ myElemNames

◆ myElemNum

◆ myFamNum

◆ myIsElemNames

◆ myIsElemNum

◆ myIsFamNum

EBooleen MED::TElemInfo::myIsFamNum

◆ myMeshInfo

◆ myNbElem


The documentation for this struct was generated from the following files: