3 #ifndef DUNE_GRID_HOSTGRIDACCESS_HH
4 #define DUNE_GRID_HOSTGRIDACCESS_HH
16 template<
class HostGr
id,
class CoordFunction,
class Allocator >
24 template<
class Gr
id >
36 template<
class HG,
class CoordFunction,
class Allocator >
86 template<
class Entity >
87 static const typename Codim< Entity::codimension >::HostEntity &
90 return hostEntity< Entity::codimension >( entity );
94 static const typename Codim< codim >::HostEntity &
97 return Grid::getRealImplementation( entity ).hostEntity();
100 template<
class HostIntersection >
101 static const HostIntersection &
104 return Grid::getRealImplementation( intersection ).hostIntersection();
110 #endif // #ifndef DUNE_GRID_HOSTGRIDACCESS_HH
GeometryGrid< HG, CoordFunction, Allocator > Grid
Definition: hostgridaccess.hh:42
Grid::template Codim< codim >::EntityPointer EntityPointer
type of the GeometryGrid entity pointer
Definition: hostgridaccess.hh:59
Wrapper class for entities.
Definition: common/entity.hh:56
HostGrid::template Codim< codim >::Entity HostEntity
type of the host entity
Definition: hostgridaccess.hh:62
Grid::template Codim< codim >::Entity Entity
type of the GeometryGrid entity
Definition: hostgridaccess.hh:57
const HostGrid & hostGrid() const
Definition: geometrygrid/grid.hh:696
Grid::Traits::LeafIntersection LeafIntersection
type of the GeometryGrid leaf intersection
Definition: hostgridaccess.hh:68
Grid::HostGrid HostGrid
type of HostGrid
Definition: hostgridaccess.hh:45
static const HostGrid & hostGrid(const Grid &grid)
Get underlying HostGrid.
Definition: hostgridaccess.hh:81
Definition: geometrygrid/intersection.hh:20
static const HostIntersection & hostIntersection(const Intersection< const Grid, GeoGrid::Intersection< const Grid, HostIntersection > > &intersection)
Definition: hostgridaccess.hh:102
static const Codim< Entity::codimension >::HostEntity & hostEntity(const Entity &entity)
Definition: hostgridaccess.hh:88
Intersection of a mesh entities of codimension 0 ("elements") with a "neighboring" element or with th...
Definition: albertagrid/dgfparser.hh:26
HostGrid::template Codim< codim >::EntityPointer HostEntityPointer
type of the host entity pointer
Definition: hostgridaccess.hh:64
HostGrid::Traits::LevelIntersection HostLevelIntersection
type of the host level intersection
Definition: hostgridaccess.hh:75
provides access to host grid objects
Definition: hostgridaccess.hh:25
HostGrid::Traits::LeafIntersection HostLeafIntersection
type of the host leaf intersection
Definition: hostgridaccess.hh:73
Grid::Traits::LevelIntersection LevelIntersection
type of the GeometryGrid level intersection
Definition: hostgridaccess.hh:70
grid wrapper replacing the geometriesGeometryGrid wraps another DUNE grid and replaces its geometry b...
Definition: geometrygrid/declaration.hh:10
static const Codim< codim >::HostEntity & hostEntity(const typename Codim< codim >::Entity &entity)
Definition: hostgridaccess.hh:95