Version: 9.16.0
MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T > Class Template Reference

#include <MEDFileFieldMultiTS.hxx>

Inheritance diagram for MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T >:
Collaboration diagram for MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T >:

Public Member Functions

MEDFileAnyTypeFieldMultiTSWithoutSDA * createNew () const
 
MEDFileAnyTypeField1TSWithoutSDA * createNew1TSWithoutSDAEmptyInstance () 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)
 
MEDFileAnyTypeFieldMultiTSWithoutSDA * buildFromTimeStepIds (const int *startIds, const int *endIds) const
 
MEDFileAnyTypeFieldMultiTSWithoutSDA * buildFromTimeStepIds2 (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 void checkCoherencyOfType (const MEDFileAnyTypeField1TSWithoutSDA *f1ts) const =0
 
virtual MEDFileAnyTypeFieldMultiTSWithoutSDA * createNew () const =0
 
virtual MEDFileAnyTypeField1TSWithoutSDA * createNew1TSWithoutSDAEmptyInstance () const =0
 
virtual MCAuto< MEDFileAnyTypeFieldMultiTS > createNewWithSDA () const =0
 
virtual MEDFileAnyTypeFieldMultiTSWithoutSDA * deepCopy () const
 
void eraseEmptyTS ()
 
void eraseTimeStepIds (const int *startIds, const int *endIds)
 
void eraseTimeStepIds2 (int bg, int end, int step)
 
std::string getClassName () const override
 
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
 
MEDFileAnyTypeField1TSWithoutSDA * getTimeStepAtPos2 (int pos)
 
const MEDFileAnyTypeField1TSWithoutSDA * getTimeStepAtPos2 (int pos) const
 
MEDFileAnyTypeField1TSWithoutSDA & getTimeStepEntry (int iteration, int order)
 
const MEDFileAnyTypeField1TSWithoutSDA & getTimeStepEntry (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
 
virtual const char * getTypeStr () const =0
 
DataArray * getUndergroundDataArray (int iteration, int order) const
 
DataArray * getUndergroundDataArrayExt (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
 
MEDFileAnyTypeFieldMultiTSWithoutSDA * partOfThisLyingOnSpecifiedTimeSteps (const std::vector< std::pair< int, int > > &timeSteps) const
 
MEDFileAnyTypeFieldMultiTSWithoutSDA * partOfThisNotLyingOnSpecifiedTimeSteps (const std::vector< std::pair< int, int > > &timeSteps) const
 
bool presenceOfMultiDiscPerGeoType () const
 
bool presenceOfStructureElements () const
 
void pushBackTimeStep (MCAuto< MEDFileAnyTypeField1TSWithoutSDA > &tse)
 
void readDescription (med_idt fid, const MEDFileWritable &opts)
 
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 MEDFileAnyTypeFieldMultiTSWithoutSDA * shallowCpy () 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 writeDescription (med_idt fid, const MEDFileWritable &opts) const
 
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
 
RefCountObjectOnly & operator= (const RefCountObjectOnly &other)
 
- Public Member Functions inherited from MEDCoupling::BigMemoryObject
std::string debugHeapMemorySize () const
 
std::vector< const BigMemoryObject * > getAllTheProgeny () const
 
virtual std::string getClassName () const
 
std::vector< const BigMemoryObject * > getDirectChildren () const
 
virtual std::vector< const BigMemoryObject * > getDirectChildrenWithNull () const =0
 
std::size_t getHeapMemorySize () const
 
std::string getHeapMemorySizeStr () const
 
virtual std::size_t getHeapMemorySizeWithoutChildren () const =0
 
bool isObjectInTheProgeny (const BigMemoryObject *obj) const
 
virtual ~BigMemoryObject ()
 
- Public Member Functions inherited from MEDCoupling::MEDFileFieldNameScope
void copyNameScope (const MEDFileFieldNameScope &other)
 
std::string getDescription () const
 
std::string getDtUnit () const
 
std::string getMeshName () const
 
std::string getName () const
 
 MEDFileFieldNameScope ()
 
 MEDFileFieldNameScope (const std::string &fieldName, const std::string &meshName)
 
void setDescription (const std::string &description)
 
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 _description
 
std::string _dt_unit
 
std::string _mesh_name
 
std::string _name
 

Constructor & Destructor Documentation

◆ MEDFileTemplateFieldMultiTSWithoutSDA() [1/4]

template<class T >
MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T >::MEDFileTemplateFieldMultiTSWithoutSDA ( )
protected

◆ 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 >
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
virtual

◆ createNew()

◆ createNew1TSWithoutSDAEmptyInstance()

◆ getClassName()

template<class T >
std::string MEDCoupling::MEDFileTemplateFieldMultiTSWithoutSDA< T >::getClassName ( ) const
overridevirtual

◆ checkCoherencyOfType()

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