Version: 9.12.0
MED::TTNodeInfo Struct Referenceabstract

#include <MED_TStructures.hxx>

Inheritance diagram for MED::TTNodeInfo:

Public Types

typedef TTElemInfo TElemInfoBase
 

Public Member Functions

 TTNodeInfo (const PMeshInfo &theMeshInfo, const PNodeInfo &theInfo)
 
 TTNodeInfo (const PMeshInfo &theMeshInfo, TInt theNbElem, EModeSwitch theMode, ERepere theSystem, EBooleen theIsElemNum, EBooleen theIsElemNames)
 
 TTNodeInfo (const PMeshInfo &theMeshInfo, const TFloatVector &theNodeCoords, EModeSwitch theMode, ERepere theSystem, const TStringVector &theCoordNames, const TStringVector &theCoordUnits, const TIntVector &theFamilyNums, const TIntVector &theElemNums, const TStringVector &theElemNames)
 
virtual std::string GetCoordName (TInt theId) const
 Get name of the coordinate dimension by its order number. More...
 
virtual void SetCoordName (TInt theId, const std::string &theValue)
 Set name of the coordinate dimension by its order number. More...
 
virtual std::string GetCoordUnit (TInt theId) const
 Get name of unit for the coordinate dimension by its order number. More...
 
virtual void SetCoordUnit (TInt theId, const std::string &theValue)
 Set name of unit for the coordinate dimension by its order number. More...
 
TCCoordSlice GetCoordSlice (TInt theId) const
 Gives coordinates for mesh node by its number (const version) More...
 
TCoordSlice GetCoordSlice (TInt theId)
 Gives coordinates for mesh node by its number. More...
 
ERepere GetSystem () const
 Get which coordinate system is used for the node describing. More...
 
void SetSystem (ERepere theSystem)
 Set coordinate system to be used for the node describing. 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...
 
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

PNodeCoord myCoord
 Contains all nodal coordinates. More...
 
ERepere mySystem
 Defines, which coordinate system is used. More...
 
TString myCoordNames
 Contains names for the coordinate dimensions. More...
 
TString myCoordUnits
 Contains units for the coordinate dimensions. 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...
 
EModeSwitch myModeSwitch
 Keeps the interlace mode. More...
 

Member Typedef Documentation

◆ TElemInfoBase

Constructor & Destructor Documentation

◆ TTNodeInfo() [1/3]

◆ TTNodeInfo() [2/3]

MED::TTNodeInfo::TTNodeInfo ( const PMeshInfo theMeshInfo,
TInt  theNbElem,
EModeSwitch  theMode,
ERepere  theSystem,
EBooleen  theIsElemNum,
EBooleen  theIsElemNames 
)

◆ TTNodeInfo() [3/3]

MED::TTNodeInfo::TTNodeInfo ( const PMeshInfo theMeshInfo,
const TFloatVector theNodeCoords,
EModeSwitch  theMode,
ERepere  theSystem,
const TStringVector theCoordNames,
const TStringVector theCoordUnits,
const TIntVector theFamilyNums,
const TIntVector theElemNums,
const TStringVector theElemNames 
)

Member Function Documentation

◆ GetCoordName()

virtual std::string MED::TTNodeInfo::GetCoordName ( TInt  theId) const
virtual

Get name of the coordinate dimension by its order number.

Implements MED::TNodeInfo.

References MED::GetPNOMLength(), MED::GetString(), and MED::TNodeInfo::myCoordNames.

◆ GetCoordSlice() [1/2]

TCoordSlice MED::TNodeInfo::GetCoordSlice ( TInt  theId)
inherited

Gives coordinates for mesh node by its number.

References MED::eFULL_INTERLACE.

◆ GetCoordSlice() [2/2]

TCCoordSlice MED::TNodeInfo::GetCoordSlice ( TInt  theId) const
inherited

Gives coordinates for mesh node by its number (const version)

References MED::eFULL_INTERLACE.

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

◆ GetCoordUnit()

virtual std::string MED::TTNodeInfo::GetCoordUnit ( TInt  theId) const
virtual

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

Implements MED::TNodeInfo.

References MED::GetPNOMLength(), MED::GetString(), and MED::TNodeInfo::myCoordUnits.

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

◆ GetFamNum()

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

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

◆ GetMeshInfo()

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

Get a reference to corresponding MED Mesh.

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

◆ GetModeSwitch()

EModeSwitch MED::TModeSwitchInfo::GetModeSwitch ( ) const
inherited

◆ GetNbElem()

TInt MED::TElemInfo::GetNbElem ( ) const
inherited

◆ GetSystem()

ERepere MED::TNodeInfo::GetSystem ( ) const
inherited

Get which coordinate system is used for the node describing.

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

◆ SetCoordName()

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

Set name of the coordinate dimension by its order number.

Implements MED::TNodeInfo.

References MED::GetPNOMLength(), MED::TNodeInfo::myCoordNames, and MED::SetString().

Referenced by TTNodeInfo().

◆ SetCoordUnit()

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

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

Implements MED::TNodeInfo.

References MED::GetPNOMLength(), MED::TNodeInfo::myCoordUnits, and MED::SetString().

Referenced by TTNodeInfo().

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

◆ SetSystem()

void MED::TNodeInfo::SetSystem ( ERepere  theSystem)
inherited

Set coordinate system to be used for the node describing.

Field Documentation

◆ myCoord

PNodeCoord MED::TNodeInfo::myCoord
inherited

Contains all nodal coordinates.

Referenced by MED::TWrapper::GetNodeInfo(), MED::TWrapper::SetNodeInfo(), and TTNodeInfo().

◆ myCoordNames

TString MED::TNodeInfo::myCoordNames
inherited

Contains names for the coordinate dimensions.

Referenced by GetCoordName(), MED::TWrapper::GetNodeInfo(), SetCoordName(), MED::TWrapper::SetNodeInfo(), and TTNodeInfo().

◆ myCoordUnits

TString MED::TNodeInfo::myCoordUnits
inherited

Contains units for the coordinate dimensions.

Referenced by GetCoordUnit(), MED::TWrapper::GetNodeInfo(), SetCoordUnit(), MED::TWrapper::SetNodeInfo(), and TTNodeInfo().

◆ myElemNames

◆ myElemNum

◆ myFamNum

PElemNum MED::TElemInfo::myFamNum
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

◆ myModeSwitch

◆ myNbElem

◆ mySystem

ERepere MED::TNodeInfo::mySystem
inherited

Defines, which coordinate system is used.

Referenced by MED::TWrapper::GetNodeInfo(), MED::TWrapper::SetNodeInfo(), and TTNodeInfo().