3 #ifndef DUNE_LAGRANGECOEFFICIENTS_HH 4 #define DUNE_LAGRANGECOEFFICIENTS_HH 8 #include <dune/common/fvector.hh> 10 #include <dune/geometry/topologyfactory.hh> 11 #include <dune/geometry/type.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> >
39 typedef typename Traits::Object
Object;
45 if (order == 0 || !Object::template supports<T>(order))
47 typedef typename std::remove_const<Object>::type LagrangeCoefficients;
48 LagrangeCoefficients *
object =
new LagrangeCoefficients(order);
49 if ( !object->template build<T>() )
60 #endif // DUNE_LAGRANGECOEFFICIENTS_HH LagrangeCoefficientsFactory< LP, dim, F > Factory
Definition: lagrangecoefficients.hh:29
Definition: lagrangecoefficients.hh:24
Definition: lagrangecoefficients.hh:20
unsigned int Key
Definition: lagrangecoefficients.hh:28
LagrangeCoefficientsFactoryTraits< LP, dim, F > Traits
Definition: lagrangecoefficients.hh:37
Definition: brezzidouglasmarini1cube2dlocalbasis.hh:15
Traits::Object Object
Definition: lagrangecoefficients.hh:39
static Object * createObject(const Key &order)
Definition: lagrangecoefficients.hh:43
Traits::Key Key
Definition: lagrangecoefficients.hh:40
static const unsigned int dimension
Definition: lagrangecoefficients.hh:26
const typedef LP< F, dim > Object
Definition: lagrangecoefficients.hh:27