5#ifndef DUNE_GRID_YASPGRIDENTITYSEED_HH
6#define DUNE_GRID_YASPGRIDENTITYSEED_HH
16 template<
int codim,
class Gr
idImp>
20 constexpr static int dim = GridImp::dimension;
30 std::fill(
_c.begin(),
_c.end(),0);
45 const std::array<int, dim> &
coord()
const {
return _c; }
50 std::array<int, dim>
_c;
Include standard header files.
Definition: agrid.hh:60
Describes the minimal information necessary to create a fully functional YaspEntity.
Definition: yaspgridentityseed.hh:18
int _o
Definition: yaspgridentityseed.hh:51
std::array< int, dim > _c
Definition: yaspgridentityseed.hh:50
int _l
Definition: yaspgridentityseed.hh:49
int level() const
Definition: yaspgridentityseed.hh:44
YaspEntitySeed()
default construct an invalid entity seed
Definition: yaspgridentityseed.hh:27
YaspEntitySeed(int level, std::array< int, dim > coord, int o=0)
constructor
Definition: yaspgridentityseed.hh:34
int offset() const
Definition: yaspgridentityseed.hh:46
static constexpr int codimension
codimension of entity
Definition: yaspgridentityseed.hh:24
const std::array< int, dim > & coord() const
Definition: yaspgridentityseed.hh:45
bool isValid() const
check whether the EntitySeed refers to a valid Entity
Definition: yaspgridentityseed.hh:39