Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T > Class Template Reference
Inheritance diagram for MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T >:
Collaboration diagram for MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T >:

Public Member Functions

void aggregate (const typename std::vector< typename MLFieldTraits< T >::F1TSWSDAType const * > &f1tss, const std::vector< std::vector< std::pair< int, int > > > &dts)
 
DataArraycreateNewEmptyDataArrayInstance () const
 
DataArraygetOrCreateAndGetArray ()
 
const DataArraygetOrCreateAndGetArray () const
 
Traits< T >::ArrayType * getOrCreateAndGetArrayTemplate ()
 
Traits< T >::ArrayType const * getOrCreateAndGetArrayTemplate () const
 
DataArraygetUndergroundDataArray () const
 
Traits< T >::ArrayType * getUndergroundDataArrayTemplate () const
 
void setArray (DataArray *arr)
 
- Public Member Functions inherited from MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA
void accept (MEDFileFieldVisitor &visitor) const
 
bool allocIfNecessaryTheArrayToReceiveDataFromFile ()
 
void allocNotFromFile (int newNbOfTuples)
 
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)
 
void convertMedBallIntoClassic ()
 
int copyTinyInfoFrom (const MEDCouplingFieldDouble *field, const DataArray *arr)
 
virtual
MEDFileAnyTypeField1TSWithoutSDA
deepCopy () const =0
 
void deepCpyLeavesFrom (const MEDFileAnyTypeField1TSWithoutSDA &other)
 
MEDCouplingFieldDoublefieldOnMesh (const MEDFileFieldGlobsReal *glob, const MEDFileMesh *mesh, MCAuto< DataArray > &arrOut, const MEDFileFieldNameScope &nasc) const
 
void fillIteration (std::pair< int, int > &p) const
 
void fillTypesOfFieldAvailable (std::vector< TypeOfField > &types) const
 
int getDimension () const
 
std::vector< const
BigMemoryObject * > 
getDirectChildrenWithNull () const
 
std::pair< int, int > getDtIt () const
 
MEDCouplingFieldDoublegetFieldAtLevel (TypeOfField type, int meshDimRelToMax, const std::string &mName, int renumPol, const MEDFileFieldGlobsReal *glob, MCAuto< DataArray > &arrOut, const MEDFileFieldNameScope &nasc) const
 
MEDCouplingFieldDoublegetFieldAtTopLevel (TypeOfField type, const std::string &mName, int renumPol, const MEDFileFieldGlobsReal *glob, MCAuto< DataArray > &arrOut, const MEDFileFieldNameScope &nasc) const
 
MEDCouplingFieldDoublegetFieldOnMeshAtLevel (TypeOfField type, int meshDimRelToMax, int renumPol, const MEDFileFieldGlobsReal *glob, const MEDFileMesh *mesh, MCAuto< DataArray > &arrOut, const MEDFileFieldNameScope &nasc) const
 
MEDCouplingFieldDoublegetFieldOnMeshAtLevel (TypeOfField type, int renumPol, const MEDFileFieldGlobsReal *glob, const MEDCouplingMesh *mesh, const DataArrayInt *cellRenum, const DataArrayInt *nodeRenum, MCAuto< DataArray > &arrOut, const MEDFileFieldNameScope &nasc) const
 
std::vector< std::vector
< std::pair< int, int > > > 
getFieldSplitedByType (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
 
DataArraygetFieldWithProfile (TypeOfField type, int meshDimRelToMax, const MEDFileMesh *mesh, DataArrayInt *&pfl, const MEDFileFieldGlobsReal *glob, const MEDFileFieldNameScope &nasc) const
 
std::size_t getHeapMemorySizeWithoutChildren () const
 
const std::vector< std::string > & getInfo () const
 
std::vector< std::string > & getInfo ()
 
int getIteration () const
 
MEDFileFieldPerMeshPerTypePerDisc * getLeafGivenMeshAndTypeAndLocId (const std::string &mName, INTERP_KERNEL::NormalizedCellType typ, int locId)
 
const
MEDFileFieldPerMeshPerTypePerDisc * 
getLeafGivenMeshAndTypeAndLocId (const std::string &mName, INTERP_KERNEL::NormalizedCellType typ, int locId) const
 
std::vector< std::string > getLocsReallyUsed2 () const
 
std::vector< std::string > getLocsReallyUsedMulti2 () const
 
int getMeshIteration () const
 
int getMeshOrder () const
 
void getMeshSENames (std::vector< std::pair< std::string, std::string > > &ps) const
 
int getNonEmptyLevels (const std::string &mname, std::vector< int > &levs) const
 
int getNumberOfComponents () const
 
int getOrder () const
 
std::vector< std::string > getPflsReallyUsed2 () const
 
std::vector< std::string > getPflsReallyUsedMulti2 () const
 
double getTime (int &iteration, int &order) const
 
std::vector< TypeOfFieldgetTypesOfFieldAvailable () const
 
virtual const char * getTypeStr () const =0
 
virtual DataArraygetUndergroundDataArrayExt (std::vector< std::pair< std::pair< INTERP_KERNEL::NormalizedCellType, int >, std::pair< int, int > > > &entries) const =0
 
bool isDealingTS (int iteration, int order) const
 
int keepOnlyGaussDiscretization (std::size_t idOfDisc, std::vector< std::pair< int, int > > &its)
 
void keepOnlyOnSE (const std::string &seName)
 
int keepOnlySpatialDiscretization (TypeOfField tof, std::vector< std::pair< int, int > > &its)
 
void keepOnlyStructureElements ()
 
void killStructureElements ()
 
void loadBigArraysRecursively (med_idt fid, const MEDFileFieldNameScope &nasc)
 
void loadBigArraysRecursivelyIfNecessary (med_idt fid, const MEDFileFieldNameScope &nasc)
 
void loadOnlyStructureOfDataRecursively (med_idt fid, const MEDFileFieldNameScope &nasc, const MEDFileMeshes *ms, const MEDFileEntities *entities)
 
void loadStructureAndBigArraysRecursively (med_idt fid, const MEDFileFieldNameScope &nasc, const MEDFileMeshes *ms, const MEDFileEntities *entities)
 
void makeReduction (INTERP_KERNEL::NormalizedCellType ct, TypeOfField tof, const DataArrayInt *pfl)
 
 MEDFileAnyTypeField1TSWithoutSDA ()
 
 MEDFileAnyTypeField1TSWithoutSDA (const std::string &fieldName, const std::string &meshName, int csit, int iteration, int order)
 
bool onlyStructureElements () const
 
bool presenceOfMultiDiscPerGeoType () const
 
bool presenceOfStructureElements () const
 
bool renumberEntitiesLyingOnMesh (const std::string &meshName, const std::vector< int > &oldCode, const std::vector< int > &newCode, const DataArrayInt *renumO2N, MEDFileFieldGlobsReal &glob)
 
void setFieldNoProfileSBT (const MEDCouplingFieldDouble *field, const DataArray *arr, MEDFileFieldGlobsReal &glob, const MEDFileFieldNameScope &nasc)
 
void setFieldProfile (const MEDCouplingFieldDouble *field, const DataArray *arrOfVals, const MEDFileMesh *mesh, int meshDimRelToMax, const DataArrayInt *profile, MEDFileFieldGlobsReal &glob, const MEDFileFieldNameScope &nasc)
 
void setInfo (const std::vector< std::string > &infos)
 
void setTime (int iteration, int order, double val)
 
virtual
MEDFileAnyTypeField1TSWithoutSDA
shallowCpy () const =0
 
virtual void simpleRepr (int bkOffset, std::ostream &oss, int f1tsId) const
 
virtual std::vector< MCAuto
< MEDFileAnyTypeField1TSWithoutSDA > > 
splitComponents () const
 
std::vector< MCAuto
< MEDFileAnyTypeField1TSWithoutSDA > > 
splitDiscretizations () const
 
std::vector< MCAuto
< MEDFileAnyTypeField1TSWithoutSDA > > 
splitMultiDiscrPerGeoTypes () const
 
void unloadArrays ()
 
void writeLL (med_idt fid, const MEDFileWritable &opts, const MEDFileFieldNameScope &nasc) 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)
 

Protected Member Functions

 MEDFileField1TSTemplateWithoutSDA (const std::string &fieldName, const std::string &meshName, int csit, int iteration, int order)
 
 MEDFileField1TSTemplateWithoutSDA ()
 
- Protected Member Functions inherited from MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA
int addNewEntryIfNecessary (const MEDCouplingMesh *mesh)
 
int getMeshIdFromMeshName (const std::string &mName) const
 
void updateData (int newLgth, const std::vector< std::pair< int, int > > &oldStartStops)
 
- 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 ()
 

Protected Attributes

MCAuto< typename Traits< T >
::ArrayType > 
_arr
 
- Protected Attributes inherited from MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA
double _dt
 
std::vector< MCAuto
< MEDFileFieldPerMesh > > 
_field_per_mesh
 
int _iteration
 
int _order
 
- Protected Attributes inherited from MEDCoupling::MEDFileFieldNameScope
std::string _dt_unit
 
std::string _mesh_name
 
std::string _name
 

Additional Inherited Members

- Static Public Member Functions inherited from MEDCoupling::BigMemoryObject
static std::size_t GetHeapMemorySizeOfObjs (const std::vector< const BigMemoryObject * > &objs)
 
- Public Attributes inherited from MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA
int _csit
 
int _nb_of_tuples_to_be_allocated
 

Constructor & Destructor Documentation

template<class T>
MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T >::MEDFileField1TSTemplateWithoutSDA ( const std::string &  fieldName,
const std::string &  meshName,
int  csit,
int  iteration,
int  order 
)
protected

Member Function Documentation

template<class T >
DataArray * MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T >::createNewEmptyDataArrayInstance ( ) const
virtual
template<class T >
Traits< T >::ArrayType * MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T >::getOrCreateAndGetArrayTemplate ( )
template<class T >
Traits< T >::ArrayType const * MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T >::getOrCreateAndGetArrayTemplate ( ) const
template<class T >
Traits< T >::ArrayType * MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T >::getUndergroundDataArrayTemplate ( ) const

Returns a pointer to the underground DataArrayTemplate<T> instance. So the caller should not decrRef() it. This method allows for a direct access to the field values. This method is quite unusable if there is more than a nodal field or a cell field on single geometric cell type.

Returns
DataArrayTemplate<T> * - the pointer to the field values array.

Referenced by MEDCoupling::MEDFileField1TS::getUndergroundDataArray(), and MEDCoupling::MEDFileIntField1TS::getUndergroundDataArray().

template<class T >
DataArray * MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T >::getOrCreateAndGetArray ( )
virtual

Returns a pointer to the underground DataArrayTemplate<T> instance. So the caller should not decrRef() it. This method allows for a direct access to the field values. This method is quite unusable if there is more than a nodal field or a cell field on single geometric cell type.

Returns
DataArrayTemplate<T> * - the pointer to the field values array.

Implements MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA.

template<class T >
const DataArray * MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T >::getOrCreateAndGetArray ( ) const
virtual
template<class T >
DataArray * MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T >::getUndergroundDataArray ( ) const
virtual

Returns a pointer to the underground DataArrayDouble instance. So the caller should not decrRef() it. This method allows for a direct access to the field values. This method is quite unusable if there is more than a nodal field or a cell field on single geometric cell type.

Returns
DataArrayDouble * - the pointer to the field values array.

Implements MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA.

template<class T>
void MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T >::aggregate ( const typename std::vector< typename MLFieldTraits< T >::F1TSWSDAType const * > &  f1tss,
const std::vector< std::vector< std::pair< int, int > > > &  dts 
)

Member Data Documentation