1#ifndef DUNE_FEM_SPACE_DISCONTINUOUSGALERKIN_SPACE_HH
2#define DUNE_FEM_SPACE_DISCONTINUOUSGALERKIN_SPACE_HH
6#include <dune/geometry/type.hh>
8#include <dune/grid/common/gridenums.hh>
35 template<
class FunctionSpace,
class Gr
idPart,
int polOrder,
class Storage >
47 GridPartType::dimension, 1
56 OrthonormalShapeFunctions< ScalarShapeFunctionSpaceType::dimDomain >::size(polOrder);
80 template <
class DiscreteFunction,
class Operation = DFCommunicationOperation::Copy >
93 template<
class FunctionSpace,
class Gr
idPart,
int polOrder,
class Storage = CachingStorage >
116 const InterfaceType commInterface = InteriorBorder_All_Interface,
117 const CommunicationDirection commDirection = ForwardCommunication )
140 typedef typename BasisFunctionSetsType::ShapeFunctionSetsType ShapeFunctionSetsType;
141 ShapeFunctionSetsType shapeFunctionSets(
gridPart );
148 namespace Capabilities
151 template<
class FunctionSpace,
class Gr
idPart,
int polOrder,
class Storage >
154 static const bool v =
true;
157 template<
class FunctionSpace,
class Gr
idPart,
int polOrder,
class Storage >
160 static const bool v =
true;
164 template<
class FunctionSpace,
class Gr
idPart,
int polOrder,
class Storage >
167 static const bool v =
false;
170 template<
class FunctionSpace,
class Gr
idPart,
int polOrder,
class Storage >
173 static const bool v =
true;
176 template<
class FunctionSpace,
class Gr
idPart,
int polOrder,
class Storage >
179 static const bool v =
true;
182 template<
class FunctionSpace,
class Gr
idPart,
int polOrder,
class Storage >
185 static const bool v =
false;
188 template<
class FunctionSpace,
class Gr
idPart,
int polOrder,
class Storage >
191 static const bool v =
true;
194 template<
class FunctionSpace,
class Gr
idPart,
int polOrder,
class Storage >
197 static const bool v =
true;
Definition: bindguard.hh:11
typename Impl::GridFunctionSpace< GridPart, T >::Type GridFunctionSpace
Definition: functionspace.hh:317
Definition: space/basisfunctionset/default.hh:52
specialize with true if polynomial order does not depend on the grid (part) entity
Definition: space/common/capabilities.hh:24
static const bool v
Definition: space/common/capabilities.hh:25
specialize with true if polynomial order fixed and compile time static
Definition: space/common/capabilities.hh:37
static const bool v
Definition: space/common/capabilities.hh:38
static const int order
Definition: space/common/capabilities.hh:39
specialize with true if space is always continuous
Definition: space/common/capabilities.hh:50
static const bool v
Definition: space/common/capabilities.hh:51
specialize with true if the space is localized, * i.e., the basis function set is based on a shape fu...
Definition: space/common/capabilities.hh:68
static const bool v
Definition: space/common/capabilities.hh:69
specialize with true if space can be used with AdaptiveDiscreteFunction
Definition: space/common/capabilities.hh:81
static const bool v
Definition: space/common/capabilities.hh:82
specialize with true if the space implementation is thread safe
Definition: space/common/capabilities.hh:94
static const bool v
Definition: space/common/capabilities.hh:95
specialize with true if the space implementation is thread safe, while it is not modified
Definition: space/common/capabilities.hh:108
static const bool v
Definition: space/common/capabilities.hh:109
specialize with true if for a space the basis functions are sorted by the polynomial order,...
Definition: space/common/capabilities.hh:120
static const bool v
Definition: space/common/capabilities.hh:121
Default communication handler for discrete functions.
Definition: defaultcommhandler.hh:29
GridPartType & gridPart() const
Definition: discretefunctionspace.hh:745
A vector valued function space.
Definition: functionspace.hh:60
FunctionSpaceTraits::DomainFieldType DomainFieldType
Intrinsic type used for values in the domain field (usually a double)
Definition: functionspaceinterface.hh:60
FunctionSpaceTraits::RangeFieldType RangeFieldType
Intrinsic type used for values in the range field (usually a double)
Definition: functionspaceinterface.hh:63
generate a set of default basis function sets from given set of shape function sets
Definition: discontinuousgalerkin/basisfunctionsets.hh:83
Definition: discontinuousgalerkin/space.hh:96
InterpolationType localInterpolation(const EntityType &entity) const
Definition: discontinuousgalerkin/space.hh:132
BaseType::GridPartType GridPartType
Definition: discontinuousgalerkin/space.hh:105
DiscontinuousGalerkinSpace(GridPartType &gridPart, const InterfaceType commInterface=InteriorBorder_All_Interface, const CommunicationDirection commDirection=ForwardCommunication)
Definition: discontinuousgalerkin/space.hh:115
InterpolationType InterpolationImplType
Definition: discontinuousgalerkin/space.hh:112
BaseType::BasisFunctionSetsType BasisFunctionSetsType
Definition: discontinuousgalerkin/space.hh:108
DiscontinuousGalerkinLocalInterpolation< ThisType > InterpolationType
Definition: discontinuousgalerkin/space.hh:111
InterpolationType interpolation() const
Definition: discontinuousgalerkin/space.hh:121
static const int polynomialOrder
Definition: discontinuousgalerkin/space.hh:103
InterpolationType interpolation(const EntityType &entity) const
Definition: discontinuousgalerkin/space.hh:127
BaseType::EntityType EntityType
Definition: discontinuousgalerkin/space.hh:106
BaseType::BasisFunctionSetType BasisFunctionSetType
Definition: discontinuousgalerkin/space.hh:109
generic implementation of a Discontinuous Galerkin space based on a fixed family of basis function se...
Definition: discontinuousgalerkin/generic.hh:31
BaseType::GridPartType GridPartType
type of underlying grid part
Definition: discontinuousgalerkin/generic.hh:40
BaseType::EntityType EntityType
type of entity of codimension 0
Definition: discontinuousgalerkin/generic.hh:42
BaseType::BasisFunctionSetType BasisFunctionSetType
type of basis function set of this space
Definition: discontinuousgalerkin/generic.hh:49
Traits::BasisFunctionSetsType BasisFunctionSetsType
basis function sets
Definition: discontinuousgalerkin/generic.hh:47
BasisFunctionSetType basisFunctionSet(const EntityType &entity) const
get basis function set for given entity
Definition: discontinuousgalerkin/generic.hh:106
Definition: discontinuousgalerkin/localinterpolation.hh:30
Definition: shapefunctionsets.hh:197
Definition: shapefunctionsets.hh:271
Definition: discontinuousgalerkin/space.hh:37
DiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage > DiscreteFunctionSpaceType
Definition: discontinuousgalerkin/space.hh:38
SelectCachingShapeFunctionSets< GridPartType, ScalarShapeFunctionSet, Storage > ScalarShapeFunctionSetsType
Definition: discontinuousgalerkin/space.hh:70
GridFunctionSpace< GridPartType, FunctionSpace > FunctionSpaceType
Definition: discontinuousgalerkin/space.hh:41
BasisFunctionSetsType::BasisFunctionSetType BasisFunctionSetType
Definition: discontinuousgalerkin/space.hh:74
Dune::Fem::FunctionSpace< typename FunctionSpace::DomainFieldType, typename FunctionSpace::RangeFieldType, GridPartType::dimension, 1 > ScalarShapeFunctionSpaceType
Definition: discontinuousgalerkin/space.hh:48
CodimensionMapper< GridPartType, codimension > BlockMapperType
Definition: discontinuousgalerkin/space.hh:76
Hybrid::IndexRange< int, FunctionSpaceType::dimRange *ScalarShapeFunctionSet::numberShapeFunctions > LocalBlockIndices
Definition: discontinuousgalerkin/space.hh:78
GridPart GridPartType
Definition: discontinuousgalerkin/space.hh:40
DefaultBasisFunctionSets< GridPartType, ShapeFunctionSetsType > BasisFunctionSetsType
Definition: discontinuousgalerkin/space.hh:73
static const int codimension
Definition: discontinuousgalerkin/space.hh:43
VectorialShapeFunctionSets< ScalarShapeFunctionSetsType, typename FunctionSpaceType::RangeType > ShapeFunctionSetsType
Definition: discontinuousgalerkin/space.hh:71
Definition: discontinuousgalerkin/space.hh:52
Dune::Fem::OrthonormalShapeFunctionSet< ScalarShapeFunctionSpaceType > BaseType
Definition: discontinuousgalerkin/space.hh:53
ScalarShapeFunctionSet(Dune::GeometryType type)
Definition: discontinuousgalerkin/space.hh:58
static constexpr unsigned int size()
Definition: discontinuousgalerkin/space.hh:65
static constexpr int numberShapeFunctions
Definition: discontinuousgalerkin/space.hh:55
Definition: discontinuousgalerkin/space.hh:82
Operation OperationType
Definition: discontinuousgalerkin/space.hh:83
DefaultCommunicationHandler< DiscreteFunction, Operation > Type
Definition: discontinuousgalerkin/space.hh:84
mapper allocating one DoF per subentity of a given codimension
Definition: codimensionmapper.hh:345
Definition: space/shapefunctionset/orthonormal.hh:67
std::size_t constexpr size() const
return number of shape functions
Definition: space/shapefunctionset/orthonormal.hh:209