All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Dune::cpgrid::PartitionTypeIndicator Class Reference

Public Member Functions

 PartitionTypeIndicator (const CpGridData &data)
 Constructor. More...
 
PartitionType getPartitionType (const EntityRep< 0 > &cell_entity) const
 Get the partition type of a cell. More...
 
PartitionType getPartitionType (const EntityRep< 1 > &face_entity) const
 Get the partition type of a face. More...
 
PartitionType getPartitionType (const EntityRep< 3 > &point_entity) const
 Get the partition type of a point. More...
 

Friends

class CpGridData
 
class FacePartitionTypeIterator
 

Constructor & Destructor Documentation

Dune::cpgrid::PartitionTypeIndicator::PartitionTypeIndicator ( const CpGridData data)
inline

Constructor.

Parameters
dataThe data of the cornerpoint grid.

Member Function Documentation

PartitionType Dune::cpgrid::PartitionTypeIndicator::getPartitionType ( const EntityRep< 0 > &  cell_entity) const

Get the partition type of a cell.

Parameters
cell_entityThe entity describing the cell
Returns
The partition type of the cell.
PartitionType Dune::cpgrid::PartitionTypeIndicator::getPartitionType ( const EntityRep< 1 > &  face_entity) const

Get the partition type of a face.

Parameters
face_entityThe entity describing the face
Returns
The partition type of the face.
PartitionType Dune::cpgrid::PartitionTypeIndicator::getPartitionType ( const EntityRep< 3 > &  point_entity) const

Get the partition type of a point.

Parameters
point_entityThe entity describing the point.
Returns
The partition type of the point.

The documentation for this class was generated from the following files: