5#ifndef DUNE_GEOGRID_HOSTCORNERS_HH
6#define DUNE_GEOGRID_HOSTCORNERS_HH
8#include <dune/geometry/type.hh>
20 template<
class HostEntity >
23 typedef typename HostEntity::Geometry HostGeometry;
26 typedef typename HostGeometry::GlobalCoordinate
Coordinate;
29 : hostGeometry_( hostEntity.geometry() )
34 return hostGeometry_.type();
39 return hostGeometry_.corner( i );
44 return hostGeometry_.corners();
48 HostGeometry hostGeometry_;
Include standard header files.
Definition: agrid.hh:60
GeometryType
Type representing VTK's entity geometry types.
Definition: common.hh:132
Definition: hostcorners.hh:22
GeometryType type() const
Definition: hostcorners.hh:32
Coordinate operator[](int i) const
Definition: hostcorners.hh:37
HostCorners(const HostEntity &hostEntity)
Definition: hostcorners.hh:28
HostGeometry::GlobalCoordinate Coordinate
Definition: hostcorners.hh:26
std::size_t size() const
Definition: hostcorners.hh:42