23#ifndef MED_TStructures_HeaderFile
24#define MED_TStructures_HeaderFile
29#pragma warning(disable:4250)
36 template<
class TValue,
class TRepresentation>
58 operator TRepresentation ()
const
71 template<
class TVal,
class TRepresentation>
135 myDim = theInfo->GetDim();
137 myType = theInfo->GetType();
144 const std::string& theValue,
146 const std::string& theDesc):
184 myId = theInfo->GetId();
201 myAttrVal[anId] = theInfo->GetAttrVal(anId);
202 myAttrId[anId] = theInfo->GetAttrId(anId);
211 const std::string& theValue):
228 const std::string& theValue,
243 TStringSet::const_iterator anIter = theGroupNames.begin();
244 for(
TInt anId = 0; anIter != theGroupNames.end(); anIter++, anId++){
245 const std::string& aVal = *anIter;
255 for(
TInt anId = 0, anEnd = (
TInt)theAttrDescs.size(); anId < anEnd; anId++){
304 if(theInfo->IsElemNum())
310 if(theInfo->IsElemNames())
315 if(theInfo->GetNbElem()){
317 SetFamNum(anId, theInfo->GetFamNum(anId));
319 if(theInfo->IsElemNum() ==
eVRAI){
324 if(theInfo->IsElemNames() ==
eVRAI){
382 if(theFamilyNums.size())
389 for(
TInt anId = 0; anId < theNbElem; anId++){
390 const std::string& aVal = theElemNames[anId];
429 TInt aSpaceDim = theMeshInfo->GetSpaceDim();
432 for(
TInt anId = 0; anId < aSpaceDim; anId++)
436 for(
TInt anId = 0; anId < aSpaceDim; anId++)
473 (
TInt)theNodeCoords.size()/theMeshInfo->GetDim(),
482 TInt aSpaceDim = theMeshInfo->GetSpaceDim();
485 if(!theCoordNames.empty())
486 for(
TInt anId = 0; anId < aSpaceDim; anId++)
490 if(!theCoordUnits.empty())
491 for(
TInt anId = 0; anId < aSpaceDim; anId++)
535 myGeom = theInfo->GetGeom();
575 (
TInt)theIndexes.size() - 1,
601 myGeom = theInfo->GetGeom();
645 (
TInt)theIndexes.size()-1,
672 myGeom = theInfo->GetGeom();
678 for(
TInt anElemId = 0; anElemId <
myNbElem; anElemId++){
680 TCConnSlice aConnSlice2 = theInfo->GetConnSlice(anElemId);
681 for(
TInt anConnId = 0; anConnId < aConnDim; anConnId++){
682 aConnSlice[anConnId] = aConnSlice2[anConnId];
732 for(
TInt anElemId = 0; anElemId <
myNbElem; anElemId++){
734 for(
TInt anConnId = 0; anConnId < aConnDim; anConnId++){
735 aConnSlice[anConnId] = theConnectivities[anElemId*aConnDim + anConnId];
788 (
TInt)std::max(theNodes.size(),theDiameters.size() ),
829 myType = theInfo->GetType();
838 const std::string& theValue,
898 myGeom = boost::get<0>(aKey);
901 TInt aNbGauss = boost::get<1>(theInfo);
919 myDt = theInfo->GetDt();
935 const std::string& theUnitDt,
980 TInt aSize = boost::get<1>(theInfo);
987 template<
class TMeshValueType>
995 if(TCompatible* aCompatible =
dynamic_cast<TCompatible*
>(theInfo.get())){
1000 this->
myGeomSet = aCompatible->GetGeomSet();
1002 EXCEPTION(std::runtime_error,
"TTTimeStampValue::TTTimeStampValue - use incompatible arguments!");
1017 TInt aNbComp = theTimeStampInfo->myFieldInfo->myNbComp;
1019 const TGeom2Size& aGeom2Size = theTimeStampInfo->GetGeom2Size();
1020 TGeom2Size::const_iterator anIter = aGeom2Size.begin();
1021 for(; anIter != aGeom2Size.end(); anIter++){
1023 TInt aNbElem = anIter->second;
1026 MED::TGeom2Profile::const_iterator anIter = theGeom2Profile.find(aGeom);
1027 if(anIter != theGeom2Profile.end())
1028 aProfileInfo = anIter->second;
1030 if(aProfileInfo && aProfileInfo->IsPresent())
1031 aNbElem = aProfileInfo->GetSize();
1033 TInt aNbGauss = theTimeStampInfo->GetNbGauss(aGeom);
1035 this->
GetMeshValue(aGeom).Allocate(aNbElem,aNbGauss,aNbComp);
1068 this->
GetMeshValue(theGeom).Allocate(theNbElem,theNbGauss,theNbComp,theMode);
1088 myCoord = theInfo->GetNodeCoord();
1113 TInt aSpaceDim = theMeshInfo->GetSpaceDim();
1115 myCoord.resize(aSpaceDim*nnoeuds);
1130 TInt aSpaceDim = theMeshInfo->GetSpaceDim();
1147 TInt aSpaceDim = theMeshInfo->GetSpaceDim();
1157 for(
unsigned int aAxe=0;aAxe<nbNodeVec.size();aAxe++){
1158 myIndixes[aAxe].resize(nbNodeVec[aAxe]);
#define EXCEPTION(TYPE, MSG)
Definition: UNV_Utilities.hxx:160
This class intends to provide a uniform way to handle multidimensional data (const version)
Definition: MED_SliceArray.hxx:47
This class extends TCSlice functionality for non-constant case.
Definition: MED_SliceArray.hxx:138
Definition: MED_Algorithm.cxx:28
TIntVector TElemNum
Definition: MED_Structures.hxx:182
EEntiteMaillage
Definition: MED_Common.hxx:72
@ eSTRUCT_ELEMENT
Definition: MED_Common.hxx:72
std::map< EGeometrieElement, TInt > TGeom2NbGauss
Definition: MED_Structures.hxx:495
void SetString(TInt theId, TInt theStep, TString &theString, const std::string &theValue)
Set a substring in the sequence of the strings.
Definition: MED_Structures.cxx:41
TInt GetPNOMLength()
Definition: MED_Common.cxx:53
ERepere
Definition: MED_Common.hxx:60
TFloatVector TValue
Definition: MED_Structures.hxx:757
std::string GetString(TInt theId, TInt theStep, const TString &theString)
Extract a substring from the sequence of the strings.
Definition: MED_Structures.cxx:31
TFloatVector TNodeCoord
Definition: MED_Structures.hxx:236
double TFloat
Definition: MED_Common.hxx:44
EModeProfil
Definition: MED_Common.hxx:74
@ eNO_PFLMOD
Definition: MED_Common.hxx:74
EGeometrieElement
Definition: MED_Common.hxx:64
@ eBALL
Definition: MED_Common.hxx:69
EConnectivite
Definition: MED_Common.hxx:62
@ eNOD
Definition: MED_Common.hxx:62
EMaillage
Definition: MED_Common.hxx:58
EBooleen
Definition: MED_Common.hxx:43
@ eFAUX
Definition: MED_Common.hxx:43
@ eVRAI
Definition: MED_Common.hxx:43
TInt GetNbConn(EGeometrieElement typmai, EEntiteMaillage, TInt)
Definition: MED_Common.cxx:67
TInt GetLNOMLength()
Definition: MED_Common.cxx:47
TInt GetNbNodes(EGeometrieElement typmai)
Definition: MED_Common.cxx:75
std::map< EGeometrieElement, PGaussInfo > TGeom2Gauss
Definition: MED_Structures.hxx:494
med_int TInt
Definition: MED_Common.hxx:50
TInt GetNOMLength()
Definition: MED_Common.cxx:41
TVector< char > TString
Defines a type for managing sequence of strings.
Definition: MED_Structures.hxx:41
TInt GetDESCLength()
Definition: MED_Common.cxx:29
EGrilleType
Definition: MED_Common.hxx:76
@ eGRILLE_STANDARD
Definition: MED_Common.hxx:76
ETypeChamp
Definition: MED_Common.hxx:56
EModeSwitch
Definition: MED_Common.hxx:54
@ eFULL_INTERLACE
Definition: MED_Common.hxx:54
std::set< std::string > TStringSet
Definition: MED_Common.hxx:84
std::map< EGeometrieElement, TInt > TGeom2Size
Definition: MED_Common.hxx:86
std::map< EGeometrieElement, PProfileInfo > TGeom2Profile
Definition: MED_Structures.hxx:768
Definition: SMESH_MAT2d.cxx:224
Define a class representing MED_BALL structure element.
Definition: MED_Structures.hxx:346
TFloatVector myDiameters
Definition: MED_Structures.hxx:347
Define a base class which represents MED Cells entity.
Definition: MED_Structures.hxx:282
EConnectivite myConnMode
Defines connectivity mode.
Definition: MED_Structures.hxx:291
EGeometrieElement myGeom
Defines the MED Geometric type of the instance.
Definition: MED_Structures.hxx:287
EEntiteMaillage myEntity
Defines the MED Entity where the mesh cells belongs to.
Definition: MED_Structures.hxx:283
TCConnSlice GetConnSlice(TInt theElemId) const
Gives connectivities for mesh cell by its number (const version)
Definition: MED_Structures.cxx:174
PElemNum myConn
Defines sequence which describe connectivity for each of mesh cell.
Definition: MED_Structures.hxx:297
Define a parent class for all MED entities that describes mesh entities such as nodes and cells.
Definition: MED_Structures.hxx:188
PElemNum myFamNum
Get number of mesh elements.
Definition: MED_Structures.hxx:197
PMeshInfo myMeshInfo
A reference to corresponding MED Mesh.
Definition: MED_Structures.hxx:189
PString myElemNames
Contains sequence of the names for the mesh elements.
Definition: MED_Structures.hxx:226
EBooleen myIsElemNum
Defines if the mesh elements are indexed.
Definition: MED_Structures.hxx:204
PElemNum myElemNum
Contains sequence of the indexes for the mesh elements.
Definition: MED_Structures.hxx:214
EBooleen myIsElemNames
Defines if the mesh elements are named.
Definition: MED_Structures.hxx:221
void SetElemNum(TInt theId, TInt theVal)
Set a reference number for the mesh element by its order number.
Definition: MED_Structures.cxx:142
EBooleen myIsFamNum
Defines if the mesh elements family are indexed.
Definition: MED_Structures.hxx:209
TInt myNbElem
Definition: MED_Structures.hxx:193
void SetFamNum(TInt theId, TInt theVal)
Set number of a MED FAMILY for the mesh element with the order number.
Definition: MED_Structures.cxx:127
Define a base class which represents MED Family entity.
Definition: MED_Structures.hxx:135
TFamAttr myAttrId
Defines sequence of the indexes of the MED Family attributes.
Definition: MED_Structures.hxx:160
TInt myNbGroup
Define number of the MED FAMILY.
Definition: MED_Structures.hxx:144
TInt myNbAttr
Defines number of the MED Family attributes.
Definition: MED_Structures.hxx:155
TString myGroupNames
Contains sequence of the names for the MED Groups connected to.
Definition: MED_Structures.hxx:149
TInt myId
An unique index of the MED FAMILY.
Definition: MED_Structures.hxx:140
TString myAttrDesc
Defines sequence of the names of the MED Family attributes.
Definition: MED_Structures.hxx:174
PMeshInfo myMeshInfo
A reference to corresponding MED Mesh.
Definition: MED_Structures.hxx:136
TFamAttr myAttrVal
Defines sequence of the values of the MED Family attributes.
Definition: MED_Structures.hxx:167
Define a base class which represents MED Field entity.
Definition: MED_Structures.hxx:393
PMeshInfo myMeshInfo
A reference to corresponding MED Mesh.
Definition: MED_Structures.hxx:394
ETypeChamp myType
Defines type of MED Field.
Definition: MED_Structures.hxx:398
TString myUnitNames
Contains units for each of MED Field components.
Definition: MED_Structures.hxx:420
TString myCompNames
Contains names for each of MED Field components.
Definition: MED_Structures.hxx:414
TInt myNbRef
Defines number of references of the field.
Definition: MED_Structures.hxx:410
EBooleen myIsLocal
Defines if the MED Field is local.
Definition: MED_Structures.hxx:406
TInt myNbComp
Defines number of components stored in the field.
Definition: MED_Structures.hxx:402
The class represents MED Gauss entity.
Definition: MED_Structures.hxx:447
TNodeCoord myGaussCoord
Contains coordinates for the Gauss points.
Definition: MED_Structures.hxx:473
TNodeCoord myRefCoord
Contains coordinates for the referenced nodes.
Definition: MED_Structures.hxx:465
boost::tuple< TKey, TInt > TInfo
Definition: MED_Structures.hxx:449
TWeight myWeight
Contains weights for the Gauss points.
Definition: MED_Structures.hxx:481
TInt GetNbRef() const
Gives number of the referenced nodes.
Definition: MED_Structures.hxx:484
EGeometrieElement myGeom
Defines, which geometrical type the MED Gauss entity belongs to.
Definition: MED_Structures.hxx:460
TInt GetDim() const
Gives dimension of the referenced nodes.
Definition: MED_Structures.hxx:487
boost::tuple< EGeometrieElement, std::string > TKey
Definition: MED_Structures.hxx:448
Define a base class which represents MED Grille (structured mesh)
Definition: MED_Structures.hxx:978
EGrilleType myGrilleType
Defines grille type (eGRILLE_CARTESIENNE,eGRILLE_POLAIRE,eGRILLE_STANDARD)
Definition: MED_Structures.hxx:991
TString myCoordNames
Contains names for the coordinate dimensions.
Definition: MED_Structures.hxx:999
TNodeCoord myCoord
Contains all nodal coordinates, now used only for eGRILLE_STANDARD.
Definition: MED_Structures.hxx:982
PMeshInfo myMeshInfo
Definition: MED_Structures.hxx:979
TElemNum myFamNum
Defines sequence MED Family indexes for corresponding mesh entities.
Definition: MED_Structures.hxx:1046
TString myCoordUnits
Contains units for the coordinate dimensions.
Definition: MED_Structures.hxx:1005
TElemNum myFamNumNode
Defines sequence MED Family indexes for corresponding mesh nodes.
Definition: MED_Structures.hxx:1064
TIndexes myIndixes
Map of index of axes and Table of indexes for certain axe, now used for eGRILLE_CARTESIENNE and eGRIL...
Definition: MED_Structures.hxx:1012
TIntVector myGrilleStructure
Return sub entity.
Definition: MED_Structures.hxx:1035
Define a base class which represents MED Mesh entity.
Definition: MED_Structures.hxx:112
TInt mySpaceDim
Definition: MED_Structures.hxx:116
EMaillage myType
Type of the mesh.
Definition: MED_Structures.hxx:119
TString myDesc
Description of the mesh.
Definition: MED_Structures.hxx:122
TInt myDim
Dimension of the mesh (0, 1, 2 or 3)
Definition: MED_Structures.hxx:113
Define a parent class for all MED entities that contains a sequence of numbers.
Definition: MED_Structures.hxx:94
EModeSwitch myModeSwitch
Keeps the interlace mode.
Definition: MED_Structures.hxx:105
Define a parent class for all named MED entities.
Definition: MED_Structures.hxx:80
TString myName
Keeps its name.
Definition: MED_Structures.hxx:81
Define a base class which represents MED Nodes entity.
Definition: MED_Structures.hxx:246
TString myCoordUnits
Contains units for the coordinate dimensions.
Definition: MED_Structures.hxx:266
PNodeCoord myCoord
Contains all nodal coordinates.
Definition: MED_Structures.hxx:247
ERepere mySystem
Defines, which coordinate system is used.
Definition: MED_Structures.hxx:254
TString myCoordNames
Contains names for the coordinate dimensions.
Definition: MED_Structures.hxx:260
Define a base class which represents MED Polyedre entity.
Definition: MED_Structures.hxx:358
EEntiteMaillage myEntity
Defines the MED Entity where the polyedres belongs to.
Definition: MED_Structures.hxx:360
EConnectivite myConnMode
Defines connectivity mode.
Definition: MED_Structures.hxx:370
PElemNum myIndex
Table de indexes.
Definition: MED_Structures.hxx:376
PElemNum myFaces
Table de faces indexes.
Definition: MED_Structures.hxx:375
EGeometrieElement myGeom
Defines the MED Geometric type of the instance.
Definition: MED_Structures.hxx:365
PElemNum myConn
Table de connectivities.
Definition: MED_Structures.hxx:374
Define a base class which represents MED Polygon entity.
Definition: MED_Structures.hxx:309
PElemNum myIndex
Table de indexes.
Definition: MED_Structures.hxx:326
PElemNum myConn
Table de connectivities.
Definition: MED_Structures.hxx:325
EEntiteMaillage myEntity
Defines the MED Entity where the polygons belongs to.
Definition: MED_Structures.hxx:311
EGeometrieElement myGeom
Defines the MED Geometric type of the instance.
Definition: MED_Structures.hxx:316
EConnectivite myConnMode
Defines connectivity mode.
Definition: MED_Structures.hxx:321
The class represents MED Profile entity.
Definition: MED_Structures.hxx:544
boost::tuple< TKey, TInt > TInfo
Definition: MED_Structures.hxx:546
PElemNum myElemNum
Keeps sequence of cell by its number which belong to the profile.
Definition: MED_Structures.hxx:554
EModeProfil myMode
Keeps mode for the MED Profile.
Definition: MED_Structures.hxx:548
Definition: MED_TStructures.hxx:753
TTBallInfo(const PMeshInfo &theMeshInfo, const PBallInfo &theInfo)
Definition: MED_TStructures.hxx:756
TTBallInfo(const PMeshInfo &theMeshInfo, const TIntVector &theNodes, TFloatVector &theDiameters, const TIntVector &theFamilyNums, const TIntVector &theElemNums)
Definition: MED_TStructures.hxx:782
TTCellInfo TCellInfoBase
Definition: MED_TStructures.hxx:754
TTBallInfo(const PMeshInfo &theMeshInfo, TInt theNbElem, EBooleen theIsElemNum)
Definition: MED_TStructures.hxx:763
Definition: MED_TStructures.hxx:665
virtual TInt GetConnDim() const
Gives step in the connectivity sequence.
Definition: MED_TStructures.hxx:742
TTCellInfo(const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, const TIntVector &theConnectivities, EConnectivite theConnMode, const TIntVector &theFamilyNums, const TIntVector &theElemNums, const TStringVector &theElemNames, EModeSwitch theMode)
Definition: MED_TStructures.hxx:709
TTElemInfo TElemInfoBase
Definition: MED_TStructures.hxx:666
TTCellInfo(const PMeshInfo &theMeshInfo, const PCellInfo &theInfo)
Definition: MED_TStructures.hxx:668
TTCellInfo(const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TInt theNbElem, EConnectivite theConnMode, EBooleen theIsElemNum, EBooleen theIsElemNames, EModeSwitch theMode)
Definition: MED_TStructures.hxx:687
Definition: MED_TStructures.hxx:294
virtual void SetElemName(TInt theId, const std::string &theValue)
Set name of the mesh element by its order number.
Definition: MED_TStructures.hxx:406
TTElemInfo(const PMeshInfo &theMeshInfo, TInt theNbElem, EBooleen theIsElemNum, EBooleen theIsElemNames)
Definition: MED_TStructures.hxx:332
virtual std::string GetElemName(TInt theId) const
Get name of the mesh element by its order number.
Definition: MED_TStructures.hxx:399
TTElemInfo(const PMeshInfo &theMeshInfo, const PElemInfo &theInfo)
Definition: MED_TStructures.hxx:295
TTElemInfo(const PMeshInfo &theMeshInfo, TInt theNbElem, const TIntVector &theFamilyNums, const TIntVector &theElemNums, const TStringVector &theElemNames)
Definition: MED_TStructures.hxx:356
Definition: MED_TStructures.hxx:176
TTNameInfo TNameInfoBase
Definition: MED_TStructures.hxx:177
TTFamilyInfo(const PMeshInfo &theMeshInfo, const PFamilyInfo &theInfo)
Definition: MED_TStructures.hxx:179
TTFamilyInfo(const PMeshInfo &theMeshInfo, TInt theNbGroup, TInt theNbAttr, TInt theId, const std::string &theValue)
Definition: MED_TStructures.hxx:207
virtual std::string GetAttrDesc(TInt theId) const
Get value of the MED FAMILY attribute by its number.
Definition: MED_TStructures.hxx:279
virtual void SetAttrDesc(TInt theId, const std::string &theValue)
Set value of the MED FAMILY attribute by its number.
Definition: MED_TStructures.hxx:286
virtual std::string GetGroupName(TInt theId) const
Gets name of a bound MED GROUP by its number.
Definition: MED_TStructures.hxx:265
virtual void SetGroupName(TInt theId, const std::string &theValue)
Sets name of the defined MED GROUP by its number.
Definition: MED_TStructures.hxx:272
TTFamilyInfo(const PMeshInfo &theMeshInfo, const std::string &theValue, TInt theId, const TStringSet &theGroupNames, const TStringVector &theAttrDescs, const TIntVector &theAttrIds, const TIntVector &theAttrVals)
Definition: MED_TStructures.hxx:227
Definition: MED_TStructures.hxx:810
virtual std::string GetUnitName(TInt theId) const
Get unit of the component by its order number.
Definition: MED_TStructures.hxx:871
virtual void SetUnitName(TInt theId, const std::string &theValue)
Set unit for the component by its order number.
Definition: MED_TStructures.hxx:878
TTNameInfo TNameInfoBase
Definition: MED_TStructures.hxx:811
TTFieldInfo(const PMeshInfo &theMeshInfo, const PFieldInfo &theInfo)
Definition: MED_TStructures.hxx:813
TTFieldInfo(const PMeshInfo &theMeshInfo, TInt theNbComp, ETypeChamp theType, const std::string &theValue, EBooleen theIsLocal, TInt theNbRef)
Definition: MED_TStructures.hxx:835
virtual void SetCompName(TInt theId, const std::string &theValue)
Set name for the component by its order number.
Definition: MED_TStructures.hxx:864
virtual std::string GetCompName(TInt theId) const
Get name of the component by its order number.
Definition: MED_TStructures.hxx:857
Definition: MED_TStructures.hxx:888
TTGaussInfo(const TGaussInfo::TInfo &theInfo, EModeSwitch theMode)
Definition: MED_TStructures.hxx:891
TTNameInfo TNameInfoBase
Definition: MED_TStructures.hxx:889
Definition: MED_TStructures.hxx:1082
TTGrilleInfo(const PMeshInfo &theMeshInfo, const EGrilleType &type, const TInt nnoeuds)
Definition: MED_TStructures.hxx:1108
virtual std::string GetCoordUnit(TInt theId) const
Get name of unit for the coordinate dimension by its order number.
Definition: MED_TStructures.hxx:1179
TTGrilleInfo(const PMeshInfo &theMeshInfo, const PGrilleInfo &theInfo)
Definition: MED_TStructures.hxx:1083
virtual void SetCoordUnit(TInt theId, const std::string &theValue)
Set name of unit for the coordinate dimension by its order number.
Definition: MED_TStructures.hxx:1186
TTGrilleInfo(const PMeshInfo &theMeshInfo, const EGrilleType &type, const MED::TIntVector &nbNodeVec)
Definition: MED_TStructures.hxx:1141
virtual void SetCoordName(TInt theId, const std::string &theValue)
Set name of the coordinate dimension by its order number.
Definition: MED_TStructures.hxx:1172
TTGrilleInfo(const PMeshInfo &theMeshInfo, const EGrilleType &type)
Definition: MED_TStructures.hxx:1126
virtual std::string GetCoordName(TInt theId) const
Get name of the coordinate dimension by its order number.
Definition: MED_TStructures.hxx:1165
Definition: MED_TStructures.hxx:129
virtual std::string GetDesc() const
Get description for the mesh.
Definition: MED_TStructures.hxx:159
TTMeshInfo(const PMeshInfo &theInfo)
Definition: MED_TStructures.hxx:132
TTMeshInfo(TInt theDim, TInt theSpaceDim, const std::string &theValue, EMaillage theType, const std::string &theDesc)
Definition: MED_TStructures.hxx:143
TTNameInfo TNameInfoBase
Definition: MED_TStructures.hxx:130
virtual void SetDesc(const std::string &theValue)
Sets description for the mesh.
Definition: MED_TStructures.hxx:166
Definition: MED_TStructures.hxx:96
virtual void SetName(const std::string &theValue)
Set a new name.
Definition: MED_TStructures.hxx:112
TTNameInfo(const std::string &theValue)
Definition: MED_TStructures.hxx:97
virtual void SetName(const TString &theValue)
Set a new name.
Definition: MED_TStructures.hxx:119
virtual std::string GetName() const
Gets its name.
Definition: MED_TStructures.hxx:105
Definition: MED_TStructures.hxx:416
TTNodeInfo(const PMeshInfo &theMeshInfo, TInt theNbElem, EModeSwitch theMode, ERepere theSystem, EBooleen theIsElemNum, EBooleen theIsElemNames)
Definition: MED_TStructures.hxx:440
virtual void SetCoordUnit(TInt theId, const std::string &theValue)
Set name of unit for the coordinate dimension by its order number.
Definition: MED_TStructures.hxx:518
virtual std::string GetCoordName(TInt theId) const
Get name of the coordinate dimension by its order number.
Definition: MED_TStructures.hxx:497
TTNodeInfo(const PMeshInfo &theMeshInfo, const PNodeInfo &theInfo)
Definition: MED_TStructures.hxx:419
virtual std::string GetCoordUnit(TInt theId) const
Get name of unit for the coordinate dimension by its order number.
Definition: MED_TStructures.hxx:511
TTElemInfo TElemInfoBase
Definition: MED_TStructures.hxx:417
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)
Definition: MED_TStructures.hxx:462
virtual void SetCoordName(TInt theId, const std::string &theValue)
Set name of the coordinate dimension by its order number.
Definition: MED_TStructures.hxx:504
Definition: MED_TStructures.hxx:594
TTPolyedreInfo(const PMeshInfo &theMeshInfo, const PPolyedreInfo &theInfo)
Definition: MED_TStructures.hxx:597
TTPolyedreInfo(const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, const TIntVector &theIndexes, const TIntVector &theFaces, const TIntVector &theConnectivities, EConnectivite theConnMode, const TIntVector &theFamilyNums, const TIntVector &theElemNums, const TStringVector &theElemNames)
Definition: MED_TStructures.hxx:634
TTPolyedreInfo(const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TInt theNbElem, TInt theNbFaces, TInt theConnSize, EConnectivite theConnMode, EBooleen theIsElemNum, EBooleen theIsElemNames)
Definition: MED_TStructures.hxx:610
TTElemInfo TElemInfoBase
Definition: MED_TStructures.hxx:595
Definition: MED_TStructures.hxx:528
TTPolygoneInfo(const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, const TIntVector &theIndexes, const TIntVector &theConnectivities, EConnectivite theConnMode, const TIntVector &theFamilyNums, const TIntVector &theElemNums, const TStringVector &theElemNames)
Definition: MED_TStructures.hxx:565
TTElemInfo TElemInfoBase
Definition: MED_TStructures.hxx:529
TTPolygoneInfo(const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TInt theNbElem, TInt theConnSize, EConnectivite theConnMode, EBooleen theIsElemNum, EBooleen theIsElemNames)
Definition: MED_TStructures.hxx:543
TTPolygoneInfo(const PMeshInfo &theMeshInfo, const PPolygoneInfo &theInfo)
Definition: MED_TStructures.hxx:531
Definition: MED_TStructures.hxx:973
TTNameInfo TNameInfoBase
Definition: MED_TStructures.hxx:974
TTProfileInfo(const TProfileInfo::TInfo &theInfo, EModeProfil theMode)
Definition: MED_TStructures.hxx:976
Definition: MED_TStructures.hxx:909
TTTimeStampInfo(const PFieldInfo &theFieldInfo, const PTimeStampInfo &theInfo)
Definition: MED_TStructures.hxx:910
virtual std::string GetUnitDt() const
Get unit of time for the MED TimeStamp.
Definition: MED_TStructures.hxx:956
virtual void SetUnitDt(const std::string &theValue)
Set unit of time for the MED TimeStamp.
Definition: MED_TStructures.hxx:963
TTTimeStampInfo(const PFieldInfo &theFieldInfo, EEntiteMaillage theEntity, const TGeom2Size &theGeom2Size, const TGeom2NbGauss &theGeom2NbGauss, TInt theNumDt, TInt, TFloat theDt, const std::string &theUnitDt, const TGeom2Gauss &theGeom2Gauss)
Definition: MED_TStructures.hxx:928
Definition: MED_TStructures.hxx:989
TTTimeStampValue(const PTimeStampInfo &theTimeStampInfo, const PTimeStampValueBase &theInfo, ETypeChamp theTypeChamp)
Definition: MED_TStructures.hxx:990
TTTimeStampValue(const PTimeStampInfo &theTimeStampInfo, ETypeChamp theTypeChamp, const TGeom2Profile &theGeom2Profile, EModeSwitch theMode)
Definition: MED_TStructures.hxx:1005
virtual size_t GetValueSize(EGeometrieElement theGeom) const
Definition: MED_TStructures.hxx:1041
virtual size_t GetNbGauss(EGeometrieElement theGeom) const
Definition: MED_TStructures.hxx:1055
virtual unsigned char * GetValuePtr(EGeometrieElement theGeom)
Definition: MED_TStructures.hxx:1073
virtual size_t GetNbVal(EGeometrieElement theGeom) const
Definition: MED_TStructures.hxx:1048
virtual void AllocateValue(EGeometrieElement theGeom, TInt theNbElem, TInt theNbGauss, TInt theNbComp, EModeSwitch theMode=eFULL_INTERLACE)
Allocates values for the given geometry.
Definition: MED_TStructures.hxx:1062
Define a base class which represents MED TimeStamp.
Definition: MED_Structures.hxx:501
TString myUnitDt
Defines unit for the time for the MED TimeStamp.
Definition: MED_Structures.hxx:533
EEntiteMaillage myEntity
Defines the MED Entity where the MED TimeStamp belongs to.
Definition: MED_Structures.hxx:507
TGeom2Gauss myGeom2Gauss
Keeps map of MED Gauss entityes per geometric type.
Definition: MED_Structures.hxx:529
TFloat myDt
Keeps time for the MED TimeStamp.
Definition: MED_Structures.hxx:525
TInt myNumDt
Keeps number in time for the MED TimeStamp.
Definition: MED_Structures.hxx:519
TGeom2NbGauss myGeom2NbGauss
Keeps number of the Gauss Points for the MED TimeStamp.
Definition: MED_Structures.hxx:516
PFieldInfo myFieldInfo
A reference to corresponding MED Field.
Definition: MED_Structures.hxx:502
TGeom2Size myGeom2Size
Keeps map of number of cells per geometric type where the MED TimeStamp belongs to.
Definition: MED_Structures.hxx:512
TInt myNumOrd
Keeps number for the MED TimeStamp.
Definition: MED_Structures.hxx:522
TGeom2Profile myGeom2Profile
Keeps map of MED Profiles per geometric type.
Definition: MED_Structures.hxx:786
PTimeStampInfo myTimeStampInfo
A reference to corresponding MED TimeStamp.
Definition: MED_Structures.hxx:777
TGeomSet myGeomSet
Keeps set of MED EGeometrieElement which contains values for the timestamp.
Definition: MED_Structures.hxx:782
The class implements a container for MED TimeStamp values.
Definition: MED_Structures.hxx:826
const TTMeshValue & GetMeshValue(EGeometrieElement theGeom) const
Gets MED TimeStamp values for the given geometric type (const version)
Definition: MED_Structures.hxx:875
TTGeom2Value myGeom2Value
Keeps map of MED TimeStamp values per geometric type (const version)
Definition: MED_Structures.hxx:843
ETypeChamp myTypeChamp
Definition: MED_Structures.hxx:832
TVector< TVal > TValue
Definition: MED_TStructures.hxx:74
TValueHolder(TValue &theValue)
Definition: MED_TStructures.hxx:78
TValue & myValue
Definition: MED_TStructures.hxx:75
TRepresentation * myRepresentation
Definition: MED_TStructures.hxx:76
To provide a common way to handle values of MEDWrapper types as native MED types.
Definition: MED_TStructures.hxx:38
~TValueHolder()
Definition: MED_TStructures.hxx:47
TValue & myValue
Definition: MED_TStructures.hxx:39
const TValue & operator()() const
Definition: MED_TStructures.hxx:64
TRepresentation * operator&()
Definition: MED_TStructures.hxx:53
TValueHolder(TValue &theValue)
Definition: MED_TStructures.hxx:42
TRepresentation myRepresentation
Definition: MED_TStructures.hxx:40