1#ifndef DUNE_COPASI_GRID_BOUNDARY_ENTITY_MAPPER_HH
2#define DUNE_COPASI_GRID_BOUNDARY_ENTITY_MAPPER_HH
4#include <dune-copasi-config.hh>
6#include <dune/grid/common/mcmgmapper.hh>
7#include <dune/grid/common/rangegenerators.hh>
9#include <dune/grid/concepts/gridview.hh>
24template<Dune::Concept::Gr
idView Gr
idView>
30 , _boundary(_mapper.size(),
false)
37 for (std::size_t
codim = 1;
codim != (GridView::dimension+1); ++
codim) {
42 _boundary[
idx] =
true;
Mapper of boundary entities.
Definition boundary_entity_mapper.hh:26
std::vector< bool > _boundary
Definition boundary_entity_mapper.hh:57
MultipleCodimMultipleGeomTypeMapper< GridView > _mapper
Definition boundary_entity_mapper.hh:56
BoundaryEntityMapper(GridView grid_view)
Definition boundary_entity_mapper.hh:28
bool isBoundary(const auto &entity, auto local_index, auto codim) const
Whether a sub-entity is in the boundary of the grid view.
Definition boundary_entity_mapper.hh:51
Definition axis_names.hh:7
constexpr bool is_bitflags_v
Alias for Bitflag indicator.
Definition bit_flags.hh:24