3 #ifndef DUNE_LAGRANGECOEFFICIENTS_HH
4 #define DUNE_LAGRANGECOEFFICIENTS_HH
8 #include <dune/common/fvector.hh>
9 #include <dune/common/forloop.hh>
11 #include <dune/geometry/topologyfactory.hh>
12 #include <dune/geometry/genericgeometry/topologytypes.hh>
13 #include <dune/geometry/genericgeometry/subtopologies.hh>
21 template<
template <
class,
unsigned int>
class LP,
unsigned int dim,
class F >
22 struct LagrangeCoefficientsFactory;
24 template<
template <
class,
unsigned int>
class LP,
25 unsigned int dim,
class F>
30 typedef unsigned int Key;
34 template<
template <
class,
unsigned int>
class LP,
35 unsigned int dim,
class F>
47 if (order == 0 || !Object::template supports<T>(order))
49 typedef typename remove_const<Object>::type LagrangeCoefficients;
50 LagrangeCoefficients *
object =
new LagrangeCoefficients(order);
51 if ( !object->template build<T>() )
62 #endif // DUNE_LAGRANGECOEFFICIENTS_HH