Version: 9.12.0
MED::TTElemInfo Struct Reference

#include <MED_TStructures.hxx>

Inheritance diagram for MED::TTElemInfo:

Public Member Functions

 TTElemInfo (const PMeshInfo &theMeshInfo, const PElemInfo &theInfo)
 
 TTElemInfo (const PMeshInfo &theMeshInfo, TInt theNbElem, EBooleen theIsElemNum, EBooleen theIsElemNames)
 
 TTElemInfo (const PMeshInfo &theMeshInfo, TInt theNbElem, const TIntVector &theFamilyNums, const TIntVector &theElemNums, const TStringVector &theElemNames)
 
virtual std::string GetElemName (TInt theId) const
 Get name of the mesh element by its order number. More...
 
virtual void SetElemName (TInt theId, const std::string &theValue)
 Set name of the mesh element by its order number. More...
 
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 have names. More...
 

Data Fields

PMeshInfo myMeshInfo
 A reference to corresponding 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...
 

Constructor & Destructor Documentation

◆ TTElemInfo() [1/3]

◆ TTElemInfo() [2/3]

◆ TTElemInfo() [3/3]

Member Function Documentation

◆ GetElemName()

virtual std::string MED::TTElemInfo::GetElemName ( TInt  theId) const
virtual

Get name of the mesh element by its order number.

Implements MED::TElemInfo.

References MED::GetPNOMLength(), MED::GetString(), and MED::TElemInfo::myElemNames.

◆ GetElemNum()

TInt MED::TElemInfo::GetElemNum ( TInt  theId) const
inherited

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

◆ GetFamNum()

TInt MED::TElemInfo::GetFamNum ( TInt  theId) const
inherited

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

◆ GetMeshInfo()

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

Get a reference to corresponding MED Mesh.

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

◆ GetNbElem()

TInt MED::TElemInfo::GetNbElem ( ) const
inherited

◆ IsElemNames()

EBooleen MED::TElemInfo::IsElemNames ( ) const
inherited

Let know if the mesh elements have names.

◆ IsElemNum()

EBooleen MED::TElemInfo::IsElemNum ( ) const
inherited

Let know if the mesh elements are indexed.

◆ IsFamNum()

EBooleen MED::TElemInfo::IsFamNum ( ) const
inherited

Let know if the mesh elements family are indexed.

◆ SetElemName()

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

Set name of the mesh element by its order number.

Implements MED::TElemInfo.

References MED::GetPNOMLength(), MED::TElemInfo::myElemNames, and MED::SetString().

Referenced by TTElemInfo().

◆ SetElemNum()

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

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

Referenced by TTElemInfo().

◆ SetFamNum()

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

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

References MED::eVRAI.

Referenced by TTElemInfo().

Field Documentation

◆ myElemNames

◆ myElemNum

◆ myFamNum

PElemNum MED::TElemInfo::myFamNum
inherited

◆ myIsElemNames

◆ myIsElemNum

◆ myIsFamNum

EBooleen MED::TElemInfo::myIsFamNum
inherited

Defines if the mesh elements family are indexed.

Referenced by MED::TWrapper::GetCellInfo(), MED::TWrapper::SetCellInfo(), and TTElemInfo().

◆ myMeshInfo

◆ myNbElem