5#ifndef DUNE_LAGRANGE_EMPTYPOINTS_HH
6#define DUNE_LAGRANGE_EMPTYPOINTS_HH
11#include <dune/localfunctions/common/localkey.hh>
16 template<
class F,
unsigned int dim >
19 typedef LagrangePoint< F, dim > This;
21 template<
class,
class >
22 friend class LagrangePointSetImpl;
25 static const int dimension = dim;
31 const Vector &point ()
const
36 const LocalKey &localKey ()
const
41 const Field weight ()
const
47 LocalKey localKey_ = {};
54 template<
class F,
unsigned int dim >
57 typedef EmptyPointSet< F, dim > This;
62 static const unsigned int dimension = dim;
64 typedef Dune::LagrangePoint< Field, dimension > LagrangePoint;
66 typedef typename std::vector< LagrangePoint >::const_iterator iterator;
69 EmptyPointSet (
const std::size_t order )
74 const LagrangePoint &operator[] (
const unsigned int i )
const
80 iterator begin ()
const
82 return points_.begin();
90 const LocalKey &localKey (
const unsigned int i )
const
92 return (*
this)[ i ].localKey();
95 std::size_t order ()
const
100 std::size_t size ()
const
102 return points_.size();
107 std::vector< LagrangePoint > points_;
Implements a vector constructed from a given type representing a field and a compile-time given size.
Dune namespace.
Definition: alignedallocator.hh:13