Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MEDCoupling::MEDFileFieldMultiTSWithoutSDA Class Reference
Inheritance diagram for MEDCoupling::MEDFileFieldMultiTSWithoutSDA:
Collaboration diagram for MEDCoupling::MEDFileFieldMultiTSWithoutSDA:

Public Member Functions

MEDFileIntFieldMultiTSWithoutSDAconvertToInt () const
 
MEDFileAnyTypeFieldMultiTSWithoutSDAcreateNew () const
 
std::vector< std::vector
< DataArrayDouble * > > 
getFieldSplitedByType2 (int iteration, int order, const std::string &mname, std::vector< INTERP_KERNEL::NormalizedCellType > &types, std::vector< std::vector< TypeOfField > > &typesF, std::vector< std::vector< std::string > > &pfls, std::vector< std::vector< std::string > > &locs) const
 
const char * getTypeStr () const
 
 MEDFileFieldMultiTSWithoutSDA (med_idt fid, int fieldId, bool loadAll, const MEDFileMeshes *ms, const MEDFileEntities *entities)
 
 MEDFileFieldMultiTSWithoutSDA ()
 
MEDFileAnyTypeFieldMultiTSWithoutSDAshallowCpy () const
 
- Public Member Functions inherited from MEDCoupling::MEDFileAnyTypeFieldMultiTSWithoutSDA
void accept (MEDFileFieldVisitor &visitor) const
 
void appendFieldNoProfileSBT (const MEDCouplingFieldDouble *field, const DataArray *arr, MEDFileFieldGlobsReal &glob)
 
void appendFieldProfile (const MEDCouplingFieldDouble *field, const DataArray *arr, const MEDFileMesh *mesh, int meshDimRelToMax, const DataArrayInt *profile, MEDFileFieldGlobsReal &glob)
 
MEDFileAnyTypeFieldMultiTSWithoutSDAbuildFromTimeStepIds (const int *startIds, const int *endIds) const
 
MEDFileAnyTypeFieldMultiTSWithoutSDAbuildFromTimeStepIds2 (int bg, int end, int step) const
 
void changeLocsRefsNamesGen2 (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif)
 
bool changeMeshNames (const std::vector< std::pair< std::string, std::string > > &modifTab)
 
void changePflsRefsNamesGen2 (const std::vector< std::pair< std::vector< std::string >, std::string > > &mapOfModif)
 
virtual
MEDFileAnyTypeFieldMultiTSWithoutSDA
deepCopy () const
 
void eraseEmptyTS ()
 
void eraseTimeStepIds (const int *startIds, const int *endIds)
 
void eraseTimeStepIds2 (int bg, int end, int step)
 
std::vector< const
BigMemoryObject * > 
getDirectChildrenWithNull () const
 
std::vector< std::vector
< std::pair< int, int > > > 
getFieldSplitedByType (int iteration, int order, const std::string &mname, std::vector< INTERP_KERNEL::NormalizedCellType > &types, std::vector< std::vector< TypeOfField > > &typesF, std::vector< std::vector< std::string > > &pfls, std::vector< std::vector< std::string > > &locs) const
 
std::size_t getHeapMemorySizeWithoutChildren () const
 
const std::vector< std::string > & getInfo () const
 
std::vector< std::pair< int,
int > > 
getIterations () const
 
std::vector< std::string > getLocsReallyUsed2 () const
 
std::vector< std::string > getLocsReallyUsedMulti2 () const
 
void getMeshSENames (std::vector< std::pair< std::string, std::string > > &ps) const
 
int getNonEmptyLevels (int iteration, int order, const std::string &mname, std::vector< int > &levs) const
 
int getNumberOfTS () const
 
std::vector< std::string > getPflsReallyUsed2 () const
 
std::vector< std::string > getPflsReallyUsedMulti2 () const
 
int getPosGivenTime (double time, double eps=1e-8) const
 
int getPosOfTimeStep (int iteration, int order) const
 
const
MEDFileAnyTypeField1TSWithoutSDA
getTimeStepAtPos2 (int pos) const
 
MEDFileAnyTypeField1TSWithoutSDAgetTimeStepAtPos2 (int pos)
 
const
MEDFileAnyTypeField1TSWithoutSDA
getTimeStepEntry (int iteration, int order) const
 
MEDFileAnyTypeField1TSWithoutSDAgetTimeStepEntry (int iteration, int order)
 
int getTimeStepPos (int iteration, int order) const
 
std::vector< std::pair< int,
int > > 
getTimeSteps (std::vector< double > &ret1) const
 
std::vector< std::vector
< TypeOfField > > 
getTypesOfFieldAvailable () const
 
DataArraygetUndergroundDataArray (int iteration, int order) const
 
DataArraygetUndergroundDataArrayExt (int iteration, int order, std::vector< std::pair< std::pair< INTERP_KERNEL::NormalizedCellType, int >, std::pair< int, int > > > &entries) const
 
void keepOnlyOnSE (const std::string &seName)
 
void keepOnlyStructureElements ()
 
void killStructureElements ()
 
void loadBigArraysRecursively (med_idt fid, const MEDFileFieldNameScope &nasc)
 
void loadBigArraysRecursivelyIfNecessary (med_idt fid, const MEDFileFieldNameScope &nasc)
 
void loadStructureOrStructureAndBigArraysRecursively (med_idt fid, int nbPdt, med_field_type fieldTyp, bool loadAll, const MEDFileMeshes *ms, const MEDFileEntities *entities)
 
bool onlyStructureElements () const
 
MEDFileAnyTypeFieldMultiTSWithoutSDApartOfThisLyingOnSpecifiedTimeSteps (const std::vector< std::pair< int, int > > &timeSteps) const
 
MEDFileAnyTypeFieldMultiTSWithoutSDApartOfThisNotLyingOnSpecifiedTimeSteps (const std::vector< std::pair< int, int > > &timeSteps) const
 
bool presenceOfMultiDiscPerGeoType () const
 
bool presenceOfStructureElements () const
 
void pushBackTimeStep (MCAuto< MEDFileAnyTypeField1TSWithoutSDA > &tse)
 
bool renumberEntitiesLyingOnMesh (const std::string &meshName, const std::vector< int > &oldCode, const std::vector< int > &newCode, const DataArrayInt *renumO2N, MEDFileFieldGlobsReal &glob)
 
void setInfo (const std::vector< std::string > &info)
 
void setIteration (int i, MCAuto< MEDFileAnyTypeField1TSWithoutSDA > ts)
 
void simpleRepr (int bkOffset, std::ostream &oss, int fmtsId) const
 
virtual std::vector< MCAuto
< MEDFileAnyTypeFieldMultiTSWithoutSDA > > 
splitComponents () const
 
virtual std::vector< MCAuto
< MEDFileAnyTypeFieldMultiTSWithoutSDA > > 
splitDiscretizations () const
 
virtual std::vector< MCAuto
< MEDFileAnyTypeFieldMultiTSWithoutSDA > > 
splitMultiDiscrPerGeoTypes () const
 
void synchronizeNameScope ()
 
void unloadArrays ()
 
void writeLL (med_idt fid, const MEDFileWritable &opts) const
 
- Public Member Functions inherited from MEDCoupling::MEDFileFieldNameScope
void copyNameScope (const MEDFileFieldNameScope &other)
 
std::string getDtUnit () const
 
std::string getMeshName () const
 
std::string getName () const
 
 MEDFileFieldNameScope ()
 
 MEDFileFieldNameScope (const std::string &fieldName, const std::string &meshName)
 
void setDtUnit (const std::string &dtUnit)
 
void setMeshName (const std::string &meshName)
 
void setName (const std::string &fieldName)
 

Static Public Member Functions

static
MEDFileFieldMultiTSWithoutSDA
New (med_idt fid, const std::string &fieldName, const std::string &meshName, med_field_type fieldTyp, const std::vector< std::string > &infos, int nbOfStep, const std::string &dtunit, bool loadAll, const MEDFileMeshes *ms, const MEDFileEntities *entities)
 

Protected Member Functions

void checkCoherencyOfType (const MEDFileAnyTypeField1TSWithoutSDA *f1ts) const
 
MEDFileAnyTypeField1TSWithoutSDAcreateNew1TSWithoutSDAEmptyInstance () const
 
med_field_type getMEDFileFieldType () const
 
 MEDFileFieldMultiTSWithoutSDA (const std::string &fieldName, const std::string &meshName)
 
 MEDFileFieldMultiTSWithoutSDA (med_idt fid, const std::string &fieldName, const std::string &meshName, med_field_type fieldTyp, const std::vector< std::string > &infos, int nbOfStep, const std::string &dtunit, bool loadAll, const MEDFileMeshes *ms, const MEDFileEntities *entities)
 
- Protected Member Functions inherited from MEDCoupling::MEDFileAnyTypeFieldMultiTSWithoutSDA
void checkCoherencyOfTinyInfo (const MEDCouplingFieldDouble *field, const DataArray *arr) const
 
void checkThatComponentsMatch (const std::vector< std::string > &compos) const
 
void checkThatNbOfCompoOfTSMatchThis () const
 
void copyTinyInfoFrom (const MEDCouplingFieldDouble *field, const DataArray *arr)
 
 MEDFileAnyTypeFieldMultiTSWithoutSDA ()
 
 MEDFileAnyTypeFieldMultiTSWithoutSDA (const std::string &fieldName, const std::string &meshName)
 
 MEDFileAnyTypeFieldMultiTSWithoutSDA (med_idt fid, int fieldId, bool loadAll, const MEDFileMeshes *ms, const MEDFileEntities *entities)
 
 MEDFileAnyTypeFieldMultiTSWithoutSDA (med_idt fid, const std::string &fieldName, const std::string &meshName, med_field_type fieldTyp, const std::vector< std::string > &infos, int nbOfStep, const std::string &dtunit, bool loadAll, const MEDFileMeshes *ms, const MEDFileEntities *entities)
 
- Protected Member Functions inherited from MEDCoupling::RefCountObject
 RefCountObject ()
 
 RefCountObject (const RefCountObject &other)
 
virtual ~RefCountObject ()
 
- Protected Member Functions inherited from MEDCoupling::RefCountObjectOnly
 RefCountObjectOnly ()
 
 RefCountObjectOnly (const RefCountObjectOnly &other)
 
virtual ~RefCountObjectOnly ()
 

Additional Inherited Members

- Protected Attributes inherited from MEDCoupling::MEDFileAnyTypeFieldMultiTSWithoutSDA
std::vector< std::string > _infos
 
std::vector< MCAuto
< MEDFileAnyTypeField1TSWithoutSDA > > 
_time_steps
 

Constructor & Destructor Documentation

MEDFileFieldMultiTSWithoutSDA::MEDFileFieldMultiTSWithoutSDA ( med_idt  fid,
int  fieldId,
bool  loadAll,
const MEDFileMeshes ms,
const MEDFileEntities *  entities 
)
Parameters
[in]fieldIdfield id in C mode
MEDFileFieldMultiTSWithoutSDA::MEDFileFieldMultiTSWithoutSDA ( const std::string &  fieldName,
const std::string &  meshName 
)
protected
MEDFileFieldMultiTSWithoutSDA::MEDFileFieldMultiTSWithoutSDA ( med_idt  fid,
const std::string &  fieldName,
const std::string &  meshName,
med_field_type  fieldTyp,
const std::vector< std::string > &  infos,
int  nbOfStep,
const std::string &  dtunit,
bool  loadAll,
const MEDFileMeshes ms,
const MEDFileEntities *  entities 
)
protected
MEDFileFieldMultiTSWithoutSDA::MEDFileFieldMultiTSWithoutSDA ( )

Referenced by createNew(), New(), and shallowCpy().

Member Function Documentation

MEDFileFieldMultiTSWithoutSDA * MEDFileFieldMultiTSWithoutSDA::New ( med_idt  fid,
const std::string &  fieldName,
const std::string &  meshName,
med_field_type  fieldTyp,
const std::vector< std::string > &  infos,
int  nbOfStep,
const std::string &  dtunit,
bool  loadAll,
const MEDFileMeshes ms,
const MEDFileEntities *  entities 
)
static
const char * MEDFileFieldMultiTSWithoutSDA::getTypeStr ( ) const
virtual
MEDFileAnyTypeFieldMultiTSWithoutSDA * MEDFileFieldMultiTSWithoutSDA::shallowCpy ( ) const
virtual
MEDFileAnyTypeFieldMultiTSWithoutSDA * MEDFileFieldMultiTSWithoutSDA::createNew ( ) const
virtual
std::vector< std::vector< DataArrayDouble * > > MEDFileFieldMultiTSWithoutSDA::getFieldSplitedByType2 ( int  iteration,
int  order,
const std::string &  mname,
std::vector< INTERP_KERNEL::NormalizedCellType > &  types,
std::vector< std::vector< TypeOfField > > &  typesF,
std::vector< std::vector< std::string > > &  pfls,
std::vector< std::vector< std::string > > &  locs 
) const

entry point for users that want to iterate into MEDFile DataStructure with a reduced overhead because output arrays are extracted (created) specially for the call of this method. That's why the DataArrayDouble instance in returned vector of vector should be dealed by the caller.

References MEDCoupling::MEDFileField1TSWithoutSDA::getFieldSplitedByType2(), and MEDCoupling::MEDFileAnyTypeFieldMultiTSWithoutSDA::getTimeStepEntry().

Referenced by MEDCoupling::MEDFileFieldMultiTS::getFieldSplitedByType2().

med_field_type MEDCoupling::MEDFileFieldMultiTSWithoutSDA::getMEDFileFieldType ( ) const
protectedvirtual
MEDFileAnyTypeField1TSWithoutSDA * MEDFileFieldMultiTSWithoutSDA::createNew1TSWithoutSDAEmptyInstance ( ) const
protectedvirtual
void MEDFileFieldMultiTSWithoutSDA::checkCoherencyOfType ( const MEDFileAnyTypeField1TSWithoutSDA f1ts) const
protectedvirtual