3#ifndef DUNE_PDELAB_GRIDFUNCTIONSPACE_POWERCOMPOSITEGRIDFUNCTIONSPACEBASE_HH
4#define DUNE_PDELAB_GRIDFUNCTIONSPACE_POWERCOMPOSITEGRIDFUNCTIONSPACEBASE_HH
11#include <dune/typetree/fixedcapacitystack.hh>
12#include <dune/typetree/traversal.hh>
13#include <dune/typetree/traversalutilities.hh>
14#include <dune/typetree/utility.hh>
15#include <dune/typetree/transformation.hh>
16#include <dune/typetree/visitor.hh>
18#include <dune/pdelab/constraints/common/constraintstransformation.hh>
19#include <dune/pdelab/constraints/noconstraints.hh>
20#include <dune/pdelab/gridfunctionspace/tags.hh>
21#include <dune/pdelab/gridfunctionspace/gridfunctionspacebase.hh>
22#include <dune/pdelab/ordering/lexicographicordering.hh>
23#include <dune/pdelab/ordering/entityblockedlocalordering.hh>
33 template<
typename G,
typename B,
typename O, std::
size_t k>
43 const static std::size_t CHILDREN = k;
47 using GridView =
typename EntitySet::GridView;
60 typedef O OrderingTag;
67 template<
typename Gr
idFunctionSpace,
typename GV,
typename B,
typename O, std::
size_t k>
69 :
public GridFunctionSpaceBase<
71 PowerCompositeGridFunctionSpaceTraits<GV,B,O,k>
96 typedef GridFunctionSpaceBase<GridFunctionSpace,Traits> BaseT;
100 typedef O OrderingTag;
105 if (not this->_entity_set)
106 return BaseT::_entity_set.emplace(gfs().
template child<0>().
entitySet());
107 return BaseT::entitySet();
113 if (not this->_entity_set)
114 return BaseT::_entity_set.emplace(gfs().
template child<0>().
entitySet());
115 return BaseT::entitySet();
119 : BaseT(backend,ordering_tag)
Grid view abstract base class.
Definition: gridview.hh:66
A grid function space.
Definition: gridfunctionspace.hh:191
Mixin class providing common functionality of PowerGridFunctionSpace and CompositeGridFunctionSpace.
Definition: powercompositegridfunctionspacebase.hh:73
const Traits::EntitySet & entitySet() const
get grid view partition
Definition: powercompositegridfunctionspacebase.hh:103
PowerCompositeGridFunctionSpaceTraits< GV, B, O, k > Traits
export traits class
Definition: powercompositegridfunctionspacebase.hh:92
GridView GridViewType
the grid view where grid function is defined upon
Definition: powercompositegridfunctionspacebase.hh:50
B BackendType
vector backend
Definition: powercompositegridfunctionspacebase.hh:53
B::size_type SizeType
short cut for size type exported by Backend
Definition: powercompositegridfunctionspacebase.hh:63
Traits::EntitySet & entitySet()
get grid view partition
Definition: powercompositegridfunctionspacebase.hh:111
O MapperType
mapper
Definition: powercompositegridfunctionspacebase.hh:58
@ isComposite
True if this grid function space is composed of others.
Definition: powercompositegridfunctionspacebase.hh:38
@ noChilds
number of child spaces
Definition: powercompositegridfunctionspacebase.hh:40
Dune namespace.
Definition: alignedallocator.hh:13
Trait class for the multi component grid function spaces.
Definition: powercompositegridfunctionspacebase.hh:35