35#ifndef OPM_PARTITIONTYPEINDICATOR_HEADER
36#define OPM_PARTITIONTYPEINDICATOR_HEADER
39#include <dune/grid/common/gridenums.hh>
79 PartitionType getFacePartitionType(
int i)
const;
84 PartitionType getPointPartitionType(
int i)
const;
92 std::vector<char> cell_indicator_;
97 std::vector<char> point_indicator_;
99 friend class FacePartitionTypeIterator;
Struct that hods all the data needed to represent a Cpgrid.
Definition CpGridData.hpp:147
Represents an entity of a given codim, with positive or negative orientation.
Definition PartitionTypeIndicator.hpp:47
Definition PartitionTypeIndicator.hpp:46
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
PartitionType getPartitionTypeWhenLgrs(const Entity< 0 > &cell_entity, bool lgrsOnDistributedGrid) const
Get the partition type of a cell on a grid that has been distributed, and refined afterwards.
Definition PartitionTypeIndicator.cpp:19
Copyright 2019 Equinor AS.
Definition CartesianIndexMapper.hpp:10