The class is a helper one. It provide safe and flexible way to get access to values for a MED TimeStamp. More...
#include <MED_Structures.hxx>
Public Types | |
typedef TCSlice< TElement > | TCValueSlice |
typedef TVector< TCValueSlice > | TCValueSliceArr |
typedef TValueType::value_type | TElement |
typedef TValueType | TValue |
typedef TSlice< TElement > | TValueSlice |
typedef TVector< TValueSlice > | TValueSliceArr |
Public Member Functions | |
void | Allocate (TInt theNbElem, TInt theNbGauss, TInt theNbComp, EModeSwitch theMode=eFULL_INTERLACE) |
Initialize the class. More... | |
TValueSliceArr | GetCompValueSliceArr (TInt theElemId) |
Iteration through components by corresponding Gauss Points. More... | |
TCValueSliceArr | GetCompValueSliceArr (TInt theElemId) const |
Iteration through components by corresponding Gauss Points. More... | |
TValueSliceArr | GetGaussValueSliceArr (TInt theElemId) |
Iteration through Gauss Points by their components. More... | |
TCValueSliceArr | GetGaussValueSliceArr (TInt theElemId) const |
Iteration through Gauss Points by their components. More... | |
virtual TElement * | GetPointer () |
Returns bare pointer on the internal value representation. More... | |
virtual const TElement * | GetPointer () const |
Returns bare pointer on the internal value representation. More... | |
virtual unsigned char * | GetValuePtr () |
Returns bare pointer on the internal value representation. More... | |
Public Member Functions inherited from MED::TMeshValueBase | |
void | Allocate (TInt theNbElem, TInt theNbGauss, TInt theNbComp, EModeSwitch theMode=eFULL_INTERLACE) |
Initialize the class. More... | |
size_t | GetNbGauss () const |
Returns number of Gauss Points bounded with the value. More... | |
size_t | GetNbVal () const |
Returns MED interpetation of the value size. More... | |
size_t | GetSize () const |
Returns size of the value container. More... | |
size_t | GetStep () const |
Returns step inside of the data array. More... | |
TMeshValueBase () | |
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 | |
TValue | myValue |
Public Attributes inherited from MED::TMeshValueBase | |
TInt | myNbComp |
TInt | myNbElem |
TInt | myNbGauss |
TInt | myStep |
Public Attributes inherited from MED::TModeSwitchInfo | |
EModeSwitch | myModeSwitch |
Keeps the. More... | |
Detailed Description
template<class TValueType>
struct MED::TTMeshValue< TValueType >
The class is a helper one. It provide safe and flexible way to get access to values for a MED TimeStamp.
Member Typedef Documentation
◆ TCValueSlice
typedef TCSlice<TElement> MED::TTMeshValue< TValueType >::TCValueSlice |
◆ TCValueSliceArr
typedef TVector<TCValueSlice> MED::TTMeshValue< TValueType >::TCValueSliceArr |
◆ TElement
typedef TValueType::value_type MED::TTMeshValue< TValueType >::TElement |
◆ TValue
typedef TValueType MED::TTMeshValue< TValueType >::TValue |
◆ TValueSlice
typedef TSlice<TElement> MED::TTMeshValue< TValueType >::TValueSlice |
◆ TValueSliceArr
typedef TVector<TValueSlice> MED::TTMeshValue< TValueType >::TValueSliceArr |
Member Function Documentation
◆ Allocate()
void MED::TTMeshValue< TValueType >::Allocate | ( | TInt | theNbElem, |
TInt | theNbGauss, | ||
TInt | theNbComp, | ||
EModeSwitch | theMode = eFULL_INTERLACE |
||
) |
Initialize the class.
References MED::TMeshValueBase::Allocate(), MED::TMeshValueBase::GetStep(), and MED::TTMeshValue< TValueType >::myValue.
◆ GetCompValueSliceArr() [1/2]
TValueSliceArr MED::TTMeshValue< TValueType >::GetCompValueSliceArr | ( | TInt | theElemId | ) |
Iteration through components by corresponding Gauss Points.
References MED::eFULL_INTERLACE, MED::TModeSwitchInfo::GetModeSwitch(), MED::TMeshValueBase::myNbComp, MED::TMeshValueBase::myNbGauss, MED::TMeshValueBase::myStep, and MED::TTMeshValue< TValueType >::myValue.
◆ GetCompValueSliceArr() [2/2]
TCValueSliceArr MED::TTMeshValue< TValueType >::GetCompValueSliceArr | ( | TInt | theElemId | ) | const |
Iteration through components by corresponding Gauss Points.
References MED::eFULL_INTERLACE, MED::TModeSwitchInfo::GetModeSwitch(), MED::TMeshValueBase::myNbComp, MED::TMeshValueBase::myNbGauss, MED::TMeshValueBase::myStep, and MED::TTMeshValue< TValueType >::myValue.
◆ GetGaussValueSliceArr() [1/2]
TValueSliceArr MED::TTMeshValue< TValueType >::GetGaussValueSliceArr | ( | TInt | theElemId | ) |
Iteration through Gauss Points by their components.
References MED::eFULL_INTERLACE, MED::TModeSwitchInfo::GetModeSwitch(), MED::TMeshValueBase::myNbComp, MED::TMeshValueBase::myNbGauss, MED::TMeshValueBase::myStep, and MED::TTMeshValue< TValueType >::myValue.
◆ GetGaussValueSliceArr() [2/2]
TCValueSliceArr MED::TTMeshValue< TValueType >::GetGaussValueSliceArr | ( | TInt | theElemId | ) | const |
Iteration through Gauss Points by their components.
References MED::eFULL_INTERLACE, MED::TModeSwitchInfo::GetModeSwitch(), MED::TMeshValueBase::myNbComp, MED::TMeshValueBase::myNbGauss, MED::TMeshValueBase::myStep, and MED::TTMeshValue< TValueType >::myValue.
◆ GetPointer() [1/2]
|
virtual |
Returns bare pointer on the internal value representation.
References MED::TTMeshValue< TValueType >::myValue.
◆ GetPointer() [2/2]
|
virtual |
Returns bare pointer on the internal value representation.
References MED::TTMeshValue< TValueType >::myValue.
◆ GetValuePtr()
|
virtual |
Returns bare pointer on the internal value representation.
Implements MED::TMeshValueBase.
Member Data Documentation
◆ myValue
TValue MED::TTMeshValue< TValueType >::myValue |
The documentation for this struct was generated from the following file:
- src/3rdParty/salomesmesh/inc/MED_Structures.hxx