MED::TCellInfo Struct Referenceabstract

Define a base class which represents MED Cells entity. More...

#include <MED_Structures.hxx>

Public Member Functions

virtual TInt GetConnDim () const =0
 Gives step in the connectivity sequence. More...
 
EConnectivite GetConnMode () const
 Let known in what connectivity the cells are written. More...
 
TConnSlice GetConnSlice (TInt theElemId)
 Gives connectivities for mesh cell by its number. More...
 
TCConnSlice GetConnSlice (TInt theElemId) const
 Gives connectivities for mesh cell by its number (const version) More...
 
EEntiteMaillage GetEntity () const
 Let known what MED ENTITY the cells belong to. More...
 
EGeometrieElement GetGeom () const
 Let known what MED geometrical type the cells belong to. More...
 
- Public Member Functions inherited from MED::TElemInfo
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 Member Functions inherited from MED::TModeSwitchInfo
EModeSwitch GetModeSwitch () const
 
 TModeSwitchInfo ()
 To construct instance of the class by default. More...
 
 TModeSwitchInfo (EModeSwitch theModeSwitch)
 To construct instance of the class. More...
 

Public Attributes

PElemNum myConn
 Defines sequence which describe connectivity for each of mesh cell. More...
 
EConnectivite myConnMode
 Defines connectivity mode. More...
 
EEntiteMaillage myEntity
 Defines the MED Entity where the mesh cells belongs to. More...
 
EGeometrieElement myGeom
 Defines the MED Geometric type of the instance. More...
 
- Public Attributes inherited from MED::TElemInfo
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
 
- Public Attributes inherited from MED::TModeSwitchInfo
EModeSwitch myModeSwitch
 Keeps the. More...
 

Detailed Description

Define a base class which represents MED Cells entity.

Member Function Documentation

◆ GetConnDim()

virtual TInt MED::TCellInfo::GetConnDim ( ) const
pure virtual

Gives step in the connectivity sequence.

Implemented in MED::TTCellInfo< eVersion >.

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

◆ GetConnMode()

EConnectivite MED::TCellInfo::GetConnMode ( ) const

Let known in what connectivity the cells are written.

◆ GetConnSlice() [1/2]

TConnSlice TCellInfo::GetConnSlice ( TInt  theElemId)

Gives connectivities for mesh cell by its number.

References MED::eFULL_INTERLACE, GetConnDim(), MED::TModeSwitchInfo::GetModeSwitch(), MED::GetNbNodes(), myConn, and myGeom.

◆ GetConnSlice() [2/2]

TCConnSlice TCellInfo::GetConnSlice ( TInt  theElemId) const

◆ GetEntity()

EEntiteMaillage MED::TCellInfo::GetEntity ( ) const

Let known what MED ENTITY the cells belong to.

◆ GetGeom()

EGeometrieElement MED::TCellInfo::GetGeom ( ) const

Let known what MED geometrical type the cells belong to.

Member Data Documentation

◆ myConn

PElemNum MED::TCellInfo::myConn

Defines sequence which describe connectivity for each of mesh cell.

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

◆ myConnMode

◆ myEntity

◆ myGeom


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