Version: 9.12.0
MED::TTPolyedreInfo Struct Referenceabstract

#include <MED_TStructures.hxx>

Inheritance diagram for MED::TTPolyedreInfo:

Public Types

typedef TTElemInfo TElemInfoBase
 

Public Member Functions

 TTPolyedreInfo (const PMeshInfo &theMeshInfo, const PPolyedreInfo &theInfo)
 
 TTPolyedreInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TInt theNbElem, TInt theNbFaces, TInt theConnSize, EConnectivite theConnMode, EBooleen theIsElemNum, EBooleen theIsElemNames)
 
 TTPolyedreInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, const TIntVector &theIndexes, const TIntVector &theFaces, const TIntVector &theConnectivities, EConnectivite theConnMode, const TIntVector &theFamilyNums, const TIntVector &theElemNums, const TStringVector &theElemNames)
 
EEntiteMaillage GetEntity () const
 Find out what MED ENTITY the MED Polyedres belong to. More...
 
EGeometrieElement GetGeom () const
 Find out what MED geometrical type the MED Polyedres belong to. More...
 
EConnectivite GetConnMode () const
 Find out in what connectivity the cells are written. More...
 
TInt GetNbFaces (TInt theElemId) const
 Gives number of the faces for the defined polyedre (const version) More...
 
TInt GetNbNodes (TInt theElemId) const
 Gives number of the nodes for the defined polyedre. More...
 
TCConnSliceArr GetConnSliceArr (TInt theElemId) const
 Gives sequence of the face connectivities for polyedre by its number (const version) More...
 
TConnSliceArr GetConnSliceArr (TInt theElemId)
 Gives sequence of the face connectivities for polyedre 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 have 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...
 
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 polyedres belongs to. More...
 
EGeometrieElement myGeom
 Defines the MED Geometric type of the instance. More...
 
EConnectivite myConnMode
 Defines connectivity mode. More...
 
PElemNum myConn
 Table de connectivities. More...
 
PElemNum myFaces
 Table de faces indexes. More...
 
PElemNum myIndex
 Table de indexes. More...
 
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...
 

Member Typedef Documentation

◆ TElemInfoBase

Constructor & Destructor Documentation

◆ TTPolyedreInfo() [1/3]

◆ TTPolyedreInfo() [2/3]

MED::TTPolyedreInfo::TTPolyedreInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TInt  theNbElem,
TInt  theNbFaces,
TInt  theConnSize,
EConnectivite  theConnMode,
EBooleen  theIsElemNum,
EBooleen  theIsElemNames 
)

◆ TTPolyedreInfo() [3/3]

MED::TTPolyedreInfo::TTPolyedreInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
const TIntVector theIndexes,
const TIntVector theFaces,
const TIntVector theConnectivities,
EConnectivite  theConnMode,
const TIntVector theFamilyNums,
const TIntVector theElemNums,
const TStringVector theElemNames 
)

Member Function Documentation

◆ GetConnMode()

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

Find out in what connectivity the cells are written.

◆ GetConnSliceArr() [1/2]

TConnSliceArr MED::TPolyedreInfo::GetConnSliceArr ( TInt  theElemId)
inherited

Gives sequence of the face connectivities for polyedre by its number.

◆ GetConnSliceArr() [2/2]

TCConnSliceArr MED::TPolyedreInfo::GetConnSliceArr ( TInt  theElemId) const
inherited

Gives sequence of the face connectivities for polyedre by its number (const version)

Referenced by MED::GetBaryCenter().

◆ GetElemName() [1/2]

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

Get name of the mesh element by its order number.

Implements MED::TElemInfo.

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

◆ GetElemName() [2/2]

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.

◆ GetElemNum()

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

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

◆ GetEntity()

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

Find out what MED ENTITY the MED Polyedres belong to.

◆ GetFamNum()

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

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

◆ GetGeom()

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

Find out what MED geometrical type the MED Polyedres belong to.

References MED::ePOLYEDRE.

◆ 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

◆ GetNbFaces()

TInt MED::TPolyedreInfo::GetNbFaces ( TInt  theElemId) const
inherited

Gives number of the faces for the defined polyedre (const version)

◆ GetNbNodes()

TInt MED::TPolyedreInfo::GetNbNodes ( TInt  theElemId) const
inherited

Gives number of the nodes for the defined polyedre.

Referenced by MED::GetBaryCenter().

◆ 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() [1/2]

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

Set name of the mesh element by its order number.

Implements MED::TElemInfo.

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

Referenced by MED::TTElemInfo::TTElemInfo().

◆ SetElemName() [2/2]

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.

◆ SetElemNum()

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

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

Referenced by MED::TTElemInfo::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 MED::TTElemInfo::TTElemInfo().

Field Documentation

◆ myConn

PElemNum MED::TPolyedreInfo::myConn
inherited

◆ myConnMode

EConnectivite MED::TPolyedreInfo::myConnMode
inherited

◆ myElemNames

◆ myElemNum

◆ myEntity

EEntiteMaillage MED::TPolyedreInfo::myEntity
inherited

Defines the MED Entity where the polyedres belongs to.

Referenced by MED::TWrapper::GetPolyedreInfo(), MED::TWrapper::SetPolyedreInfo(), and TTPolyedreInfo().

◆ myFaces

PElemNum MED::TPolyedreInfo::myFaces
inherited

◆ myFamNum

PElemNum MED::TElemInfo::myFamNum
inherited

◆ myGeom

EGeometrieElement MED::TPolyedreInfo::myGeom
inherited

Defines the MED Geometric type of the instance.

Referenced by TTPolyedreInfo().

◆ myIndex

PElemNum MED::TPolyedreInfo::myIndex
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 MED::TTElemInfo::TTElemInfo().

◆ myMeshInfo

◆ myNbElem