MED.TGrilleInfo Struct Reference

Define a base class which represents MED Grille. More...

#include <MED_Structures.hxx>

Inheritance diagram for MED.TGrilleInfo:

Inheritance graph

Public Member Functions

const PMeshInfoGetMeshInfo () const
const TNodeCoordGetNodeCoord () const
 Gives coordinates for mesh nodes (const version).
TNodeCoord GetNodeCoord ()
TNodeCoord GetCoord (TInt theId)
 Gives coordinates for mesh node by its number, array index from 0.
TIntVector GetConn (TInt theId)
 Gives ids of nodes for mesh cell by its number, array index from 0.
const EGrilleTypeGetGrilleType () const
 Gets grille type (const version).
EGrilleType GetGrilleType ()
 Gets grille type.
void SetGrilleType (EGrilleType theGrilleType)
 Sets grille type.
virtual std::string GetCoordName (TInt theId) const =0
 Get name of the coordinate dimension by its order number.
virtual void SetCoordName (TInt theId, const std::string &theValue)=0
 Set name of the coordinate dimension by its order number.
virtual std::string GetCoordUnit (TInt theId) const =0
 Get name of unit for the coordinate dimension by its order number.
virtual void SetCoordUnit (TInt theId, const std::string &theValue)=0
 Set name of unit for the coordinate dimension by its order number.
const TIndexesGetMapOfIndexes () const
 Gets a map of Tables (const version).
TIndexes GetMapOfIndexes ()
 Gets a map of Tables.
const TFloatVectorGetIndexes (TInt theAxisNumber) const
 Gets a Table of indexes for certain axe(const version).
TFloatVector GetIndexes (TInt theAxisNumber)
 Gets a Table of indexes for certain axe.
TInt GetNbIndexes (TInt theAxisNumber)
 Gets a number of indices per axe.
TInt GetNbNodes ()
TInt GetNbCells ()
 Return count of all points.
EGeometrieElement GetGeom ()
 Return count of all cells.
EEntiteMaillage GetEntity ()
 Return geometry of cells (calculated from mesh dimension).
const TIntVectorGetGrilleStructure () const
 Gets grille structure(const version).
TIntVector GetGrilleStructure ()
 Gets grille structure.
void SetGrilleStructure (TInt theAxis, TInt theNb)
 Sets the grille structure of theAxis axe to theNb.
TInt GetFamNum (TInt theId) const
 Get number of a MED FAMILY by order number of the mesh element.
void SetFamNum (TInt theId, TInt theVal)
 Set number of a MED FAMILY for the mesh element with the order number.
TInt GetFamNumNode (TInt theId) const
 Get number of a MED FAMILY by order number of the mesh node.
void SetFamNumNode (TInt theId, TInt theVal)
 Set number of a MED FAMILY for the mesh node with the order number.

Data Fields

PMeshInfo myMeshInfo
TNodeCoord myCoord
 Contains all nodal coordinates, now used only for eGRILLE_STANDARD.
EGrilleType myGrilleType
 Defines grille type (eGRILLE_CARTESIENNE,eGRILLE_POLAIRE,eGRILLE_STANDARD).
TString myCoordNames
 Contains names for the coordinate dimensions.
TString myCoordUnits
 Contains units for the coordinate dimensions.
TIndexes myIndixes
 Map of index of axes and Table of indexes for certain axe, now used for eGRILLE_CARTESIENNE and eGRILLE_POLAIRE.
TIntVector myGrilleStructure
 Return entity (eMAILLE).
TElemNum myFamNum
TElemNum myFamNumNode

Detailed Description

Define a base class which represents MED Grille.


Member Function Documentation

const PMeshInfo& MED.TGrilleInfo.GetMeshInfo  )  const
 

const TNodeCoord & TGrilleInfo::GetNodeCoord  )  const
 

Gives coordinates for mesh nodes (const version).

TNodeCoord TGrilleInfo::GetNodeCoord  ) 
 

TNodeCoord TGrilleInfo::GetCoord TInt  theId  ) 
 

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

TIntVector TGrilleInfo::GetConn TInt  theId  ) 
 

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

const EGrilleType & TGrilleInfo::GetGrilleType  )  const
 

Gets grille type (const version).

EGrilleType TGrilleInfo::GetGrilleType  ) 
 

Gets grille type.

void TGrilleInfo::SetGrilleType EGrilleType  theGrilleType  ) 
 

Sets grille type.

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

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

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

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

const TIndexes & TGrilleInfo::GetMapOfIndexes  )  const
 

Gets a map of Tables (const version).

TIndexes TGrilleInfo::GetMapOfIndexes  ) 
 

Gets a map of Tables.

const TFloatVector & TGrilleInfo::GetIndexes TInt  theAxisNumber  )  const
 

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

TFloatVector TGrilleInfo::GetIndexes TInt  theAxisNumber  ) 
 

Gets a Table of indexes for certain axe.

TInt TGrilleInfo::GetNbIndexes TInt  theAxisNumber  ) 
 

Gets a number of indices per axe.

TInt TGrilleInfo::GetNbNodes  ) 
 

TInt TGrilleInfo::GetNbCells  ) 
 

Return count of all points.

EGeometrieElement TGrilleInfo::GetGeom  ) 
 

Return count of all cells.

EEntiteMaillage TGrilleInfo::GetEntity  ) 
 

Return geometry of cells (calculated from mesh dimension).

const TIntVector & TGrilleInfo::GetGrilleStructure  )  const
 

Gets grille structure(const version).

TIntVector TGrilleInfo::GetGrilleStructure  ) 
 

Gets grille structure.

void TGrilleInfo::SetGrilleStructure TInt  theAxis,
TInt  theNb
 

Sets the grille structure of theAxis axe to theNb.

TInt TGrilleInfo::GetFamNum TInt  theId  )  const
 

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

void TGrilleInfo::SetFamNum TInt  theId,
TInt  theVal
 

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

TInt TGrilleInfo::GetFamNumNode TInt  theId  )  const
 

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

void TGrilleInfo::SetFamNumNode TInt  theId,
TInt  theVal
 

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


Field Documentation

PMeshInfo MED.TGrilleInfo.myMeshInfo
 

TNodeCoord MED.TGrilleInfo.myCoord
 

Contains all nodal coordinates, now used only for eGRILLE_STANDARD.

EGrilleType MED.TGrilleInfo.myGrilleType
 

Defines grille type (eGRILLE_CARTESIENNE,eGRILLE_POLAIRE,eGRILLE_STANDARD).

TString MED.TGrilleInfo.myCoordNames
 

Contains names for the coordinate dimensions.

TString MED.TGrilleInfo.myCoordUnits
 

Contains units for the coordinate dimensions.

TIndexes MED.TGrilleInfo.myIndixes
 

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

TIntVector MED.TGrilleInfo.myGrilleStructure
 

Return entity (eMAILLE).

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

TElemNum MED.TGrilleInfo.myFamNum
 

Defines sequence MED Family indexes for corresponding mesh entites

TElemNum MED.TGrilleInfo.myFamNumNode
 

Defines sequence MED Family indexes for corresponding mesh nodes