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

Public Member Functions

MEDCouplingFieldIntclone (bool recDeepCpy) const
 
MEDCouplingFieldDoubleconvertToDblField () const
 
MEDCouplingFieldIntdeepCopy () const
 
- Public Member Functions inherited from MEDCoupling::MEDCouplingFieldT< int >
bool areCompatibleForDiv (const MEDCouplingField *other) const
 
bool areCompatibleForMul (const MEDCouplingField *other) const
 
bool areStrictlyCompatible (const MEDCouplingField *other) const
 
bool areStrictlyCompatibleForMulDiv (const MEDCouplingField *other) const
 
void checkConsistencyLight () const
 
Traits< int >::FieldType * cloneWithMesh (bool recDeepCpy) const
 
void copyAllTinyAttrFrom (const MEDCouplingFieldT< int > *other)
 
void copyTinyAttrFrom (const MEDCouplingFieldT< int > *other)
 
void copyTinyStringsFrom (const MEDCouplingField *other)
 
const Traits< int >::ArrayType * getArray () const
 
Traits< int >::ArrayType * getArray ()
 
std::vector< typename Traits
< int >::ArrayType * > 
getArrays () const
 
const Traits< int >::ArrayType * getEndArray () const
 
Traits< int >::ArrayType * getEndArray ()
 
double getEndTime (int &iteration, int &order) const
 
int getIJ (int tupleId, int compoId) const
 
double getStartTime (int &iteration, int &order) const
 
double getTime (int &iteration, int &order) const
 
TypeOfTimeDiscretization getTimeDiscretization () const
 
double getTimeTolerance () const
 
std::string getTimeUnit () const
 
bool isEqualIfNotWhy (const MEDCouplingField *other, double meshPrec, double valsPrec, std::string &reason) const
 
bool isEqualWithoutConsideringStr (const MEDCouplingField *other, double meshPrec, double valsPrec) const
 
void reprQuickOverview (std::ostream &stream) const
 
void setArray (typename Traits< int >::ArrayType *array)
 
void setArrays (const std::vector< typename Traits< int >::ArrayType * > &arrs)
 
void setEndArray (typename Traits< int >::ArrayType *array)
 
void setEndIteration (int it)
 
void setEndOrder (int order)
 
void setEndTime (double val, int iteration, int order)
 
void setEndTimeValue (double val)
 
void setIteration (int it)
 
void setOrder (int order)
 
void setStartTime (double val, int iteration, int order)
 
void setTime (double val, int iteration, int order)
 
void setTimeTolerance (double val)
 
void setTimeUnit (const std::string &unit)
 
void setTimeValue (double val)
 
std::string simpleRepr () const
 
void synchronizeTimeWithMesh ()
 
- Public Member Functions inherited from MEDCoupling::MEDCouplingField
virtual bool areCompatibleForMerge (const MEDCouplingField *other) const
 
MEDCouplingFieldDoublebuildMeasureField (bool isAbs) const
 
MEDCouplingMeshbuildSubMeshData (const int *start, const int *end, DataArrayInt *&di) const
 
MEDCouplingMeshbuildSubMeshDataRange (int begin, int end, int step, int &beginOut, int &endOut, int &stepOut, DataArrayInt *&di) const
 
void clearGaussLocalizations ()
 
DataArrayIntcomputeTupleIdsToSelectFromCellIds (const int *startCellIds, const int *endCellIds) const
 
void getCellIdsHavingGaussLocalization (int locId, std::vector< int > &cellIds) const
 
std::string getDescription () const
 
std::vector< const
BigMemoryObject * > 
getDirectChildrenWithNull () const
 
const
MEDCouplingFieldDiscretization
getDiscretization () const
 
MEDCouplingFieldDiscretizationgetDiscretization ()
 
MEDCouplingGaussLocalizationgetGaussLocalization (int locId)
 
const
MEDCouplingGaussLocalization
getGaussLocalization (int locId) const
 
int getGaussLocalizationIdOfOneCell (int cellId) const
 
int getGaussLocalizationIdOfOneType (INTERP_KERNEL::NormalizedCellType type) const
 
std::set< int > getGaussLocalizationIdsOfOneType (INTERP_KERNEL::NormalizedCellType type) const
 
std::size_t getHeapMemorySizeWithoutChildren () const
 
DataArrayDoublegetLocalizationOfDiscr () const
 
const
MEDCoupling::MEDCouplingMesh
getMesh () const
 
MEDCoupling::MEDCouplingMeshgetMesh ()
 
std::string getName () const
 
NatureOfField getNature () const
 
int getNbOfGaussLocalization () const
 
int getNumberOfMeshPlacesExpected () const
 
int getNumberOfTuplesExpected () const
 
int getNumberOfTuplesExpectedRegardingCode (const std::vector< int > &code, const std::vector< const DataArrayInt * > &idsPerType) const
 
TypeOfField getTypeOfField () const
 
virtual bool isEqual (const MEDCouplingField *other, double meshPrec, double valsPrec) const
 
void setDescription (const std::string &desc)
 
void setDiscretization (MEDCouplingFieldDiscretization *newDisc)
 
void setGaussLocalizationOnCells (const int *begin, const int *end, const std::vector< double > &refCoo, const std::vector< double > &gsCoo, const std::vector< double > &wg)
 
void setGaussLocalizationOnType (INTERP_KERNEL::NormalizedCellType type, const std::vector< double > &refCoo, const std::vector< double > &gsCoo, const std::vector< double > &wg)
 
void setMesh (const MEDCoupling::MEDCouplingMesh *mesh)
 
void setName (const std::string &name)
 
virtual void setNature (NatureOfField nat)
 
void updateTime () const
 
- Public Member Functions inherited from MEDCoupling::TimeLabel
void declareAsNew () const
 
std::size_t getTimeOfThis () const
 
TimeLabeloperator= (const TimeLabel &other)
 

Static Public Member Functions

static MEDCouplingFieldIntNew (TypeOfField type, TypeOfTimeDiscretization td=ONE_TIME)
 
static MEDCouplingFieldIntNew (const MEDCouplingFieldTemplate &ft, TypeOfTimeDiscretization td=ONE_TIME)
 

Protected Member Functions

 MEDCouplingFieldInt (TypeOfField type, TypeOfTimeDiscretization td)
 
 MEDCouplingFieldInt (const MEDCouplingFieldInt &other, bool deepCopy)
 
 MEDCouplingFieldInt (NatureOfField n, MEDCouplingTimeDiscretizationInt *td, MEDCouplingFieldDiscretization *type)
 
 MEDCouplingFieldInt (const MEDCouplingFieldTemplate &ft, TypeOfTimeDiscretization td)
 
 ~MEDCouplingFieldInt ()
 
- Protected Member Functions inherited from MEDCoupling::MEDCouplingFieldT< int >
 MEDCouplingFieldT (const MEDCouplingFieldT< int > &other, bool deepCopy)
 
 MEDCouplingFieldT (const MEDCouplingField &other, MEDCouplingTimeDiscretizationTemplate< int > *timeDiscr, bool deepCopy=true)
 
 MEDCouplingFieldT (TypeOfField type, MEDCouplingTimeDiscretizationTemplate< int > *timeDiscr)
 
 MEDCouplingFieldT (MEDCouplingFieldDiscretization *type, NatureOfField n, MEDCouplingTimeDiscretizationTemplate< int > *timeDiscr)
 
 ~MEDCouplingFieldT ()
 
- Protected Member Functions inherited from MEDCoupling::MEDCouplingField
 MEDCouplingField (TypeOfField type)
 
 MEDCouplingField (const MEDCouplingField &other, bool deepCopy=true)
 
 MEDCouplingField (MEDCouplingFieldDiscretization *type, NatureOfField nature=NoNature)
 
virtual ~MEDCouplingField ()
 
- 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 Member Functions inherited from MEDCoupling::TimeLabel
void forceTimeOfThis (const TimeLabel &other) const
 
 TimeLabel ()
 
void updateTimeWith (const TimeLabel &other) const
 
virtual ~TimeLabel ()
 

Additional Inherited Members

- Protected Attributes inherited from MEDCoupling::MEDCouplingFieldT< int >
MEDCouplingTimeDiscretizationTemplate
< int > * 
_time_discr
 

Constructor & Destructor Documentation

MEDCouplingFieldInt::MEDCouplingFieldInt ( TypeOfField  type,
TypeOfTimeDiscretization  td 
)
protected

Referenced by clone(), and New().

MEDCouplingFieldInt::MEDCouplingFieldInt ( const MEDCouplingFieldInt other,
bool  deepCopy 
)
protected
MEDCouplingFieldInt::MEDCouplingFieldInt ( NatureOfField  n,
MEDCouplingTimeDiscretizationInt td,
MEDCouplingFieldDiscretization type 
)
protected
MEDCouplingFieldInt::MEDCouplingFieldInt ( const MEDCouplingFieldTemplate ft,
TypeOfTimeDiscretization  td 
)
protected

** WARINING : This method do not deeply copy neither mesh nor spatial discretization. Only a shallow copy (reference) is done for mesh and spatial discretization ! **

MEDCoupling::MEDCouplingFieldInt::~MEDCouplingFieldInt ( )
protected

Member Function Documentation

MEDCouplingFieldInt * MEDCouplingFieldInt::New ( const MEDCouplingFieldTemplate ft,
TypeOfTimeDiscretization  td = ONE_TIME 
)
static

References MEDCouplingFieldInt().

MEDCouplingFieldInt * MEDCouplingFieldInt::deepCopy ( ) const
MEDCouplingFieldInt * MEDCouplingFieldInt::clone ( bool  recDeepCpy) const
virtual