Version: 8.3.0
MED::TTCellInfo< eVersion > Struct Template Referenceabstract

#include <MED_TStructures.hxx>

Inheritance diagram for MED::TTCellInfo< eVersion >:

Public Types

typedef TTElemInfo< eVersion > TElemInfoBase
 

Public Member Functions

 TTCellInfo (const PMeshInfo &theMeshInfo, const PCellInfo &theInfo)
 
 TTCellInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TInt theNbElem, EConnectivite theConnMode, EBooleen theIsElemNum, EBooleen theIsElemNames, EModeSwitch theMode)
 
 TTCellInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, const TIntVector &theConnectivities, EConnectivite theConnMode, const TIntVector &theFamilyNums, const TIntVector &theElemNums, const TStringVector &theElemNames, EModeSwitch theMode)
 
virtual TInt GetConnDim () const
 Gives step in the connectivity sequence. More...
 
EEntiteMaillage GetEntity () const
 Find out what MED ENTITY the cells belong to. More...
 
EGeometrieElement GetGeom () const
 Find out what MED geometrical type the cells belong to. More...
 
EConnectivite GetConnMode () const
 Find out in what connectivity the cells are written. More...
 
TCConnSlice GetConnSlice (TInt theElemId) const
 Gives connectivities for mesh cell by its number (const version) More...
 
TConnSlice GetConnSlice (TInt theElemId)
 Gives connectivities for mesh cell by its 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 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...
 
EModeSwitch GetModeSwitch () const
 
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...
 

Data Fields

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

Member Typedef Documentation

template<EVersion eVersion>
typedef TTElemInfo<eVersion> MED::TTCellInfo< eVersion >::TElemInfoBase

Constructor & Destructor Documentation

template<EVersion eVersion>
MED::TTCellInfo< eVersion >::TTCellInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TInt  theNbElem,
EConnectivite  theConnMode,
EBooleen  theIsElemNum,
EBooleen  theIsElemNames,
EModeSwitch  theMode 
)
template<EVersion eVersion>
MED::TTCellInfo< eVersion >::TTCellInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
const TIntVector theConnectivities,
EConnectivite  theConnMode,
const TIntVector theFamilyNums,
const TIntVector theElemNums,
const TStringVector theElemNames,
EModeSwitch  theMode 
)

Member Function Documentation

template<EVersion eVersion>
virtual TInt MED::TTCellInfo< eVersion >::GetConnDim ( ) const
virtual

Gives step in the connectivity sequence.

Implements MED::TCellInfo.

References MED::TCellInfo::myEntity, MED::TCellInfo::myGeom, and MED::TElemInfo::myMeshInfo.

EConnectivite MED::TCellInfo::GetConnMode ( ) const
inherited

Find out in what connectivity the cells are written.

TCConnSlice TCellInfo::GetConnSlice ( TInt  theElemId) const
inherited

Gives connectivities for mesh cell by its number (const version)

References MED::eFULL_INTERLACE, and MED::GetNbNodes().

Referenced by MED::TShapeFun::Eval(), MED::GetBaryCenter(), and MED::TTCellInfo< eVersion >::TTCellInfo().

TConnSlice TCellInfo::GetConnSlice ( TInt  theElemId)
inherited

Gives connectivities for mesh cell by its number.

References MED::eFULL_INTERLACE, and MED::GetNbNodes().

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

Get name of the mesh element by its order number.

Implemented in MED::TTElemInfo< eVersion >.

template<EVersion eVersion>
virtual std::string MED::TTElemInfo< eVersion >::GetElemName ( TInt  theId) const
virtualinherited

Get name of the mesh element by its order number.

Implements MED::TElemInfo.

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

TInt TElemInfo::GetElemNum ( TInt  theId) const
inherited

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

EEntiteMaillage MED::TCellInfo::GetEntity ( ) const
inherited

Find out what MED ENTITY the cells belong to.

TInt TElemInfo::GetFamNum ( TInt  theId) const
inherited

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

EGeometrieElement MED::TCellInfo::GetGeom ( ) const
inherited

Find out what MED geometrical type the cells belong to.

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

Get a reference to corresponding MED Mesh.

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

EModeSwitch MED::TModeSwitchInfo::GetModeSwitch ( ) const
inherited
TInt MED::TElemInfo::GetNbElem ( ) const
inherited
EBooleen MED::TElemInfo::IsElemNames ( ) const
inherited

Let know if the mesh elements havew names.

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

Let know if the mesh elements are indexed.

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

Let know if the mesh elements family are indexed.

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

Set name of the mesh element by its order number.

Implemented in MED::TTElemInfo< eVersion >.

template<EVersion eVersion>
virtual void MED::TTElemInfo< eVersion >::SetElemName ( TInt  theId,
const std::string &  theValue 
)
virtualinherited

Set name of the mesh element by its order number.

Implements MED::TElemInfo.

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

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

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

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 
)
inherited

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

PElemNum MED::TCellInfo::myConn
inherited

Defines sequence which describe connectivity for each of mesh cell.

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

EConnectivite MED::TCellInfo::myConnMode
inherited
EEntiteMaillage MED::TCellInfo::myEntity
inherited
EBooleen MED::TElemInfo::myIsFamNum
inherited

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