|
opm-grid
|
Public Member Functions | |
| PartitionTypeIndicator (const CpGridData &data) | |
| Constructor. | |
| PartitionType | getPartitionType (const Entity< 0 > &cell_entity) const |
| Get the partition type of a cell. | |
| PartitionType | getPartitionType (const EntityRep< 1 > &face_entity) const |
| Get the partition type of a face. | |
| PartitionType | getPartitionType (const EntityRep< 3 > &point_entity) const |
| Get the partition type of a point. | |
Friends | |
| class | CpGridData |
| class | FacePartitionTypeIterator |
|
inlineexplicit |
Constructor.
| data | The data of the cornerpoint grid. |
| PartitionType Dune::cpgrid::PartitionTypeIndicator::getPartitionType | ( | const Entity< 0 > & | cell_entity | ) | const |
Get the partition type of a cell.
Distributed level zero grid, added LGRs afterwards: When the cell belongs to a refined level grid, partition type is inherited from its parent cell from level zero.
| cell_entity | The entity describing the cell |
| PartitionType Dune::cpgrid::PartitionTypeIndicator::getPartitionType | ( | const EntityRep< 1 > & | face_entity | ) | const |
Get the partition type of a face.
| face_entity | The entity describing the face |
| PartitionType Dune::cpgrid::PartitionTypeIndicator::getPartitionType | ( | const EntityRep< 3 > & | point_entity | ) | const |
Get the partition type of a point.
| point_entity | The entity describing the point. |