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

Public Member Functions

std::string advancedRepr () const
 
void checkConsistencyLight () const
 
void finishUnserialization (const std::vector< int > &tinyInfoI, const std::vector< double > &tinyInfoD, const std::vector< std::string > &tinyInfoS)
 
void getTinySerializationDbleInformation (std::vector< double > &tinyInfo) const
 
void getTinySerializationIntInformation (std::vector< int > &tinyInfo) const
 
void getTinySerializationStrInformation (std::vector< std::string > &tinyInfo) const
 
void reprQuickOverview (std::ostream &stream) const
 
void resizeForUnserialization (const std::vector< int > &tinyInfoI, DataArrayInt *&dataInt)
 
void serialize (DataArrayInt *&dataInt) const
 
std::string simpleRepr () const
 
- Public Member Functions inherited from MEDCoupling::MEDCouplingField
virtual bool areCompatibleForMerge (const MEDCouplingField *other) const
 
virtual bool areStrictlyCompatible (const MEDCouplingField *other) const
 
virtual bool areStrictlyCompatibleForMulDiv (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
 
virtual void copyTinyStringsFrom (const MEDCouplingField *other)
 
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
 
virtual bool isEqualIfNotWhy (const MEDCouplingField *other, double meshPrec, double valsPrec, std::string &reason) const
 
virtual bool isEqualWithoutConsideringStr (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 MEDCouplingFieldTemplateNew (const MEDCouplingFieldDouble &f)
 
static MEDCouplingFieldTemplateNew (const MEDCouplingFieldInt &f)
 
static MEDCouplingFieldTemplateNew (TypeOfField type)
 

Additional Inherited Members

- 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 Attributes inherited from MEDCoupling::MEDCouplingField
std::string _desc
 
const MEDCouplingMesh_mesh
 
std::string _name
 
NatureOfField _nature
 
MCAuto
< MEDCouplingFieldDiscretization
_type
 

Detailed Description

A field template can be seen as a field without the array of values.

A field template aggregates a MEDCouplingMesh and a spatial discretization object (instance of MEDCouplingFieldDiscretization).

MEDCouplingFieldTemplate is the most appropriate type for the preparation of matrix using MEDCouplingRemapper::prepareEx, since it contains the minimal information requireds to prepare the interpolation matrix.

Member Function Documentation

MEDCouplingFieldTemplate * MEDCouplingFieldTemplate::New ( const MEDCouplingFieldInt f)
static
MEDCouplingFieldTemplate * MEDCouplingFieldTemplate::New ( TypeOfField  type)
static

The user should not use this method. Only useful for CORBA serialization/unserialization.

std::string MEDCouplingFieldTemplate::advancedRepr ( ) const

References simpleRepr().

void MEDCouplingFieldTemplate::checkConsistencyLight ( ) const
virtual
void MEDCouplingFieldTemplate::getTinySerializationIntInformation ( std::vector< int > &  tinyInfo) const
void MEDCouplingFieldTemplate::getTinySerializationDbleInformation ( std::vector< double > &  tinyInfo) const
void MEDCouplingFieldTemplate::getTinySerializationStrInformation ( std::vector< std::string > &  tinyInfo) const
void MEDCouplingFieldTemplate::resizeForUnserialization ( const std::vector< int > &  tinyInfoI,
DataArrayInt *&  dataInt 
)
void MEDCouplingFieldTemplate::finishUnserialization ( const std::vector< int > &  tinyInfoI,
const std::vector< double > &  tinyInfoD,
const std::vector< std::string > &  tinyInfoS 
)
void MEDCouplingFieldTemplate::serialize ( DataArrayInt *&  dataInt) const