Version: 9.12.0
MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T > Class Template Reference
Inheritance diagram for MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T >:
Collaboration diagram for MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T >:

Public Member Functions

MEDFileAnyTypeFieldMultiTSWithoutSDAcreateNew () const
 
MEDFileAnyTypeField1TSWithoutSDAcreateNew1TSWithoutSDAEmptyInstance () const
 
std::string getClassName () const override
 
const char * getTypeStr () 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 DataArrayIdType *profile, MEDFileFieldGlobsReal &glob, bool smartPflKiller)
 
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 MCAuto< MEDFileAnyTypeFieldMultiTScreateNewWithSDA () const =0
 
virtual MEDFileAnyTypeFieldMultiTSWithoutSDAdeepCopy () 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< mcIdType, mcIdType > > > 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
 
MEDFileAnyTypeField1TSWithoutSDAgetTimeStepAtPos2 (int pos)
 
const MEDFileAnyTypeField1TSWithoutSDAgetTimeStepAtPos2 (int pos) const
 
MEDFileAnyTypeField1TSWithoutSDAgetTimeStepEntry (int iteration, int order)
 
const MEDFileAnyTypeField1TSWithoutSDAgetTimeStepEntry (int iteration, int order) const
 
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< mcIdType, mcIdType > > > &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< mcIdType > &oldCode, const std::vector< mcIdType > &newCode, const DataArrayIdType *renumO2N, MEDFileFieldGlobsReal &glob)
 
void setInfo (const std::vector< std::string > &info)
 
void setIteration (int i, MCAuto< MEDFileAnyTypeField1TSWithoutSDA > ts)
 
virtual MEDFileAnyTypeFieldMultiTSWithoutSDAshallowCpy () const =0
 
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::RefCountObjectOnly
bool decrRef () const
 
int getRCValue () const
 
void incrRef () const
 
RefCountObjectOnlyoperator= (const RefCountObjectOnly &other)
 
- Public Member Functions inherited from MEDCoupling::BigMemoryObject
std::string debugHeapMemorySize () const
 
std::vector< const BigMemoryObject * > getAllTheProgeny () const
 
std::vector< const BigMemoryObject * > getDirectChildren () const
 
std::size_t getHeapMemorySize () const
 
std::string getHeapMemorySizeStr () const
 
bool isObjectInTheProgeny (const BigMemoryObject *obj) const
 
virtual ~BigMemoryObject ()
 
- 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 MLFieldTraits< T >::FMTSWSDAType * 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 Public Member Functions inherited from MEDCoupling::BigMemoryObject
static std::size_t GetHeapMemorySizeOfObjs (const std::vector< const BigMemoryObject * > &objs)
 

Protected Member Functions

void checkCoherencyOfType (const MEDFileAnyTypeField1TSWithoutSDA *f1ts) const
 
 MEDFileTemplateFieldMultiTSWithoutSDA ()
 
 MEDFileTemplateFieldMultiTSWithoutSDA (const std::string &fieldName, const std::string &meshName)
 
 MEDFileTemplateFieldMultiTSWithoutSDA (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)
 
 MEDFileTemplateFieldMultiTSWithoutSDA (med_idt fid, int fieldId, 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)
 
virtual med_field_type getMEDFileFieldType () const =0
 
 MEDFileAnyTypeFieldMultiTSWithoutSDA ()
 
 MEDFileAnyTypeFieldMultiTSWithoutSDA (const std::string &fieldName, const std::string &meshName)
 
 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)
 
 MEDFileAnyTypeFieldMultiTSWithoutSDA (med_idt fid, int fieldId, 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
 
- Protected Attributes inherited from MEDCoupling::MEDFileFieldNameScope
std::string _dt_unit
 
std::string _mesh_name
 
std::string _name
 

Constructor & Destructor Documentation

◆ MEDFileTemplateFieldMultiTSWithoutSDA() [1/4]

◆ MEDFileTemplateFieldMultiTSWithoutSDA() [2/4]

template<class T >
MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T >::MEDFileTemplateFieldMultiTSWithoutSDA ( const std::string &  fieldName,
const std::string &  meshName 
)
protected

◆ MEDFileTemplateFieldMultiTSWithoutSDA() [3/4]

template<class T >
MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T >::MEDFileTemplateFieldMultiTSWithoutSDA ( med_idt  fid,
int  fieldId,
bool  loadAll,
const MEDFileMeshes ms,
const MEDFileEntities *  entities 
)
protected
Parameters
[in]fieldIdfield id in C mode

◆ MEDFileTemplateFieldMultiTSWithoutSDA() [4/4]

template<class T >
MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T >::MEDFileTemplateFieldMultiTSWithoutSDA ( 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 Function Documentation

◆ New()

template<class T >
static MLFieldTraits<T>::FMTSWSDAType* MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T >::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

◆ getTypeStr()

template<class T >
const char* MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T >::getTypeStr ( ) const
virtual

◆ createNew()

◆ createNew1TSWithoutSDAEmptyInstance()

template<class T >
MEDFileAnyTypeField1TSWithoutSDA* MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T >::createNew1TSWithoutSDAEmptyInstance ( ) const
virtual

◆ getClassName()

◆ checkCoherencyOfType()

template<class T >
void MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T >::checkCoherencyOfType ( const MEDFileAnyTypeField1TSWithoutSDA f1ts) const
protectedvirtual