3 #ifndef DUNE_GRID_YASPGRIDENTITYSEED_HH 4 #define DUNE_GRID_YASPGRIDENTITYSEED_HH 14 template<
int codim,
class Gr
idImp>
18 enum { dim=GridImp::dimension };
28 std::fill(
_c.begin(),
_c.end(),0);
33 :
_l(level),
_c(coord),
_o(o)
48 const std::array<int, dim> &
coord()
const {
return _c; }
53 std::array<int, dim>
_c;
59 #endif // DUNE_GRID_YASPGRIDENTITYSEED_HH Include standard header files.
Definition: agrid.hh:58
Describes the minimal information necessary to create a fully functional YaspEntity.
Definition: yaspgrid.hh:61
int _l
Definition: yaspgridentityseed.hh:52
const std::array< int, dim > & coord() const
Definition: yaspgridentityseed.hh:48
YaspEntitySeed(const YaspEntitySeed &rhs)
copy constructor
Definition: yaspgridentityseed.hh:37
int _o
Definition: yaspgridentityseed.hh:54
YaspEntitySeed()
default construct an invalid entity seed
Definition: yaspgridentityseed.hh:25
int level() const
Definition: yaspgridentityseed.hh:47
YaspEntitySeed(int level, std::array< int, dim > coord, int o=0)
constructor
Definition: yaspgridentityseed.hh:32
int offset() const
Definition: yaspgridentityseed.hh:49
bool isValid() const
check whether the EntitySeed refers to a valid Entity
Definition: yaspgridentityseed.hh:42
std::array< int, dim > _c
Definition: yaspgridentityseed.hh:53
Definition: yaspgridentityseed.hh:22