1#ifndef DUNE_FEM_SPACE_FINITEVOLUME_SPACE_HH
2#define DUNE_FEM_SPACE_FINITEVOLUME_SPACE_HH
4#include <dune/grid/common/gridenums.hh>
30 template<
class FunctionSpace,
class Gr
idPart,
int codim,
class Storage >
40 typedef typename GridPartType::template Codim< codimension >::EntityType
EntityType;
47 template <
class DiscreteFunction,
class Operation = DFCommunicationOperation::Copy >
60 template<
class FunctionSpace,
class Gr
idPart,
int codim = 0,
class Storage = SimpleStorage >
85 const InterfaceType commInterface = InteriorBorder_All_Interface,
86 const CommunicationDirection commDirection = ForwardCommunication )
111 template <
class FunctionSpaceImp,
class GridPartImp,
int polOrd,
112 class BaseFunctionStorageImp,
113 class VolumeQuadratureImp>
115 FiniteVolumeSpace< FunctionSpaceImp, GridPartImp, polOrd, BaseFunctionStorageImp >,
116 VolumeQuadratureImp >
118 FiniteVolumeSpace< FunctionSpaceImp, GridPartImp, polOrd, BaseFunctionStorageImp >, VolumeQuadratureImp >
133 template<
class FunctionSpace,
class Gr
idPart,
int codim,
class Storage >
144 namespace Capabilities
147 template<
class FunctionSpace,
class Gr
idPart,
int codim,
class Storage >
150 static const bool v =
true;
153 template<
class FunctionSpace,
class Gr
idPart,
int codim,
class Storage >
156 static const bool v =
true;
160 template<
class FunctionSpace,
class Gr
idPart,
int codim,
class Storage >
163 static const bool v =
false;
166 template<
class FunctionSpace,
class Gr
idPart,
int codim,
class Storage >
169 static const bool v =
true;
172 template<
class FunctionSpace,
class Gr
idPart,
int codim,
class Storage >
175 static const bool v =
false;
178 template<
class FunctionSpace,
class Gr
idPart,
int codim,
class Storage >
181 static const bool v =
true;
184 template<
class FunctionSpace,
class Gr
idPart,
int codim,
class Storage >
187 static const bool v =
false;
190 template<
class FunctionSpace,
class Gr
idPart,
int codim,
class Storage >
193 static const bool v =
true;
DFSpaceIdentifier
enumerator for identification of spaces
Definition: discretefunctionspace.hh:94
@ FiniteVolumeSpace_id
id for Finite Volume Space
Definition: discretefunctionspace.hh:98
Definition: bindguard.hh:11
typename Impl::GridFunctionSpace< GridPart, T >::Type GridFunctionSpace
Definition: functionspace.hh:317
Local Mass Matrix for arbitrary spaces.
Definition: localmassmatrix.hh:909
DG Local Mass Matrix for arbitrary spaces.
Definition: localmassmatrix.hh:929
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
Definition: common/localrestrictprolong.hh:16
Definition: common/localrestrictprolong.hh:25
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
BlockMapperType & blockMapper() const
get a reference to the block mapper
Definition: discontinuousgalerkin/generic.hh:124
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
Definition: finitevolume/basisfunctionset.hh:26
Definition: finitevolume/basisfunctionsets.hh:17
Definition: finitevolume/space.hh:63
BaseType::BasisFunctionSetType BasisFunctionSetType
type of basis function set of this space
Definition: finitevolume/space.hh:79
static InterpolationType interpolation(const EntityType &entity)
return local interpolation
Definition: finitevolume/space.hh:100
BaseType::EntityType EntityType
type of entity of codimension 0
Definition: finitevolume/space.hh:74
static DFSpaceIdentifier type()
return type identifier of discrete function space
Definition: finitevolume/space.hh:91
FiniteVolumeSpace(GridPartType &gridPart, const InterfaceType commInterface=InteriorBorder_All_Interface, const CommunicationDirection commDirection=ForwardCommunication)
Definition: finitevolume/space.hh:84
void extendSize(const size_t extension)
extend size of space beyond what the index set is delivering
Definition: finitevolume/space.hh:106
static const int polynomialOrder
maximum polynomial order of the space, here 0 since basis functions are constant
Definition: finitevolume/space.hh:69
BaseType::BasisFunctionSetsType BasisFunctionSetsType
basis function sets type
Definition: finitevolume/space.hh:77
InterpolationType interpolation() const
return local interpolation
Definition: finitevolume/space.hh:94
BaseType::GridPartType GridPartType
type of underlying grid part
Definition: finitevolume/space.hh:72
FiniteVolumeLocalInterpolation< GridPart, typename BasisFunctionSetType::RangeType > InterpolationType
local interpolation type
Definition: finitevolume/space.hh:82
Definition: finitevolume/interpolation.hh:21
Definition: finitevolume/space.hh:32
FiniteVolumeBasisFunctionSets< EntityType, typename FunctionSpaceType::RangeType > BasisFunctionSetsType
Definition: finitevolume/space.hh:41
GridFunctionSpace< GridPartType, FunctionSpace > FunctionSpaceType
Definition: finitevolume/space.hh:36
Hybrid::IndexRange< int, FunctionSpaceType::dimRange > LocalBlockIndices
Definition: finitevolume/space.hh:45
GridPartType::template Codim< codimension >::EntityType EntityType
Definition: finitevolume/space.hh:40
static const int codimension
Definition: finitevolume/space.hh:38
GridPart GridPartType
Definition: finitevolume/space.hh:35
FiniteVolumeSpace< FunctionSpace, GridPart, codim, Storage > DiscreteFunctionSpaceType
Definition: finitevolume/space.hh:33
BasisFunctionSetsType::BasisFunctionSetType BasisFunctionSetType
Definition: finitevolume/space.hh:42
CodimensionMapper< GridPartType, codimension > BlockMapperType
Definition: finitevolume/space.hh:44
Definition: finitevolume/space.hh:49
Operation OperationType
Definition: finitevolume/space.hh:50
DefaultCommunicationHandler< DiscreteFunction, Operation > Type
Definition: finitevolume/space.hh:51
DefaultLocalRestrictProlong(const FiniteVolumeSpace< FunctionSpace, GridPart, codim, Storage > &)
Definition: finitevolume/space.hh:138
mapper allocating one DoF per subentity of a given codimension
Definition: codimensionmapper.hh:345