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
39 const Field weight ()
const
52 template<
class F,
unsigned int dim >
55 typedef EmptyPointSet< F, dim > This;
60 static const unsigned int dimension = dim;
62 typedef Dune::LagrangePoint< Field, dimension > LagrangePoint;
64 typedef typename std::vector< LagrangePoint >::const_iterator iterator;
67 EmptyPointSet (
const std::size_t order )
72 const LagrangePoint &operator[] (
const unsigned int i )
const
78 iterator begin ()
const
80 return points_.begin();
88 const LocalKey &localKey (
const unsigned int i )
const
90 return (*
this)[ i ].localKey();
93 std::size_t order ()
const
98 std::size_t size ()
const
100 return points_.size();
105 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:11