3 #ifndef DUNE_GRID_YASPGRIDENTITYPOINTER_HH
4 #define DUNE_GRID_YASPGRIDENTITYPOINTER_HH
14 template<
int codim,
class Gr
idImp>
15 class YaspEntityPointer
18 enum { dim=GridImp::dimension };
20 typedef typename GridImp::ctype ctype;
23 typedef typename GridImp::template Codim<codim>::Entity
Entity;
24 typedef typename GridImp::YGridLevelIterator
YGLI;
25 typedef typename GridImp::YGrid::Iterator
I;
48 #if not (defined(__GNUC__) && (__GNUC__ < 5) && (__GNUC_MINOR__ < 5))
70 return (
_entity == rhs._entity);
90 #endif // DUNE_GRID_YASPGRIDENTITYPOINTER_HH
YaspEntity< codim, dim, GridImp > YaspEntityImp
Definition: yaspgridentitypointer.hh:28
Entity _entity
use default assignment operator
Definition: yaspgridentitypointer.hh:85
YaspEntityPointer(const YGLI &g, const I &it)
constructor
Definition: yaspgridentitypointer.hh:40
int level() const
ask for level of entity
Definition: yaspgridentitypointer.hh:80
static void(*)(*)(*)(*)(*)(*) move(const double *)
Definition: partitiondisplay.cc:122
YaspEntityPointer()
default constructor
Definition: yaspgridentitypointer.hh:35
Definition: yaspgrid.hh:58
A pointer to a YaspGrid::Entity.
Definition: yaspgrid.hh:59
const Entity & dereference() const
dereferencing
Definition: yaspgridentitypointer.hh:74
GridImp::YGrid::Iterator I
Definition: yaspgridentitypointer.hh:25
GridImp::YGridLevelIterator YGLI
Definition: yaspgridentitypointer.hh:24
YaspEntityPointer< codim, GridImp > EntityPointerImp
Definition: yaspgridentitypointer.hh:26
GridImp::template Codim< codim >::Entity Entity
Definition: yaspgridentitypointer.hh:23
Include standard header files.
Definition: agrid.hh:59
YaspEntityPointer(const YaspEntityImp &entity)
copying and moving
Definition: yaspgridentitypointer.hh:57
Definition: yaspgridentitypointer.hh:32
bool equals(const YaspEntityPointer &rhs) const
copying and moving – use default implementations
Definition: yaspgridentitypointer.hh:68
YaspEntityPointer(YaspEntityImp &&entity)
Definition: yaspgridentitypointer.hh:61