35#ifndef OPM_PARTITIONTYPEINDICATOR_HEADER
36#define OPM_PARTITIONTYPEINDICATOR_HEADER
39#include <dune/grid/common/gridenums.hh>
46template<
int>
class Entity;
47template<
int>
class EntityRep;
76 PartitionType getFacePartitionType(
int i)
const;
81 PartitionType getPointPartitionType(
int i)
const;
89 std::vector<char> cell_indicator_;
94 std::vector<char> point_indicator_;
96 friend class FacePartitionTypeIterator;
Struct that hods all the data needed to represent a Cpgrid.
Definition CpGridData.hpp:138
Represents an entity of a given codim, with positive or negative orientation.
Definition EntityRep.hpp:99
Definition PartitionTypeIndicator.hpp:50
PartitionTypeIndicator(const CpGridData &data)
Constructor.
Definition PartitionTypeIndicator.hpp:54
PartitionType getPartitionType(const Entity< 0 > &cell_entity) const
Get the partition type of a cell.
Definition PartitionTypeIndicator.cpp:12
The namespace Dune is the main namespace for all Dune code.
Definition CartesianIndexMapper.hpp:10