2 #ifndef DUNE_PDELAB_FINITEELEMENTMAP_MIMETICFEM_HH
3 #define DUNE_PDELAB_FINITEELEMENTMAP_MIMETICFEM_HH
6 #include<dune/geometry/type.hh>
7 #include<dune/localfunctions/mimetic.hh>
13 template<
typename IIS,
typename D,
typename R,
int dim>
16 MimeticLocalFiniteElementMap<IIS,D,R,dim> >
18 typedef MimeticLocalFiniteElement<D,R,dim> FE;
26 : iis(iis_), bt(basicType)
31 for (
int i=0; i<20; i++) variant[i] = FE(bt,i);
35 template<
class EntityType>
38 size_t n =
static_cast<size_t>(iis.size(
e));
43 size_t old_n = variant.size();
45 for (
size_t i=old_n; i<n+1; i++) variant[i] = FE(bt,i);
52 Dune::GeometryType::BasicType bt;
53 mutable std::vector<FE> variant;
59 #endif // DUNE_PDELAB_FINITEELEMENTMAP_MIMETICFEM_HH