

Public Member Functions | |
| const DataArrayInt * | getArrayOfDiscIds () const |
Protected Member Functions | |
| MEDCouplingFieldDiscretizationPerCell () | |
| MEDCouplingFieldDiscretizationPerCell (const MEDCouplingFieldDiscretizationPerCell &other) | |
| ~MEDCouplingFieldDiscretizationPerCell () | |
| void | updateTime () const |
| void | checkCoherencyBetween (const MEDCouplingMesh *mesh, const DataArrayDouble *da) const throw (INTERP_KERNEL::Exception) |
| bool | isEqual (const MEDCouplingFieldDiscretization *other, double eps) const |
| bool | isEqualWithoutConsideringStr (const MEDCouplingFieldDiscretization *other, double eps) const |
| void | renumberCells (const int *old2NewBg, bool check) throw (INTERP_KERNEL::Exception) |
| void | checkNoOrphanCells () const throw (INTERP_KERNEL::Exception) |
| void | buildDiscrPerCellIfNecessary (const MEDCouplingMesh *m) |
Protected Attributes | |
| DataArrayInt * | _discr_per_cell |
Static Protected Attributes | |
| static const int | DFT_INVALID_LOCID_VALUE = -1 |
This class abstracts MEDCouplingFieldDiscretization that needs an information on each cell to perform their job. All classes that inherits from this are more linked to mesh.
| MEDCouplingFieldDiscretizationPerCell::MEDCouplingFieldDiscretizationPerCell | ( | ) | [protected] |
| MEDCouplingFieldDiscretizationPerCell::MEDCouplingFieldDiscretizationPerCell | ( | const MEDCouplingFieldDiscretizationPerCell & | other | ) | [protected] |
References _discr_per_cell, and ParaMEDMEM::DataArrayInt::deepCpy().
| MEDCouplingFieldDiscretizationPerCell::~MEDCouplingFieldDiscretizationPerCell | ( | ) | [protected] |
References _discr_per_cell, and ParaMEDMEM::RefCountObject::decrRef().
| const DataArrayInt * MEDCouplingFieldDiscretizationPerCell::getArrayOfDiscIds | ( | ) | const |
References _discr_per_cell.
| void MEDCouplingFieldDiscretizationPerCell::updateTime | ( | ) | const [protected, virtual] |
Excepted for MEDCouplingFieldDiscretizationPerCell no underlying TimeLabel object : nothing to do in generally.
Reimplemented from ParaMEDMEM::MEDCouplingFieldDiscretization.
References _discr_per_cell, and ParaMEDMEM::TimeLabel::updateTimeWith().
| void MEDCouplingFieldDiscretizationPerCell::checkCoherencyBetween | ( | const MEDCouplingMesh * | mesh, |
| const DataArrayDouble * | da | ||
| ) | const throw (INTERP_KERNEL::Exception) [protected, virtual] |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
Reimplemented in ParaMEDMEM::MEDCouplingFieldDiscretizationGauss.
Referenced by ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::checkCoherencyBetween().
| bool MEDCouplingFieldDiscretizationPerCell::isEqual | ( | const MEDCouplingFieldDiscretization * | other, |
| double | eps | ||
| ) | const [protected, virtual] |
Implements ParaMEDMEM::MEDCouplingFieldDiscretization.
Reimplemented in ParaMEDMEM::MEDCouplingFieldDiscretizationGauss.
References _discr_per_cell, and ParaMEDMEM::DataArrayInt::isEqual().
Referenced by ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::isEqual().
| bool MEDCouplingFieldDiscretizationPerCell::isEqualWithoutConsideringStr | ( | const MEDCouplingFieldDiscretization * | other, |
| double | eps | ||
| ) | const [protected, virtual] |
Reimplemented from ParaMEDMEM::MEDCouplingFieldDiscretization.
Reimplemented in ParaMEDMEM::MEDCouplingFieldDiscretizationGauss.
References _discr_per_cell, and ParaMEDMEM::DataArrayInt::isEqualWithoutConsideringStr().
Referenced by ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::isEqualWithoutConsideringStr().
| void MEDCouplingFieldDiscretizationPerCell::renumberCells | ( | const int * | old2NewBg, |
| bool | check | ||
| ) | throw (INTERP_KERNEL::Exception) [protected, virtual] |
This method is typically the first step of renumbering. The impact on _discr_per_cell is necessary here. virtualy by this method.
Reimplemented from ParaMEDMEM::MEDCouplingFieldDiscretization.
References ParaMEDMEM::DataArrayInt::CheckAndPreparePermutation(), ParaMEDMEM::RefCountObject::decrRef(), and ParaMEDMEM::DataArrayInt::renumber().
| void MEDCouplingFieldDiscretizationPerCell::checkNoOrphanCells | ( | ) | const throw (INTERP_KERNEL::Exception) [protected] |
| void MEDCouplingFieldDiscretizationPerCell::buildDiscrPerCellIfNecessary | ( | const MEDCouplingMesh * | m | ) | [protected] |
Referenced by buildDiscrPerCellIfNecessary(), ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::buildNbOfGaussPointPerCellField(), checkNoOrphanCells(), ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::clearGaussLocalizations(), getArrayOfDiscIds(), ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::getNumberOfTuples(), ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::getOffsetArr(), ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::getSerializationIntArray(), ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::getTinySerializationIntInformation(), isEqual(), isEqualWithoutConsideringStr(), MEDCouplingFieldDiscretizationPerCell(), ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::resizeForUnserialization(), ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::splitIntoSingleGaussDicrPerCellType(), updateTime(), ParaMEDMEM::MEDCouplingFieldDiscretizationGauss::zipGaussLocalizations(), and ~MEDCouplingFieldDiscretizationPerCell().
const int MEDCouplingFieldDiscretizationPerCell::DFT_INVALID_LOCID_VALUE = -1 [static, protected] |