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 |
MEDCouplingFieldDouble * | buildMeasureField (bool isAbs) const |
MEDCouplingMesh * | buildSubMeshData (const int *start, const int *end, DataArrayInt *&di) const |
MEDCouplingMesh * | buildSubMeshDataRange (int begin, int end, int step, int &beginOut, int &endOut, int &stepOut, DataArrayInt *&di) const |
void | clearGaussLocalizations () |
DataArrayInt * | computeTupleIdsToSelectFromCellIds (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 |
MEDCouplingFieldDiscretization * | getDiscretization () |
MEDCouplingGaussLocalization & | getGaussLocalization (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 |
DataArrayDouble * | getLocalizationOfDiscr () const |
const MEDCoupling::MEDCouplingMesh * | getMesh () const |
MEDCoupling::MEDCouplingMesh * | getMesh () |
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 |
TimeLabel & | operator= (const TimeLabel &other) |
Static Public Member Functions | |
static MEDCouplingFieldTemplate * | New (const MEDCouplingFieldDouble &f) |
static MEDCouplingFieldTemplate * | New (const MEDCouplingFieldInt &f) |
static MEDCouplingFieldTemplate * | New (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 |
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::MEDFileIntField1TS::ConvertFieldIntToFieldDouble(), MEDCoupling::MEDCouplingFieldInt::convertToDblField(), MEDCoupling::MEDCouplingFieldDouble::convertToIntField(), MEDCoupling::MEDCouplingRemapper::prepare(), and MEDCoupling::MEDFileIntField1TS::SetDataArrayDoubleInIntField().
|
static |
|
static |
The user should not use this method. Only useful for CORBA serialization/unserialization.
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.
void MEDCouplingFieldTemplate::getTinySerializationIntInformation | ( | std::vector< int > & | 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< int > & | tinyInfoI, |
DataArrayInt *& | dataInt | ||
) |
References MEDCoupling::MEDCouplingField::_type.
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 |
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().