MED::TGrilleInfo Struct Referenceabstract

Define a base class which represents MED Grille (structured mesh) More...

#include <MED_Structures.hxx>

Public Member Functions

TIntVector GetConn (TInt theId, const bool isSub=false)
 Gives ids of nodes for mesh cell or sub-cell by its number, array index from 0. More...
 
TNodeCoord GetCoord (TInt theId)
 Gives coordinates for mesh node by its number, array index from 0. More...
 
virtual std::string GetCoordName (TInt theId) const =0
 Get name of the coordinate dimension by its order number. More...
 
virtual std::string GetCoordUnit (TInt theId) const =0
 Get name of unit for the coordinate dimension by its order number. More...
 
EEntiteMaillage GetEntity ()
 Return geometry of subcells (calculated from mesh dimension) More...
 
TInt GetFamNum (TInt theId) const
 Get number of a MED FAMILY by order number of the mesh element. More...
 
TInt GetFamNumNode (TInt theId) const
 Get number of a MED FAMILY by order number of the mesh node. More...
 
TInt GetFamSubNum (TInt theId) const
 Get number of a MED FAMILY by order number of sub element. More...
 
EGeometrieElement GetGeom ()
 Return count of all entities of <mesh dimension-1> More...
 
TIntVector GetGrilleStructure ()
 Gets grille structure. More...
 
const TIntVectorGetGrilleStructure () const
 Gets grille structure(const version) More...
 
EGrilleType GetGrilleType ()
 Gets grille type. More...
 
const EGrilleTypeGetGrilleType () const
 Gets grille type (const version) More...
 
TFloatVectorGetIndexes (TInt theAxisNumber)
 Gets a Table of indexes for certain axe. More...
 
const TFloatVectorGetIndexes (TInt theAxisNumber) const
 Gets a Table of indexes for certain axe(const version) More...
 
TIndexesGetMapOfIndexes ()
 Gets a map of Tables. More...
 
const TIndexesGetMapOfIndexes () const
 Gets a map of Tables (const version) More...
 
const PMeshInfoGetMeshInfo () const
 
TInt GetNbCells ()
 Return count of all points. More...
 
TInt GetNbIndexes (TInt theAxisNumber)
 Gets a number of indices per axe. More...
 
TInt GetNbNodes ()
 
TInt GetNbSubCells ()
 Return count of all cells. More...
 
TNodeCoordGetNodeCoord ()
 
const TNodeCoordGetNodeCoord () const
 Gives coordinates for mesh nodes (const version) More...
 
EEntiteMaillage GetSubEntity ()
 Return entity (eMAILLE) More...
 
EGeometrieElement GetSubGeom ()
 Return geometry of cells (calculated from mesh dimension) More...
 
virtual void SetCoordName (TInt theId, const std::string &theValue)=0
 Set name of the coordinate dimension by its order number. More...
 
virtual void SetCoordUnit (TInt theId, const std::string &theValue)=0
 Set name of unit for the coordinate dimension 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...
 
void SetFamNumNode (TInt theId, TInt theVal)
 Set number of a MED FAMILY for the mesh node with the order number. More...
 
void SetFamSubNum (TInt theId, TInt theVal)
 Set number of a MED FAMILY for theId-th sub element. More...
 
void SetGrilleStructure (TInt theAxis, TInt theNb)
 Sets the grille structure of theAxis axe to theNb. More...
 
void SetGrilleType (EGrilleType theGrilleType)
 Sets grille type. More...
 
- 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 Member Functions inherited from MED::TBase
virtual ~TBase ()
 

Public Attributes

TNodeCoord myCoord
 Contains all nodal coordinates, now used only for eGRILLE_STANDARD. More...
 
TString myCoordNames
 Contains names for the coordinate dimensions. More...
 
TString myCoordUnits
 Contains units for the coordinate dimensions. More...
 
TElemNum myFamNum
 
TElemNum myFamNumNode
 
TElemNum myFamSubNum
 
TIntVector myGrilleStructure
 Return sub entity. More...
 
EGrilleType myGrilleType
 Defines grille type (eGRILLE_CARTESIENNE,eGRILLE_POLAIRE,eGRILLE_STANDARD) More...
 
TIndexes myIndixes
 Map of index of axes and Table of indexes for certain axe, now used for eGRILLE_CARTESIENNE and eGRILLE_POLAIRE. More...
 
PMeshInfo myMeshInfo
 
- Public Attributes inherited from MED::TModeSwitchInfo
EModeSwitch myModeSwitch
 Keeps the. More...
 

Detailed Description

Define a base class which represents MED Grille (structured mesh)

Member Function Documentation

◆ GetConn()

TIntVector TGrilleInfo::GetConn ( TInt  theId,
const bool  isSub = false 
)

Gives ids of nodes for mesh cell or sub-cell by its number, array index from 0.

◆ GetCoord()

TNodeCoord TGrilleInfo::GetCoord ( TInt  theId)

Gives coordinates for mesh node by its number, array index from 0.

References MED::eGRILLE_CARTESIENNE, MED::eGRILLE_STANDARD, and MED::GetNbNodes().

◆ GetCoordName()

virtual std::string MED::TGrilleInfo::GetCoordName ( TInt  theId) const
pure virtual

Get name of the coordinate dimension by its order number.

Implemented in MED::TTGrilleInfo< eVersion >.

◆ GetCoordUnit()

virtual std::string MED::TGrilleInfo::GetCoordUnit ( TInt  theId) const
pure virtual

Get name of unit for the coordinate dimension by its order number.

Implemented in MED::TTGrilleInfo< eVersion >.

◆ GetEntity()

EEntiteMaillage TGrilleInfo::GetEntity ( )

Return geometry of subcells (calculated from mesh dimension)

References MED::eMAILLE.

Referenced by MED::V2_2::TVWrapper::GetGrilleInfo().

◆ GetFamNum()

TInt TGrilleInfo::GetFamNum ( TInt  theId) const

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

◆ GetFamNumNode()

TInt TGrilleInfo::GetFamNumNode ( TInt  theId) const

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

◆ GetFamSubNum()

TInt TGrilleInfo::GetFamSubNum ( TInt  theId) const

Get number of a MED FAMILY by order number of sub element.

◆ GetGeom()

EGeometrieElement TGrilleInfo::GetGeom ( )

Return count of all entities of <mesh dimension-1>

References MED::eHEXA8, MED::eNONE, MED::eQUAD4, and MED::eSEG2.

Referenced by MED::V2_2::TVWrapper::GetGrilleInfo().

◆ GetGrilleStructure() [1/2]

TIntVector TGrilleInfo::GetGrilleStructure ( )

Gets grille structure.

◆ GetGrilleStructure() [2/2]

const TIntVector & TGrilleInfo::GetGrilleStructure ( ) const

Gets grille structure(const version)

◆ GetGrilleType() [1/2]

EGrilleType TGrilleInfo::GetGrilleType ( )

Gets grille type.

◆ GetGrilleType() [2/2]

const EGrilleType & TGrilleInfo::GetGrilleType ( ) const

Gets grille type (const version)

◆ GetIndexes() [1/2]

TFloatVector & TGrilleInfo::GetIndexes ( TInt  theAxisNumber)

Gets a Table of indexes for certain axe.

◆ GetIndexes() [2/2]

const TFloatVector & TGrilleInfo::GetIndexes ( TInt  theAxisNumber) const

Gets a Table of indexes for certain axe(const version)

Referenced by MED::V2_2::TVWrapper::GetGrilleInfo(), and MED::V2_2::TVWrapper::SetGrilleInfo().

◆ GetMapOfIndexes() [1/2]

TIndexes & TGrilleInfo::GetMapOfIndexes ( )

Gets a map of Tables.

◆ GetMapOfIndexes() [2/2]

const TIndexes & TGrilleInfo::GetMapOfIndexes ( ) const

Gets a map of Tables (const version)

◆ GetMeshInfo()

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

◆ GetNbCells()

TInt TGrilleInfo::GetNbCells ( )

Return count of all points.

Referenced by MED::V2_2::TVWrapper::GetGrilleInfo().

◆ GetNbIndexes()

TInt TGrilleInfo::GetNbIndexes ( TInt  theAxisNumber)

Gets a number of indices per axe.

◆ GetNbNodes()

TInt TGrilleInfo::GetNbNodes ( )

◆ GetNbSubCells()

TInt TGrilleInfo::GetNbSubCells ( )

Return count of all cells.

Referenced by MED::V2_2::TVWrapper::GetGrilleInfo().

◆ GetNodeCoord() [1/2]

TNodeCoord & TGrilleInfo::GetNodeCoord ( )

◆ GetNodeCoord() [2/2]

const TNodeCoord & TGrilleInfo::GetNodeCoord ( ) const

Gives coordinates for mesh nodes (const version)

◆ GetSubEntity()

EEntiteMaillage TGrilleInfo::GetSubEntity ( )

Return entity (eMAILLE)

References MED::eARETE, and MED::eFACE.

Referenced by MED::V2_2::TVWrapper::GetGrilleInfo().

◆ GetSubGeom()

EGeometrieElement TGrilleInfo::GetSubGeom ( )

Return geometry of cells (calculated from mesh dimension)

References MED::eNONE, MED::eQUAD4, and MED::eSEG2.

Referenced by MED::V2_2::TVWrapper::GetGrilleInfo().

◆ SetCoordName()

virtual void MED::TGrilleInfo::SetCoordName ( TInt  theId,
const std::string &  theValue 
)
pure virtual

Set name of the coordinate dimension by its order number.

Implemented in MED::TTGrilleInfo< eVersion >.

◆ SetCoordUnit()

virtual void MED::TGrilleInfo::SetCoordUnit ( TInt  theId,
const std::string &  theValue 
)
pure virtual

Set name of unit for the coordinate dimension by its order number.

Implemented in MED::TTGrilleInfo< eVersion >.

◆ SetFamNum()

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

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

◆ SetFamNumNode()

void TGrilleInfo::SetFamNumNode ( TInt  theId,
TInt  theVal 
)

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

◆ SetFamSubNum()

void TGrilleInfo::SetFamSubNum ( TInt  theId,
TInt  theVal 
)

Set number of a MED FAMILY for theId-th sub element.

◆ SetGrilleStructure()

void TGrilleInfo::SetGrilleStructure ( TInt  theAxis,
TInt  theNb 
)

Sets the grille structure of theAxis axe to theNb.

Referenced by MED::V2_2::TVWrapper::GetGrilleInfo().

◆ SetGrilleType()

void TGrilleInfo::SetGrilleType ( EGrilleType  theGrilleType)

Sets grille type.

Member Data Documentation

◆ myCoord

TNodeCoord MED::TGrilleInfo::myCoord

Contains all nodal coordinates, now used only for eGRILLE_STANDARD.

Referenced by MED::V2_2::TVWrapper::GetGrilleInfo(), MED::V2_2::TVWrapper::SetGrilleInfo(), and MED::TTGrilleInfo< eVersion >::TTGrilleInfo().

◆ myCoordNames

◆ myCoordUnits

◆ myFamNum

TElemNum MED::TGrilleInfo::myFamNum

Defines sequence MED Family indexes for corresponding mesh entities

Referenced by MED::V2_2::TVWrapper::GetGrilleInfo(), and MED::TTGrilleInfo< eVersion >::TTGrilleInfo().

◆ myFamNumNode

TElemNum MED::TGrilleInfo::myFamNumNode

Defines sequence MED Family indexes for corresponding mesh nodes

Referenced by MED::V2_2::TVWrapper::GetGrilleInfo(), and MED::TTGrilleInfo< eVersion >::TTGrilleInfo().

◆ myFamSubNum

TElemNum MED::TGrilleInfo::myFamSubNum

Defines sequence MED Family indexes for sub entities

Referenced by MED::V2_2::TVWrapper::GetGrilleInfo().

◆ myGrilleStructure

TIntVector MED::TGrilleInfo::myGrilleStructure

Return sub entity.

Vector of grille structure (Example: {3,4,5}, 3 nodes in X axe, 4 nodes in Y axe, ...)

Referenced by MED::V2_2::TVWrapper::GetGrilleInfo(), MED::V2_2::TVWrapper::SetGrilleInfo(), and MED::TTGrilleInfo< eVersion >::TTGrilleInfo().

◆ myGrilleType

EGrilleType MED::TGrilleInfo::myGrilleType

Defines grille type (eGRILLE_CARTESIENNE,eGRILLE_POLAIRE,eGRILLE_STANDARD)

Referenced by MED::V2_2::TVWrapper::GetGrilleInfo(), MED::V2_2::TVWrapper::SetGrilleInfo(), and MED::TTGrilleInfo< eVersion >::TTGrilleInfo().

◆ myIndixes

TIndexes MED::TGrilleInfo::myIndixes

Map of index of axes and Table of indexes for certain axe, now used for eGRILLE_CARTESIENNE and eGRILLE_POLAIRE.

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

◆ myMeshInfo


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