5 #ifndef DUNE_GEOGRID_HOSTCORNERS_HH 6 #define DUNE_GEOGRID_HOSTCORNERS_HH 8 #include <dune/geometry/type.hh> 20 template<
class HostEntity >
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_;
55 #endif // #ifndef DUNE_GEOGRID_HOSTCORNERS_HH HostCorners(const HostEntity &hostEntity)
Definition: hostcorners.hh:28
std::size_t size() const
Definition: hostcorners.hh:42
concept Geometry
Model of a geometry object.
Definition: concepts/geometry.hh:29
Include standard header files.
Definition: agrid.hh:59
GeometryType type() const
Definition: hostcorners.hh:32
Coordinate operator[](int i) const
Definition: hostcorners.hh:37
Definition: hostcorners.hh:21
GeometryType
Type representing VTK's entity geometry types.
Definition: common.hh:132
HostGeometry::GlobalCoordinate Coordinate
Definition: hostcorners.hh:26