#include <MEDCouplingFieldDiscretization.hxx>

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] |
| MEDCouplingFieldDiscretizationPerCell::~MEDCouplingFieldDiscretizationPerCell | ( | ) | [protected] |
| const DataArrayInt * MEDCouplingFieldDiscretizationPerCell::getArrayOfDiscIds | ( | ) | const |
| void MEDCouplingFieldDiscretizationPerCell::updateTime | ( | ) | const [protected, virtual] |
Reimplemented from ParaMEDMEM.MEDCouplingFieldDiscretization.
References ParaMEDMEM.MEDCouplingFieldDiscretizationPerCell._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.
References MED_test2.mesh.
| bool MEDCouplingFieldDiscretizationPerCell::isEqual | ( | const MEDCouplingFieldDiscretization * | other, |
| double | eps | ||
| ) | const [protected, virtual] |
Implements ParaMEDMEM.MEDCouplingFieldDiscretization.
Reimplemented in ParaMEDMEM.MEDCouplingFieldDiscretizationGauss.
References ParaMEDMEM.MEDCouplingFieldDiscretizationPerCell._discr_per_cell, and ParaMEDMEM.DataArrayInt.isEqual().
| bool MEDCouplingFieldDiscretizationPerCell::isEqualWithoutConsideringStr | ( | const MEDCouplingFieldDiscretization * | other, |
| double | eps | ||
| ) | const [protected, virtual] |
Reimplemented from ParaMEDMEM.MEDCouplingFieldDiscretization.
Reimplemented in ParaMEDMEM.MEDCouplingFieldDiscretizationGauss.
References ParaMEDMEM.MEDCouplingFieldDiscretizationPerCell._discr_per_cell, and ParaMEDMEM.DataArrayInt.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] |
References ParaMEDMEM.MEDCouplingFieldDiscretizationPerCell._discr_per_cell, ParaMEDMEM.DataArrayInt.alloc(), ParaMEDMEM.MEDCouplingFieldDiscretizationPerCell.DFT_INVALID_LOCID_VALUE, MEDMEM.fill(), ParaMEDMEM.MEDCouplingMesh.getNumberOfCells(), ParaMEDMEM.DataArrayInt.getPointer(), and ParaMEDMEM.MEDCouplingFieldDiscretization.New().
const int MEDCouplingFieldDiscretizationPerCell::DFT_INVALID_LOCID_VALUE = -1 [static, protected] |