Public Member Functions | |
std::string | advancedRepr () const |
void | checkConsistencyLight () const |
MCAuto< MEDCouplingFieldTemplate > | clone (bool recDeepCpy) const |
void | finishUnserialization (const std::vector< mcIdType > &tinyInfoI, const std::vector< double > &tinyInfoD, const std::vector< std::string > &tinyInfoS) |
std::string | getClassName () const override |
void | getTinySerializationDbleInformation (std::vector< double > &tinyInfo) const |
void | getTinySerializationIntInformation (std::vector< mcIdType > &tinyInfo) const |
void | getTinySerializationStrInformation (std::vector< std::string > &tinyInfo) const |
bool | isEqual (const MEDCouplingFieldTemplate *other, double meshPrec) const |
bool | isEqualIfNotWhy (const MEDCouplingFieldTemplate *other, double meshPrec, std::string &reason) const |
bool | isEqualWithoutConsideringStr (const MEDCouplingFieldTemplate *other, double meshPrec) const |
void | reprQuickOverview (std::ostream &stream) const |
void | resizeForUnserialization (const std::vector< mcIdType > &tinyInfoI, DataArrayIdType *&dataInt) |
void | serialize (DataArrayIdType *&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 |
MEDCouplingFieldDouble * | buildMeasureField (bool isAbs) const |
MEDCouplingMesh * | buildSubMeshData (const mcIdType *start, const mcIdType *end, DataArrayIdType *&di) const |
MEDCouplingMesh * | buildSubMeshDataRange (mcIdType begin, mcIdType end, mcIdType step, mcIdType &beginOut, mcIdType &endOut, mcIdType &stepOut, DataArrayIdType *&di) const |
void | clearGaussLocalizations () |
DataArrayIdType * | computeTupleIdsToSelectFromCellIds (const mcIdType *startCellIds, const mcIdType *endCellIds) const |
virtual void | copyTinyStringsFrom (const MEDCouplingField *other) |
void | getCellIdsHavingGaussLocalization (int locId, std::vector< mcIdType > &cellIds) const |
std::string | getDescription () const |
std::vector< const BigMemoryObject * > | getDirectChildrenWithNull () const |
MEDCouplingFieldDiscretization * | getDiscretization () |
const MEDCouplingFieldDiscretization * | getDiscretization () const |
MEDCouplingGaussLocalization & | getGaussLocalization (int locId) |
const MEDCouplingGaussLocalization & | getGaussLocalization (int locId) const |
mcIdType | getGaussLocalizationIdOfOneCell (mcIdType cellId) const |
mcIdType | getGaussLocalizationIdOfOneType (INTERP_KERNEL::NormalizedCellType type) const |
std::set< mcIdType > | getGaussLocalizationIdsOfOneType (INTERP_KERNEL::NormalizedCellType type) const |
std::size_t | getHeapMemorySizeWithoutChildren () const |
DataArrayDouble * | getLocalizationOfDiscr () const |
MEDCoupling::MEDCouplingMesh * | getMesh () |
const MEDCoupling::MEDCouplingMesh * | getMesh () const |
std::string | getName () const |
NatureOfField | getNature () const |
mcIdType | getNbOfGaussLocalization () const |
mcIdType | getNumberOfMeshPlacesExpected () const |
mcIdType | getNumberOfTuplesExpected () const |
mcIdType | getNumberOfTuplesExpectedRegardingCode (const std::vector< mcIdType > &code, const std::vector< const DataArrayIdType * > &idsPerType) const |
TypeOfField | getTypeOfField () const |
void | setDescription (const std::string &desc) |
void | setDiscretization (MEDCouplingFieldDiscretization *newDisc) |
void | setGaussLocalizationOnCells (const mcIdType *begin, const mcIdType *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::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 |
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::TimeLabel | |
void | declareAsNew () const |
std::size_t | getTimeOfThis () const |
TimeLabel & | operator= (const TimeLabel &other) |
TimeLabel (const TimeLabel &other)=default | |
Static Public Member Functions | |
static MEDCouplingFieldTemplate * | New (const MEDCouplingFieldDouble &f) |
static MEDCouplingFieldTemplate * | New (const MEDCouplingFieldFloat &f) |
static MEDCouplingFieldTemplate * | New (const MEDCouplingFieldInt32 &f) |
static MEDCouplingFieldTemplate * | New (const MEDCouplingFieldInt64 &f) |
static MEDCouplingFieldTemplate * | New (TypeOfField type) |
static MEDCouplingFieldTemplate * | NewWithoutCheck (const MEDCouplingFieldDouble &f) |
static MEDCouplingFieldTemplate * | NewWithoutCheck (const MEDCouplingFieldFloat &f) |
static MEDCouplingFieldTemplate * | NewWithoutCheck (const MEDCouplingFieldInt32 &f) |
static MEDCouplingFieldTemplate * | NewWithoutCheck (const MEDCouplingFieldInt64 &f) |
Static Public Member Functions inherited from MEDCoupling::BigMemoryObject | |
static std::size_t | GetHeapMemorySizeOfObjs (const std::vector< const BigMemoryObject * > &objs) |
Additional Inherited Members | |
Protected Member Functions inherited from MEDCoupling::MEDCouplingField | |
bool | isEqualIfNotWhyProtected (const MEDCouplingField *other, double meshPrec, std::string &reason) const |
bool | isEqualWithoutConsideringStrProtected (const MEDCouplingField *other, double meshPrec) const |
MEDCouplingField (const MEDCouplingField &other, bool deepCopy=true) | |
MEDCouplingField (MEDCouplingFieldDiscretization *type, NatureOfField nature=NoNature) | |
MEDCouplingField (TypeOfField type) | |
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 () |
Protected Attributes inherited from MEDCoupling::MEDCouplingField | |
std::string | _desc |
const MEDCouplingMesh * | _mesh |
std::string | _name |
NatureOfField | _nature |
MCAuto< MEDCouplingFieldDiscretization > | _type |
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.
|
static |
Referenced by MEDCoupling::MEDFileAnyTypeFieldMultiTSWithoutSDA::appendFieldNoProfileSBT(), MEDCoupling::MEDCouplingRemapper::BuildFieldTemplatesFrom(), MEDCoupling::MEDFileInt32Field1TS::ConvertFieldIntToFieldDouble(), MEDCoupling::MEDFileInt64Field1TS::ConvertFieldIntToFieldDouble(), ConvertToUField(), and MEDCoupling::MEDFileAnyTypeField1TS::copyTinyInfoFrom().
|
static |
|
static |
|
static |
|
static |
The user should not use this method. Only useful for CORBA serialization/unserialization.
|
static |
|
static |
|
static |
|
static |
|
overridevirtual |
Reimplemented from MEDCoupling::BigMemoryObject.
bool MEDCouplingFieldTemplate::isEqualIfNotWhy | ( | const MEDCouplingFieldTemplate * | other, |
double | meshPrec, | ||
std::string & | reason | ||
) | const |
bool MEDCouplingFieldTemplate::isEqual | ( | const MEDCouplingFieldTemplate * | other, |
double | meshPrec | ||
) | const |
bool MEDCouplingFieldTemplate::isEqualWithoutConsideringStr | ( | const MEDCouplingFieldTemplate * | other, |
double | meshPrec | ||
) | const |
std::string MEDCouplingFieldTemplate::simpleRepr | ( | ) | const |
References MEDCoupling::MEDCouplingField::_mesh, MEDCoupling::MEDCouplingField::_nature, MEDCoupling::MEDCouplingField::_type, MEDCoupling::MEDCouplingField::getDescription(), MEDCoupling::MEDCouplingField::getName(), MEDCoupling::MEDCouplingNatureOfField::GetReprNoThrow(), and MEDCoupling::MEDCouplingMesh::simpleRepr().
Referenced by advancedRepr().
std::string MEDCouplingFieldTemplate::advancedRepr | ( | ) | const |
References simpleRepr().
|
virtual |
Reimplemented from MEDCoupling::MEDCouplingField.
References MEDCoupling::MEDCouplingField::_mesh.
MCAuto< MEDCouplingFieldTemplate > MEDCouplingFieldTemplate::clone | ( | bool | recDeepCpy | ) | const |
void MEDCouplingFieldTemplate::getTinySerializationIntInformation | ( | std::vector< mcIdType > & | tinyInfo | ) | const |
void MEDCouplingFieldTemplate::getTinySerializationDbleInformation | ( | std::vector< double > & | tinyInfo | ) | const |
References MEDCoupling::MEDCouplingField::_type.
void MEDCouplingFieldTemplate::getTinySerializationStrInformation | ( | std::vector< std::string > & | tinyInfo | ) | const |
References MEDCoupling::MEDCouplingField::_desc, and MEDCoupling::MEDCouplingField::_name.
void MEDCouplingFieldTemplate::resizeForUnserialization | ( | const std::vector< mcIdType > & | tinyInfoI, |
DataArrayIdType *& | dataInt | ||
) |
References MEDCoupling::MEDCouplingField::_type.
void MEDCouplingFieldTemplate::finishUnserialization | ( | const std::vector< mcIdType > & | tinyInfoI, |
const std::vector< double > & | tinyInfoD, | ||
const std::vector< std::string > & | tinyInfoS | ||
) |
void MEDCouplingFieldTemplate::serialize | ( | DataArrayIdType *& | dataInt | ) | const |
References MEDCoupling::MEDCouplingField::_type.
|
virtual |
Implements MEDCoupling::MEDCouplingField.
References MEDCoupling::MEDCouplingField::_mesh, MEDCoupling::MEDCouplingField::_name, MEDCoupling::MEDCouplingField::_nature, MEDCoupling::MEDCouplingField::_type, MEDCoupling::MEDCouplingNatureOfField::GetRepr(), MEDCoupling::MEDCouplingFieldDiscretization::reprQuickOverview(), and MEDCoupling::MEDCouplingMesh::reprQuickOverview().