1 #ifndef DUNE_LAGRANGECOEFFICIENTS_HH
2 #define DUNE_LAGRANGECOEFFICIENTS_HH
6 #include <dune/common/fvector.hh>
7 #include <dune/common/forloop.hh>
9 #include <dune/geometry/topologyfactory.hh>
10 #include <dune/geometry/genericgeometry/topologytypes.hh>
11 #include <dune/geometry/genericgeometry/subtopologies.hh>
19 template<
template <
class,
unsigned int>
class LP,
unsigned int dim,
class F >
22 template<
template <
class,
unsigned int>
class LP,
23 unsigned int dim,
class F>
28 typedef unsigned int Key;
32 template<
template <
class,
unsigned int>
class LP,
33 unsigned int dim,
class F>
35 public TopologyFactory< LagrangeCoefficientsFactoryTraits< LP,dim,F> >
45 if (order == 0 || !Object::template supports<T>(order))
47 typedef typename remove_const<Object>::type LagrangeCoefficients;
48 LagrangeCoefficients *
object =
new LagrangeCoefficients(order);
49 if ( !object->template build<T>() )
60 #endif // DUNE_LAGRANGECOEFFICIENTS_HH