3#ifndef DUNE_GEOGRID_HOSTCORNERS_HH
4#define DUNE_GEOGRID_HOSTCORNERS_HH
6#include <dune/geometry/type.hh>
18 template<
class HostEntity >
21 typedef typename HostEntity::Geometry HostGeometry;
24 typedef typename HostGeometry::GlobalCoordinate
Coordinate;
27 : hostGeometry_( hostEntity.geometry() )
32 return hostGeometry_.type();
37 return hostGeometry_.corner( i );
42 return hostGeometry_.corners();
46 HostGeometry hostGeometry_;
Include standard header files.
Definition agrid.hh:60
Definition hostcorners.hh:20
GeometryType type() const
Definition hostcorners.hh:30
Coordinate operator[](int i) const
Definition hostcorners.hh:35
HostCorners(const HostEntity &hostEntity)
Definition hostcorners.hh:26
HostGeometry::GlobalCoordinate Coordinate
Definition hostcorners.hh:24
std::size_t size() const
Definition hostcorners.hh:40