Go to the documentation of this file.
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_;
53 #endif // #ifndef DUNE_GEOGRID_HOSTCORNERS_HH
Definition: hostcorners.hh:19
GeometryType type() const
Definition: hostcorners.hh:30
std::size_t size() const
Definition: hostcorners.hh:40
HostCorners(const HostEntity &hostEntity)
Definition: hostcorners.hh:26
Coordinate operator[](int i) const
Definition: hostcorners.hh:35
HostGeometry::GlobalCoordinate Coordinate
Definition: hostcorners.hh:24
Include standard header files.
Definition: agrid.hh:58
GeometryType
Type representing VTK's entity geometry types.
Definition: common.hh:180