3#ifndef DUNE_LAGRANGE_EMPTYPOINTS_HH
4#define DUNE_LAGRANGE_EMPTYPOINTS_HH
9#include <dune/localfunctions/common/localkey.hh>
14 template<
class F,
unsigned int dim >
17 typedef LagrangePoint< F, dim > This;
19 template<
class,
class >
20 friend class LagrangePointSetImpl;
23 static const int dimension = dim;
29 const Vector &point ()
const
34 const LocalKey &localKey ()
const
46 template<
class F,
unsigned int dim >
49 typedef EmptyPointSet< F, dim > This;
54 static const unsigned int dimension = dim;
56 typedef Dune::LagrangePoint< Field, dimension > LagrangePoint;
58 typedef typename std::vector< LagrangePoint >::const_iterator iterator;
61 EmptyPointSet (
const unsigned int order )
66 const LagrangePoint &operator[] (
const unsigned int i )
const
72 iterator begin ()
const
74 return points_.begin();
82 const LocalKey &localKey (
const unsigned int i )
const
84 return (*
this)[ i ].localKey();
87 unsigned int order ()
const
92 unsigned int size ()
const
94 return points_.size();
99 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:10