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;
74 PartitionType getFacePartitionType(
int i)
const;
80 PartitionType getPointPartitionType(
int i)
const;
88 std::vector<char> cell_indicator_;
93 std::vector<char> point_indicator_;
95 friend class FacePartitionTypeIterator;
Struct that hods all the data needed to represent a Cpgrid.
Definition CpGridData.hpp:135
Represents an entity of a given codim, with positive or negative orientation.
Definition EntityRep.hpp:99
Definition PartitionTypeIndicator.hpp:50
PartitionType getPartitionType(const EntityRep< 0 > &cell_entity) const
Get the partition type of a cell.
Definition PartitionTypeIndicator.cpp:12
PartitionTypeIndicator(const CpGridData &data)
Constructor.
Definition PartitionTypeIndicator.hpp:54
Copyright 2019 Equinor AS.
Definition CartesianIndexMapper.hpp:10