1#ifndef DUNE_FOAMGRID_ENTITY_POINTER_HH
2#define DUNE_FOAMGRID_ENTITY_POINTER_HH
3#warning "This header is deprecated and will be removed after release 2.7"
10#include <dune/common/deprecated.hh>
18template<
int codim,
class Gr
idImp>
19class DUNE_DEPRECATED_MSG(
"FoamGridEntityPointer is deprecated and will be removed after release 2.7")
FoamGridEntityPointer
23 enum { dimgrid = GridImp::dimension };
24 enum { dimworld = GridImp::dimensionworld };
26 typedef typename GridImp::ctype ctype;
35 enum { codimension = codim };
37 typedef typename GridImp::template Codim<codim>::Entity
Entity;
45 : virtualEntity_(entity)
51 virtualEntity_.impl().setToTarget(&*it);
57 virtualEntity_.impl().setToTarget(it);
67 return virtualEntity_;
72 return virtualEntity_.level();
The FoamGridEntity class.
The implementation of entities in a FoamGrid.
Definition: foamgridentity.hh:54
Definition: foamgridentitypointer.hh:20
GridImp::template Codim< codim >::Entity Entity
Definition: foamgridentitypointer.hh:37
FoamGridEntityPointer(const FoamGridEntityImp< dimgrid-codim, dimgrid, dimworld, ctype > *it)
Definition: foamgridentitypointer.hh:54
FoamGridEntityPointer EntityPointerImp
Definition: foamgridentitypointer.hh:32
FoamGridEntityPointer(const FoamGridEntity< codim, dimgrid, GridImp > &entity)
Constructor from a FoamGrid entity.
Definition: foamgridentitypointer.hh:44
FoamGridEntityPointer(const typename std::list< FoamGridEntityImp< dimgrid-codim, dimgrid, dimworld, ctype > >::const_iterator &it)
Definition: foamgridentitypointer.hh:48
bool equals(const FoamGridEntityPointer< codim, GridImp > &other) const
equality
Definition: foamgridentitypointer.hh:61
int level() const
ask for level of entity
Definition: foamgridentitypointer.hh:71
const Entity & dereference() const
dereferencing
Definition: foamgridentitypointer.hh:66
FoamGridEntityPointer()
Definition: foamgridentitypointer.hh:39
Entity virtualEntity_
virtual entity
Definition: foamgridentitypointer.hh:77
The actual entity implementation.
Definition: foamgridvertex.hh:47