Version: 9.12.0
MEDCoupling::MEDFileInt64Field1TSWithoutSDA Class Reference
Inheritance diagram for MEDCoupling::MEDFileInt64Field1TSWithoutSDA:
Collaboration diagram for MEDCoupling::MEDFileInt64Field1TSWithoutSDA:

Public Member Functions

MEDFileInt64Field1TSWithoutSDAdeepCopy () const
 
std::string getClassName () const override
 
const char * getTypeStr () const
 
DataArraygetUndergroundDataArrayExt (std::vector< std::pair< std::pair< INTERP_KERNEL::NormalizedCellType, int >, std::pair< mcIdType, mcIdType > > > &entries) const
 
DataArrayInt64getUndergroundDataArrayIntExt (std::vector< std::pair< std::pair< INTERP_KERNEL::NormalizedCellType, int >, std::pair< mcIdType, mcIdType > > > &entries) const
 
 MEDFileInt64Field1TSWithoutSDA ()
 
MEDFileInt64Field1TSWithoutSDAshallowCpy () const
 
- Public Member Functions inherited from MEDCoupling::MEDFileField1TSNDTemplateWithoutSDA< Int64 >
MEDFileField1TSWithoutSDAconvertToDouble () const
 
- Public Member Functions inherited from MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T >
void aggregate (const typename std::vector< typename MLFieldTraits< T >::F1TSWSDAType const * > &f1tss, const std::vector< std::vector< std::pair< int, mcIdType > > > &dts)
 
void copyTimeInfoFrom (const typename Traits< T >::FieldType *mcf)
 
DataArraycreateNewEmptyDataArrayInstance () const
 
DataArraygetOrCreateAndGetArray ()
 
const DataArraygetOrCreateAndGetArray () const
 
Traits< T >::ArrayType * getOrCreateAndGetArrayTemplate ()
 
Traits< T >::ArrayType const * getOrCreateAndGetArrayTemplate () const
 
DataArraygetUndergroundDataArray () const
 
Traits< T >::ArrayType * getUndergroundDataArrayTemplate () const
 
Traits< T >::ArrayType * getUndergroundDataArrayTemplateExt (std::vector< std::pair< std::pair< INTERP_KERNEL::NormalizedCellType, int >, std::pair< mcIdType, mcIdType > > > &entries) const
 
void setArray (DataArray *arr)
 
- Public Member Functions inherited from MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA
void accept (MEDFileFieldVisitor &visitor) const
 
bool allocIfNecessaryTheArrayToReceiveDataFromFile ()
 
void allocNotFromFile (mcIdType 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 ()
 
mcIdType copyTinyInfoFrom (const TimeHolder *th, const MEDCouplingFieldTemplate *field, const DataArray *arr)
 
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 DataArrayIdType *cellRenum, const DataArrayIdType *nodeRenum, MCAuto< DataArray > &arrOut, const MEDFileFieldNameScope &nasc) const
 
std::vector< std::vector< std::pair< mcIdType, mcIdType > > > 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, DataArrayIdType *&pfl, const MEDFileFieldGlobsReal *glob, const MEDFileFieldNameScope &nasc) const
 
std::size_t getHeapMemorySizeWithoutChildren () const
 
std::vector< std::string > & getInfo ()
 
const std::vector< std::string > & getInfo () const
 
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
 
std::size_t 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
 
bool isDealingTS (int iteration, int order) const
 
mcIdType keepOnlyGaussDiscretization (std::size_t idOfDisc, std::vector< std::pair< mcIdType, mcIdType > > &its)
 
void keepOnlyOnSE (const std::string &seName)
 
mcIdType keepOnlySpatialDiscretization (TypeOfField tof, std::vector< std::pair< mcIdType, mcIdType > > &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, const MEDFileCapability *capability=nullptr)
 
void loadOnlyStructureOfDataRecursively (med_idt fid, const MEDFileFieldNameScope &nasc, const PartDefinition *pd, const MEDFileEntities *entities, const MEDFileCapability *capability=nullptr)
 
void loadStructureAndBigArraysRecursively (med_idt fid, const MEDFileFieldNameScope &nasc, const MEDFileMeshes *ms, const MEDFileEntities *entities)
 
void loadStructureAndBigArraysRecursively (med_idt fid, const MEDFileFieldNameScope &nasc, const PartDefinition *pd, const MEDFileEntities *entities)
 
void makeReduction (INTERP_KERNEL::NormalizedCellType ct, TypeOfField tof, const DataArrayIdType *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< mcIdType > &oldCode, const std::vector< mcIdType > &newCode, const DataArrayIdType *renumO2N, MEDFileFieldGlobsReal &glob)
 
void setFieldNoProfileSBT (const TimeHolder *th, const MEDCouplingFieldTemplate *field, const DataArray *arr, MEDFileFieldGlobsReal &glob, const MEDFileFieldNameScope &nasc)
 
void setFieldProfile (const TimeHolder *th, const MEDCouplingFieldTemplate *field, const DataArray *arrOfVals, const MEDFileMesh *mesh, int meshDimRelToMax, const DataArrayIdType *profile, MEDFileFieldGlobsReal &glob, const MEDFileFieldNameScope &nasc, bool smartPflKiller=true)
 
void setInfo (const std::vector< std::string > &infos)
 
void setTime (int iteration, int order, double val)
 
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::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 MEDFileInt64Field1TSWithoutSDANew (const std::string &fieldName, const std::string &meshName, int csit, int iteration, int order, const std::vector< std::string > &infos)
 
- Static Public Member Functions inherited from MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA
static std::string FieldNameToMEDFileConvention (const std::string &nonCorrectFieldName)
 
- Static Public Member Functions inherited from MEDCoupling::BigMemoryObject
static std::size_t GetHeapMemorySizeOfObjs (const std::vector< const BigMemoryObject * > &objs)
 

Static Public Attributes

static const char TYPE_STR [] ="INT64"
 

Protected Member Functions

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

Additional Inherited Members

- Public Attributes inherited from MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA
int _csit
 
mcIdType _nb_of_tuples_to_be_allocated
 
- Protected Attributes inherited from MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T >
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
 

Detailed Description

SDA is for Shared Data Arrays such as profiles.

Constructor & Destructor Documentation

◆ MEDFileInt64Field1TSWithoutSDA() [1/2]

MEDFileInt64Field1TSWithoutSDA::MEDFileInt64Field1TSWithoutSDA ( )

Referenced by New(), and shallowCpy().

◆ MEDFileInt64Field1TSWithoutSDA() [2/2]

MEDFileInt64Field1TSWithoutSDA::MEDFileInt64Field1TSWithoutSDA ( const std::string &  fieldName,
const std::string &  meshName,
int  csit,
int  iteration,
int  order,
const std::vector< std::string > &  infos 
)
protected

Member Function Documentation

◆ getClassName()

std::string MEDCoupling::MEDFileInt64Field1TSWithoutSDA::getClassName ( ) const
overridevirtual

◆ New()

MEDFileInt64Field1TSWithoutSDA * MEDFileInt64Field1TSWithoutSDA::New ( const std::string &  fieldName,
const std::string &  meshName,
int  csit,
int  iteration,
int  order,
const std::vector< std::string > &  infos 
)
static

◆ deepCopy()

◆ shallowCpy()

MEDFileInt64Field1TSWithoutSDA * MEDFileInt64Field1TSWithoutSDA::shallowCpy ( ) const
virtual

◆ getTypeStr()

const char * MEDFileInt64Field1TSWithoutSDA::getTypeStr ( ) const
virtual

◆ getUndergroundDataArrayExt()

DataArray * MEDFileInt64Field1TSWithoutSDA::getUndergroundDataArrayExt ( std::vector< std::pair< std::pair< INTERP_KERNEL::NormalizedCellType, int >, std::pair< mcIdType, mcIdType > > > &  entries) const
virtual

Returns a pointer to the underground DataArrayIdType instance and a sequence describing parameters of a support of each part of this field. The caller should not decrRef() the returned DataArrayIdType. This method allows for a direct access to the field values. This method is intended for the field lying on one mesh only.

Parameters
[in,out]entries- the sequence describing parameters of a support of each part of this field. Each item of this sequence consists of two parts. The first part describes a type of mesh entity and an id of discretization of a current field part. The second part describes a range of values [begin,end) within the returned array relating to the current field part.
Returns
DataArrayIdType * - the pointer to the field values array.
Exceptions
Ifthe number of underlying meshes is not equal to 1.
Ifno field values are available.
See also
getUndergroundDataArray()

Implements MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA.

References getUndergroundDataArrayIntExt().

◆ getUndergroundDataArrayIntExt()

DataArrayInt64 * MEDFileInt64Field1TSWithoutSDA::getUndergroundDataArrayIntExt ( std::vector< std::pair< std::pair< INTERP_KERNEL::NormalizedCellType, int >, std::pair< mcIdType, mcIdType > > > &  entries) const

Returns a pointer to the underground DataArrayInt instance and a sequence describing parameters of a support of each part of this field. The caller should not decrRef() the returned DataArrayIdType. This method allows for a direct access to the field values. This method is intended for the field lying on one mesh only.

Parameters
[in,out]entries- the sequence describing parameters of a support of each part of this field. Each item of this sequence consists of two parts. The first part describes a type of mesh entity and an id of discretization of a current field part. The second part describes a range of values [begin,end) within the returned array relating to the current field part.
Returns
DataArrayInt * - the pointer to the field values array.
Exceptions
Ifthe number of underlying meshes is not equal to 1.
Ifno field values are available.
See also
getUndergroundDataArray()

References MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::_field_per_mesh, and MEDCoupling::MEDFileField1TSTemplateWithoutSDA< T >::getUndergroundDataArrayTemplate().

Referenced by getUndergroundDataArrayExt().

Member Data Documentation

◆ TYPE_STR

const char MEDFileInt64Field1TSWithoutSDA::TYPE_STR ="INT64"
static

Referenced by getTypeStr().