Dune::cpgrid::PartitionTypeIndicator Class Reference

#include <PartitionTypeIndicator.hpp>

Public Member Functions

 PartitionTypeIndicator (const CpGridData &data)
 
PartitionType getPartitionType (const EntityRep< 0 > &cell_entity) const
 
PartitionType getPartitionType (const EntityRep< 1 > &face_entity) const
 
PartitionType getPartitionType (const EntityRep< 3 > &point_entity) const
 

Friends

class CpGridData
 
class FacePartitionTypeIterator
 

Constructor & Destructor Documentation

◆ PartitionTypeIndicator()

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

Constructor

Parameters
dataThe data of the cornerpoint grid.

Member Function Documentation

◆ getPartitionType() [1/3]

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.

◆ getPartitionType() [2/3]

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.

◆ getPartitionType() [3/3]

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.

Friends And Related Function Documentation

◆ CpGridData

friend class CpGridData
friend

◆ FacePartitionTypeIterator

friend class FacePartitionTypeIterator
friend

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