Version: 6.3.1
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes

ParaMEDMEM.MEDCouplingFieldDiscretizationPerCell Class Reference

#include <MEDCouplingFieldDiscretization.hxx>

Inheritance diagram for ParaMEDMEM.MEDCouplingFieldDiscretizationPerCell:
Inheritance graph

Public Member Functions

const DataArrayIntgetArrayOfDiscIds () 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

Detailed Description

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.


Constructor & Destructor Documentation

MEDCouplingFieldDiscretizationPerCell::MEDCouplingFieldDiscretizationPerCell ( ) [protected]
MEDCouplingFieldDiscretizationPerCell::MEDCouplingFieldDiscretizationPerCell ( const MEDCouplingFieldDiscretizationPerCell other) [protected]
MEDCouplingFieldDiscretizationPerCell::~MEDCouplingFieldDiscretizationPerCell ( ) [protected]

Member Function Documentation

const DataArrayInt * MEDCouplingFieldDiscretizationPerCell::getArrayOfDiscIds ( ) const
void MEDCouplingFieldDiscretizationPerCell::updateTime ( ) const [protected, virtual]
void MEDCouplingFieldDiscretizationPerCell::checkCoherencyBetween ( const MEDCouplingMesh mesh,
const DataArrayDouble da 
) const throw (INTERP_KERNEL::Exception) [protected, virtual]
bool MEDCouplingFieldDiscretizationPerCell::isEqual ( const MEDCouplingFieldDiscretization other,
double  eps 
) const [protected, virtual]
bool MEDCouplingFieldDiscretizationPerCell::isEqualWithoutConsideringStr ( const MEDCouplingFieldDiscretization other,
double  eps 
) const [protected, virtual]
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]

Field Documentation

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS