1 #ifndef DUNE_FEM_SPACE_FINITEVOLUME_SPACE_HH 2 #define DUNE_FEM_SPACE_FINITEVOLUME_SPACE_HH 4 #include <dune/common/deprecated.hh> 6 #include <dune/grid/common/gridenums.hh> 31 template<
class FunctionSpace,
class Gr
idPart,
int codim,
template<
class >
class Storage >
41 typedef typename GridPartType::template Codim< codimension >::EntityType
EntityType;
48 template <
class DiscreteFunction,
class Operation = DFCommunicationOperation::Copy >
61 template<
class FunctionSpace,
class Gr
idPart,
int codim = 0,
template<
class >
class Storage =
SimpleStorage >
70 static const int polynomialOrder = 0;
86 const InterfaceType commInterface = InteriorBorder_All_Interface,
87 const CommunicationDirection commDirection = ForwardCommunication )
88 : BaseType( gridPart, BasisFunctionSetsType(), commInterface, commDirection )
97 return InterpolationType( entity );
106 template<
class FunctionSpace,
class Gr
idPart,
int codim,
template<
class >
class Storage >
117 namespace Capabilities
120 template<
class FunctionSpace,
class Gr
idPart,
int codim,
template<
class >
class Storage >
123 static const bool v =
true;
126 template<
class FunctionSpace,
class Gr
idPart,
int codim,
template<
class >
class Storage >
129 static const bool v =
true;
130 static const int order = 0;
133 template<
class FunctionSpace,
class Gr
idPart,
int codim,
template<
class >
class Storage >
136 static const bool v =
false;
139 template<
class FunctionSpace,
class Gr
idPart,
int codim,
template<
class >
class Storage >
142 static const bool v =
false;
145 template<
class FunctionSpace,
class Gr
idPart,
int codim,
template<
class >
class Storage >
151 template<
class FunctionSpace,
class Gr
idPart,
int codim,
template<
class >
class Storage >
154 static const bool v =
true;
157 template<
class FunctionSpace,
class Gr
idPart,
int codim,
template<
class >
class Storage >
160 static const bool v =
false;
163 template<
class FunctionSpace,
class Gr
idPart,
int codim,
template<
class >
class Storage >
166 static const bool v =
true;
175 #endif // #ifndef DUNE_FEM_SPACE_FINITEVOLUME_SPACE_HH Definition: finitevolume/basisfunctionset.hh:24
FiniteVolumeLocalInterpolation< GridPart, typename BasisFunctionSetType::RangeType > InterpolationType
local interpolation type
Definition: finitevolume/space.hh:83
GridPartType::template Codim< codimension >::EntityType EntityType
Definition: finitevolume/space.hh:41
static DFSpaceIdentifier type()
return type identifier of discrete function space
Definition: finitevolume/space.hh:92
DefaultCommunicationHandler< DiscreteFunction, Operation > Type
Definition: finitevolume/space.hh:52
Definition: space/finitevolume/declaration.hh:14
id for Finite Volume Space
Definition: discretefunctionspace.hh:92
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:64
A vector valued function space.
Definition: functionspace.hh:16
DefaultLocalRestrictProlong(const FiniteVolumeSpace< FunctionSpace, GridPart, codim, Storage > &)
Definition: finitevolume/space.hh:111
GridPart GridPartType
Definition: finitevolume/space.hh:37
Default communication handler for discrete functions.
Definition: defaultcommhandler.hh:23
specialize with 'true' if implementation supports parallelism (default=false)
Definition: gridpart/common/capabilities.hh:59
static const int localBlockSize
Definition: finitevolume/space.hh:46
BaseType::BasisFunctionSetsType BasisFunctionSetsType
basis function sets type
Definition: finitevolume/space.hh:78
static const int codimension
Definition: finitevolume/space.hh:39
DFSpaceIdentifier
enumerator for identification of spaces
Definition: discretefunctionspace.hh:88
BasisFunctionSetsType::BasisFunctionSetType BasisFunctionSetType
Definition: finitevolume/space.hh:43
CodimensionMapper< GridPartType, codimension > BlockMapperType
Definition: finitevolume/space.hh:45
FiniteVolumeBasisFunctionSets< EntityType, typename FunctionSpaceType::RangeType > BasisFunctionSetsType
Definition: finitevolume/space.hh:42
dimension of range vector space
Definition: functionspaceinterface.hh:47
mapper allocating one DoF per subentity of a given codimension
Definition: codimensionmapper.hh:28
BaseType::GridPartType GridPartType
type of underlying grid part
Definition: finitevolume/space.hh:73
Definition: common/localrestrictprolong.hh:24
specialize with true if space is always continuous
Definition: space/common/capabilities.hh:46
Definition: finitevolume/interpolation.hh:20
specialize with true if space can be used with AdaptiveDiscreteFunction
Definition: space/common/capabilities.hh:89
static InterpolationType interpolation(const EntityType &entity)
return local interpolation
Definition: finitevolume/space.hh:95
Definition: coordinate.hh:4
BaseType::BasisFunctionSetType BasisFunctionSetType
type of basis function set of this space
Definition: discontinuousgalerkin/generic.hh:53
specialize with true if space can be used in parallel
Definition: space/common/capabilities.hh:76
Definition: finitevolume/space.hh:49
FiniteVolumeSpace< FunctionSpace, GridPart, codim, Storage > DiscreteFunctionSpaceType
Definition: finitevolume/space.hh:34
generic implementation of a Discontinuous Galerkin space based on a fixed family of basis function se...
Definition: discontinuousgalerkin/generic.hh:33
Definition: finitevolume/space.hh:32
FunctionSpace FunctionSpaceType
Definition: finitevolume/space.hh:36
Operation OperationType
Definition: finitevolume/space.hh:51
FiniteVolumeSpace(GridPartType &gridPart, const InterfaceType commInterface=InteriorBorder_All_Interface, const CommunicationDirection commDirection=ForwardCommunication)
Definition: finitevolume/space.hh:85
Definition: finitevolume/basisfunctionsets.hh:18
specialize with true if polynomial order does not depend on the grid (part) entity ...
Definition: space/common/capabilities.hh:20
Definition: selectcaching.hh:20
specialize with true if the space implementation is thread safe
Definition: space/common/capabilities.hh:102
specialize with true if polynomial order fixed and compile time static
Definition: space/common/capabilities.hh:33
BaseType::BasisFunctionSetType BasisFunctionSetType
type of basis function set of this space
Definition: finitevolume/space.hh:80
BaseType::EntityType EntityType
type of entity of codimension 0
Definition: finitevolume/space.hh:75
Definition: common/localrestrictprolong.hh:16
BaseType::EntityType EntityType
type of entity of codimension 0
Definition: discontinuousgalerkin/generic.hh:46
specialize with true if the space implementation is thread safe, while it is not modified ...
Definition: space/common/capabilities.hh:116