

Public Member Functions | |
| TypeOfField | getEnum () const |
| MEDCouplingFieldDiscretization * | clone () const |
| const char * | getStringRepr () const |
| bool | isEqual (const MEDCouplingFieldDiscretization *other, double eps) const |
| int | getNumberOfTuples (const MEDCouplingMesh *mesh) const |
| int | getNumberOfMeshPlaces (const MEDCouplingMesh *mesh) const |
| DataArrayInt * | getOffsetArr (const MEDCouplingMesh *mesh) const |
| void | renumberArraysForCell (const MEDCouplingMesh *mesh, const std::vector< DataArrayDouble * > &arrays, const int *old2NewBg, bool check) throw (INTERP_KERNEL::Exception) |
| DataArrayDouble * | getLocalizationOfDiscValues (const MEDCouplingMesh *mesh) const |
| void | computeMeshRestrictionFromTupleIds (const MEDCouplingMesh *mesh, const int *partBg, const int *partEnd, DataArrayInt *&cellRest) |
| void | checkCompatibilityWithNature (NatureOfField nat) const throw (INTERP_KERNEL::Exception) |
| void | checkCoherencyBetween (const MEDCouplingMesh *mesh, const DataArrayDouble *da) const throw (INTERP_KERNEL::Exception) |
| MEDCouplingFieldDouble * | getMeasureField (const MEDCouplingMesh *mesh, bool isAbs) const |
| void | getValueOn (const DataArrayDouble *arr, const MEDCouplingMesh *mesh, const double *loc, double *res) const |
| void | getValueOnPos (const DataArrayDouble *arr, const MEDCouplingMesh *mesh, int i, int j, int k, double *res) const |
| DataArrayDouble * | getValueOnMulti (const DataArrayDouble *arr, const MEDCouplingMesh *mesh, const double *loc, int nbOfPoints) const |
| MEDCouplingMesh * | buildSubMeshData (const MEDCouplingMesh *mesh, const int *start, const int *end, DataArrayInt *&di) const |
| void | renumberValuesOnNodes (double epsOnVals, const int *old2New, DataArrayDouble *arr) const |
| void | renumberValuesOnCells (double epsOnVals, const MEDCouplingMesh *mesh, const int *old2New, DataArrayDouble *arr) const |
| void | renumberValuesOnCellsR (const MEDCouplingMesh *mesh, const int *new2old, int newSz, DataArrayDouble *arr) const |
Static Public Attributes | |
| static const char | REPR [] = "P1" |
| static const TypeOfField | TYPE = ON_NODES |
Protected Member Functions | |
| void | getValueInCell (const MEDCouplingMesh *mesh, int cellId, const DataArrayDouble *arr, const double *loc, double *res) const |
| TypeOfField MEDCouplingFieldDiscretizationP1::getEnum | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
References TYPE.
| MEDCouplingFieldDiscretization * MEDCouplingFieldDiscretizationP1::clone | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
| const char * MEDCouplingFieldDiscretizationP1::getStringRepr | ( | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
References REPR.
| bool MEDCouplingFieldDiscretizationP1::isEqual | ( | const MEDCouplingFieldDiscretization * | other, |
| double | eps | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
| int MEDCouplingFieldDiscretizationP1::getNumberOfTuples | ( | const MEDCouplingMesh * | mesh | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
References ParaMEDMEM::MEDCouplingMesh::getNumberOfNodes().
| int MEDCouplingFieldDiscretizationP1::getNumberOfMeshPlaces | ( | const MEDCouplingMesh * | mesh | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
References ParaMEDMEM::MEDCouplingMesh::getNumberOfNodes().
| DataArrayInt * MEDCouplingFieldDiscretizationP1::getOffsetArr | ( | const MEDCouplingMesh * | mesh | ) | const [virtual] |
| void MEDCouplingFieldDiscretizationP1::renumberArraysForCell | ( | const MEDCouplingMesh * | mesh, |
| const std::vector< DataArrayDouble * > & | arrays, | ||
| const int * | old2NewBg, | ||
| bool | check | ||
| ) | throw (INTERP_KERNEL::Exception) [virtual] |
Nothing to do here.
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
| DataArrayDouble * MEDCouplingFieldDiscretizationP1::getLocalizationOfDiscValues | ( | const MEDCouplingMesh * | mesh | ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
References ParaMEDMEM::MEDCouplingMesh::getCoordinatesAndOwner().
| void MEDCouplingFieldDiscretizationP1::computeMeshRestrictionFromTupleIds | ( | const MEDCouplingMesh * | mesh, |
| const int * | partBg, | ||
| const int * | partEnd, | ||
| DataArrayInt *& | cellRest | ||
| ) | [virtual] |
| void MEDCouplingFieldDiscretizationP1::checkCompatibilityWithNature | ( | NatureOfField | nat | ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
| void MEDCouplingFieldDiscretizationP1::checkCoherencyBetween | ( | const MEDCouplingMesh * | mesh, |
| const DataArrayDouble * | da | ||
| ) | const throw (INTERP_KERNEL::Exception) [virtual] |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
| MEDCouplingFieldDouble * MEDCouplingFieldDiscretizationP1::getMeasureField | ( | const MEDCouplingMesh * | mesh, |
| bool | isAbs | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
References ParaMEDMEM::MEDCouplingMesh::getMeasureFieldOnNode().
| void MEDCouplingFieldDiscretizationP1::getValueOn | ( | const DataArrayDouble * | arr, |
| const MEDCouplingMesh * | mesh, | ||
| const double * | loc, | ||
| double * | res | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
References ParaMEDMEM::MEDCouplingFieldDiscretization::_precision, ParaMEDMEM::MEDCouplingMesh::getCellContainingPoint(), ParaMEDMEM::MEDCouplingMesh::getTypeOfCell(), getValueInCell(), INTERP_KERNEL::NORM_SEG2, INTERP_KERNEL::NORM_TETRA4, and INTERP_KERNEL::NORM_TRI3.
| void MEDCouplingFieldDiscretizationP1::getValueOnPos | ( | const DataArrayDouble * | arr, |
| const MEDCouplingMesh * | mesh, | ||
| int | i, | ||
| int | j, | ||
| int | k, | ||
| double * | res | ||
| ) | const [virtual] |
| DataArrayDouble * MEDCouplingFieldDiscretizationP1::getValueOnMulti | ( | const DataArrayDouble * | arr, |
| const MEDCouplingMesh * | mesh, | ||
| const double * | loc, | ||
| int | nbOfPoints | ||
| ) | const [virtual] |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
References ParaMEDMEM::MEDCouplingFieldDiscretization::_precision, ParaMEDMEM::MEDCouplingMesh::getCellsContainingPoints(), ParaMEDMEM::DataArray::getNumberOfComponents(), ParaMEDMEM::MEDCouplingMesh::getSpaceDimension(), getValueInCell(), and ParaMEDMEM::MEDCouplingFieldDiscretization::New().
| MEDCouplingMesh * MEDCouplingFieldDiscretizationP1::buildSubMeshData | ( | const MEDCouplingMesh * | mesh, |
| const int * | start, | ||
| const int * | end, | ||
| DataArrayInt *& | di | ||
| ) | const [virtual] |
This method returns a submesh of 'mesh' instance constituting cell ids contained in array defined as an interval [start;end).
| di | is an array returned that specifies entity ids (here nodes ids) in mesh 'mesh' of entity in returned submesh. Example : The first node id of returned mesh has the (*di)[0] id in 'mesh' |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
References ParaMEDMEM::MEDCouplingMesh::buildPartAndReduceNodes(), ParaMEDMEM::RefCountObject::decrRef(), ParaMEDMEM::MEDCouplingMesh::getNumberOfNodes(), and ParaMEDMEM::DataArrayInt::invertArrayO2N2N2O().
| void MEDCouplingFieldDiscretizationP1::renumberValuesOnNodes | ( | double | epsOnVals, |
| const int * | old2New, | ||
| DataArrayDouble * | arr | ||
| ) | const [virtual] |
| void MEDCouplingFieldDiscretizationP1::renumberValuesOnCells | ( | double | epsOnVals, |
| const MEDCouplingMesh * | mesh, | ||
| const int * | old2New, | ||
| DataArrayDouble * | arr | ||
| ) | const [virtual] |
Nothing to do it's not a bug.
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
| void MEDCouplingFieldDiscretizationP1::renumberValuesOnCellsR | ( | const MEDCouplingMesh * | mesh, |
| const int * | new2old, | ||
| int | newSz, | ||
| DataArrayDouble * | arr | ||
| ) | const [virtual] |
Nothing to do it's not a bug.
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
| void MEDCouplingFieldDiscretizationP1::getValueInCell | ( | const MEDCouplingMesh * | mesh, |
| int | cellId, | ||
| const DataArrayDouble * | arr, | ||
| const double * | loc, | ||
| double * | res | ||
| ) | const [protected] |
This method localizes a point defined by 'loc' in a cell with id 'cellId' into mesh 'mesh'. The result is put into res expected to be of size at least arr->getNumberOfComponents()
References ParaMEDMEM::MEDCouplingMesh::getCoordinatesOfNode(), ParaMEDMEM::MEDCouplingMesh::getNodeIdsOfCell(), ParaMEDMEM::DataArray::getNumberOfComponents(), ParaMEDMEM::MEDCouplingMesh::getSpaceDimension(), and ParaMEDMEM::DataArrayDouble::getTuple().
Referenced by getValueOn(), and getValueOnMulti().
const char MEDCouplingFieldDiscretizationP1::REPR = "P1" [static] |
const TypeOfField MEDCouplingFieldDiscretizationP1::TYPE = ON_NODES [static] |