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 TValueType | TValue |
typedef TValueType::value_type | TElement |
typedef TSlice< TElement > | TValueSlice |
typedef TCSlice< TElement > | TCValueSlice |
typedef TVector< TCValueSlice > | TCValueSliceArr |
typedef TVector< TValueSlice > | TValueSliceArr |
Public Member Functions | |
void | Allocate (TInt theNbElem, TInt theNbGauss, TInt theNbComp, EModeSwitch theMode=eFULL_INTERLACE) |
Initialize the class. More... | |
virtual unsigned char * | GetValuePtr () |
Returns bare pointer on the internal value representation. 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... | |
TCValueSliceArr | GetGaussValueSliceArr (TInt theElemId) const |
Iteration through Gauss Points by their components. More... | |
TValueSliceArr | GetGaussValueSliceArr (TInt theElemId) |
Iteration through Gauss Points by their components. More... | |
TCValueSliceArr | GetCompValueSliceArr (TInt theElemId) const |
Iteration through components by corresponding Gauss Points. More... | |
TValueSliceArr | GetCompValueSliceArr (TInt theElemId) |
Iteration through components by corresponding Gauss Points. More... | |
size_t | GetSize () const |
Returns size of the value container. More... | |
size_t | GetNbVal () const |
Returns MED interpetation of the value size. More... | |
size_t | GetNbGauss () const |
Returns number of Gauss Points bounded with the value. More... | |
size_t | GetStep () const |
Returns step inside of the data array. More... | |
EModeSwitch | GetModeSwitch () const |
Data Fields | |
TValue | myValue |
TInt | myNbElem |
TInt | myNbComp |
TInt | myNbGauss |
TInt | myStep |
EModeSwitch | myModeSwitch |
Keeps the. More... | |
The class is a helper one. It provide safe and flexible way to get access to values for a MED TimeStamp.
typedef TCSlice<TElement> MED::TTMeshValue< TValueType >::TCValueSlice |
typedef TVector<TCValueSlice> MED::TTMeshValue< TValueType >::TCValueSliceArr |
typedef TValueType::value_type MED::TTMeshValue< TValueType >::TElement |
typedef TValueType MED::TTMeshValue< TValueType >::TValue |
typedef TSlice<TElement> MED::TTMeshValue< TValueType >::TValueSlice |
typedef TVector<TValueSlice> MED::TTMeshValue< TValueType >::TValueSliceArr |
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.
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.
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.
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.
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.
|
inherited |
|
inherited |
Returns number of Gauss Points bounded with the value.
|
inherited |
Returns MED interpetation of the value size.
|
virtual |
Returns bare pointer on the internal value representation.
References MED::TTMeshValue< TValueType >::myValue.
|
virtual |
Returns bare pointer on the internal value representation.
References MED::TTMeshValue< TValueType >::myValue.
|
inherited |
Returns size of the value container.
|
inherited |
Returns step inside of the data array.
Referenced by MED::TTMeshValue< TValueType >::Allocate().
|
virtual |
Returns bare pointer on the internal value representation.
Implements MED::TMeshValueBase.
References MED::TTMeshValue< TValueType >::myValue.
|
inherited |
Keeps the.
Referenced by MED::V2_2::TVWrapper::GetCellInfo(), MED::V2_2::TVWrapper::GetGaussInfo(), MED::V2_2::TVWrapper::GetGrilleInfo(), MED::V2_2::TVWrapper::GetNodeInfo(), MED::V2_2::TVWrapper::SetCellInfo(), MED::V2_2::TVWrapper::SetGrilleInfo(), MED::V2_2::TVWrapper::SetNodeInfo(), and MED::TTNodeInfo< eVersion >::TTNodeInfo().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
TValue MED::TTMeshValue< TValueType >::myValue |