dune-fem 2.8.0
|
#include <dune/fem/space/combinedspace/tuplespace.hh>
Public Types | |
typedef decltype(std::index_sequence_for< DiscreteFunctionSpaces ... >()) | Sequence |
typedef BaseType::Traits | Traits |
typedef BaseType::GridPartType | GridPartType |
typedef BaseType::EntityType | EntityType |
typedef Traits::InterpolationImplType | InterpolationImplType |
typedef LocalInterpolationWrapper< ThisType > | InterpolationType |
typedef Traits::DiscreteFunctionSpaceTupleType | DiscreteFunctionSpaceTupleType |
enum | |
dimension of the grid (not the world) More... | |
using | SubDiscreteFunctionSpace = typename Traits::template SubDiscreteFunctionSpace< i > |
typedef Traits::GridType | GridType |
typedef GridPartType::IntersectionType | IntersectionType |
typedef Traits::IndexSetType | IndexSetType |
extract informations about IndexSet and Iterators | |
typedef Traits::IteratorType | IteratorType |
typedef Traits::FunctionSpaceType | FunctionSpaceType |
the underlaying analytical function space | |
typedef Traits::BasisFunctionSetType | BasisFunctionSetType |
type of the base function set(s) | |
typedef Traits::BlockMapperType | BlockMapperType |
mapper used to for block vector function | |
typedef int | IdentifierType |
type of identifier for this discrete function space | |
typedef DofManager< GridType > | DofManagerType |
type of DofManager | |
typedef Traits::DiscreteFunctionSpaceType | DiscreteFunctionSpaceType |
typedef CommunicationManager< DiscreteFunctionSpaceType > | CommunicationManagerType |
type of communication manager | |
typedef BaseType::AuxiliaryDofsType | AuxiliaryDofsType |
typedef Traits::LocalBlockIndices | LocalBlockIndices |
typedef AuxiliaryDofsType | SlaveDofsType |
deprecated type | |
Public Member Functions | |
TupleDiscreteFunctionSpaceImpl (GridPartType &gridPart, const InterfaceType commInterface=InteriorBorder_All_Interface, const CommunicationDirection commDirection=ForwardCommunication) | |
constructor | |
TupleDiscreteFunctionSpaceImpl (DiscreteFunctionSpaces &&... spaces) | |
constructor | |
TupleDiscreteFunctionSpaceImpl (const DiscreteFunctionSpaces &... spaces) | |
constructor | |
TupleDiscreteFunctionSpaceImpl (std::shared_ptr< const DiscreteFunctionSpaces >... spaces) | |
constructor | |
TupleDiscreteFunctionSpaceImpl (DiscreteFunctionSpaceTupleType spaceTuple) | |
constructor | |
TupleDiscreteFunctionSpaceImpl (const ThisType &)=delete | |
ThisType & | operator= (const ThisType &)=delete |
std::tuple< const DiscreteFunctionSpaces &... > | spaceTuple () const |
return tuple of const References to the contained sub spaces | |
InterpolationType | interpolation () const |
InterpolationImplType | interpolation (const EntityType &entity) const |
InterpolationImplType | localInterpolation (const EntityType &entity) const |
bool | contains (const int codim) const |
bool | continuous () const |
returns true if the space contains only globally continuous functions | |
bool | continuous (const IntersectionType &intersection) const |
returns true if the space contains only globally continuous functions | |
DFSpaceIdentifier | type () const |
get the type of this discrete function space | |
int | order () const |
get global order of space | |
int | order (const Entity &entity) const |
get global order of space | |
int | order (const EntityType &entity) const |
default implementation of the method order | |
BasisFunctionSetType | basisFunctionSet (const EntityType &entity) const |
const BasisFunctionSetType | basisFunctionSet (const EntityType &entity) const |
get basis function set for given entity | |
BlockMapperType & | blockMapper () const |
obtain the DoF block mapper of this space | |
const SubDiscreteFunctionSpace< i >::Type & | subDiscreteFunctionSpace () const |
obtain the i-th subspace | |
int | sequence () const |
get index of the sequence in grid sequences | |
const GridType & | grid () const |
get reference to grid this discrete function space belongs to | |
GridType & | grid () |
get reference to grid this discrete function space belongs to | |
GridPartType & | gridPart () const |
GridPartType & | gridPart () |
get a reference to the associated grid partition | |
const IndexSetType & | indexSet () const |
Get a reference to the associated index set. | |
int | size () const |
get number of DoFs for this space | |
int | maxNumDofs () const |
return the maximal number of dofs on entities | |
IteratorType | begin () const |
get iterator pointing to the first entity of the associated grid partition | |
IteratorType | end () const |
get iterator pointing behind the last entity of the associated grid partition | |
template<class FunctorType > | |
void | forEach (FunctorType &f) const |
apply a functor to each entity in the associated grid partition | |
bool | multipleGeometryTypes () const |
returns true if the grid has more than one geometry type | |
bool | multipleBasisFunctionSets () const |
returns true if base function sets depend on the entity | |
InterfaceType | communicationInterface () const |
return the communication interface appropriate for this space | |
CommunicationDirection | communicationDirection () const |
return the communication interface appropriate for this space | |
const CommunicationManagerType & | communicator () const |
return reference to communicator (see CommunicationManager) | |
template<class DiscreteFunction > | |
void | communicate (DiscreteFunction &discreteFunction) const |
communicate data for given discrete function using the space's default communication operation | |
template<class DiscreteFunction , class Operation > | |
void | communicate (DiscreteFunction &discreteFunction, const Operation &op) const |
communicate data for given discrete function | |
template<class DiscreteFunction , class Operation > | |
BaseType::template CommDataHandle< DiscreteFunction, Operation >::Type | createDataHandle (DiscreteFunction &discreteFunction, const Operation &operation) const |
const AuxiliaryDofsType & | auxiliaryDofs () const |
get auxiliary dofs | |
template<class DiscreteFunction > | |
void | addFunction (DiscreteFunction &df) const |
default implementation of addFunction does nothing at the moment | |
template<class DiscreteFunction > | |
void | removeFunction (DiscreteFunction &df) const |
default implementation of removeFunction does nothing at the moment | |
template<class Vector > | |
void | adapt (const Vector &polynomialOrders, const int polOrderShift=0) const |
default implementation of adapt does nothing, its only used in PAdaptiveLagrangeSpace | |
const AuxiliaryDofsType & | slaveDofs () const |
deprecated method, use auxiliaryDofs | |
Static Public Attributes | |
static const IdentifierType | id |
identifier of this discrete function space | |
static const InterfaceType | defaultInterface |
default communication interface | |
static const CommunicationDirection | defaultDirection |
default communication direction | |
static constexpr std::size_t | localBlockSize = Hybrid::size( LocalBlockIndices() ) |
size of local blocks | |
Protected Types | |
typedef SingletonList< std::pair< GridPartType *, BlockMapperType * >, std::pair< AuxiliaryDofsType, int >, AuxiliaryDofsFactory > | AuxiliaryDofsProviderType |
typedef ThreadSafeValue< UninitializedObjectStack > | LocalDofVectorStackType |
typedef StackAllocator< typename BaseType::RangeFieldType, LocalDofVectorStackType * > | LocalDofVectorAllocatorType |
typedef Dune::DynamicVector< typename BaseType::RangeFieldType, LocalDofVectorAllocatorType > | LocalDofVectorType |
typedef BasicTemporaryLocalFunction< ThisType, LocalDofVectorType > | LocalFunctionType |
typedef AllGeomTypes< IndexSetType, GridType > | AllGeometryTypes |
Protected Member Functions | |
template<std::size_t ... i> | |
std::tuple< const DiscreteFunctionSpaces &... > | spaceTuple (std::index_sequence< i ... >) const |
template<std::size_t ... i> | |
InterpolationImplType | localInterpolation (const EntityType &entity, std::index_sequence< i ... >) const |
const std::vector< GeometryType > & | geomTypes (int codim) const |
returns true if the grid has more than one geometry type | |
const DiscreteFunctionSpaceType & | asImp () const |
DiscreteFunctionSpaceType & | asImp () |
Protected Attributes | |
GridPartType & | gridPart_ |
LocalDofVectorStackType | ldvStack_ |
LocalDofVectorAllocatorType | ldvAllocator_ |
const AllGeometryTypes | allGeomTypes_ |
DofManagerType & | dofManager_ |
const InterfaceType | commInterface_ |
const CommunicationDirection | commDirection_ |
std::unique_ptr< CommunicationManagerType > | communicator_ |
std::unique_ptr< std::pair< AuxiliaryDofsType, int >, typename AuxiliaryDofsProviderType::Deleter > | auxiliaryDofs_ |
Related Functions | |
(Note that these are not member functions.) | |
template<class Traits > | |
bool | operator== (const DiscreteFunctionSpaceInterface< Traits > &X, const DiscreteFunctionSpaceInterface< Traits > &Y) |
check two spaces for equality | |
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
inherited |
type of the base function set(s)
|
inherited |
mapper used to for block vector function
|
inherited |
type of communication manager
typedef Traits::DiscreteFunctionSpaceTupleType Dune::Fem::TupleDiscreteFunctionSpaceImpl< CombineOp, DiscreteFunctionSpaces >::DiscreteFunctionSpaceTupleType |
|
inherited |
|
inherited |
type of DofManager
typedef BaseType::EntityType Dune::Fem::TupleDiscreteFunctionSpaceImpl< CombineOp, DiscreteFunctionSpaces >::EntityType |
|
inherited |
the underlaying analytical function space
typedef BaseType::GridPartType Dune::Fem::TupleDiscreteFunctionSpaceImpl< CombineOp, DiscreteFunctionSpaces >::GridPartType |
|
inherited |
|
inherited |
type of identifier for this discrete function space
|
inherited |
extract informations about IndexSet and Iterators
typedef Traits::InterpolationImplType Dune::Fem::TupleDiscreteFunctionSpaceImpl< CombineOp, DiscreteFunctionSpaces >::InterpolationImplType |
typedef LocalInterpolationWrapper< ThisType > Dune::Fem::TupleDiscreteFunctionSpaceImpl< CombineOp, DiscreteFunctionSpaces >::InterpolationType |
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
typedef decltype( std::index_sequence_for< DiscreteFunctionSpaces ... >() ) Dune::Fem::TupleDiscreteFunctionSpaceImpl< CombineOp, DiscreteFunctionSpaces >::Sequence |
|
inherited |
deprecated type
|
inherited |
typedef BaseType::Traits Dune::Fem::TupleDiscreteFunctionSpaceImpl< CombineOp, DiscreteFunctionSpaces >::Traits |
|
inherited |
dimension of the grid (not the world)
|
inline |
constructor
[in] | gridPart | reference to the grid part |
[in] | commInterface | communication interface to use (optional) |
[in] | commDirection | communication direction to use (optional) |
|
inline |
constructor
[in] | spaces | list of move constructable spaces |
|
inline |
constructor
[in] | spaces | list of references to spaces |
|
inline |
constructor
[in] | spaces | list of shared pointers to spaces |
|
inlineexplicit |
constructor
[in] | spaceTuple | tuple of unique pointers to the subspaces |
|
delete |
|
inlineinherited |
default implementation of adapt does nothing, its only used in PAdaptiveLagrangeSpace
|
inlineinherited |
default implementation of addFunction does nothing at the moment
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
get auxiliary dofs
|
inlineinherited |
get basis function set for given entity
[in] | entity | entity (of codim 0) for which base function is requested |
|
inlineinherited |
get basis function set for given entity
[in] | entity | entity (of codim 0) for which base function is requested |
|
inlineinherited |
get iterator pointing to the first entity of the associated grid partition
|
inlineinherited |
obtain the DoF block mapper of this space
|
inlineinherited |
communicate data for given discrete function using the space's default communication operation
discreteFunction | discrete function to be communicated |
|
inlineinherited |
communicate data for given discrete function
discreteFunction | discrete function to be communicated | |
[in] | op | communication operation to use (see DFCommunicationOperation) |
|
inlineinherited |
return the communication interface appropriate for this space
|
inlineinherited |
return the communication interface appropriate for this space
|
inlineinherited |
return reference to communicator (see CommunicationManager)
|
inlineinherited |
|
inlineinherited |
returns true if the space contains only globally continuous functions
For example, a Lagrange space returns true while a discontiuous Galerkin space returns false.
|
inlineinherited |
returns true if the space contains only globally continuous functions
For example, a Lagrange space returns true while a discontiuous Galerkin space returns false.
|
inlineinherited |
|
inlineinherited |
get iterator pointing behind the last entity of the associated grid partition
|
inlineinherited |
apply a functor to each entity in the associated grid partition
The functor must provide an the following operator
[in] | f | functor to apply |
|
inlineprotectedinherited |
returns true if the grid has more than one geometry type
|
inlineinherited |
get reference to grid this discrete function space belongs to
|
inlineinherited |
get reference to grid this discrete function space belongs to
|
inlineinherited |
get a reference to the associated grid partition
|
inlineinherited |
|
inlineinherited |
Get a reference to the associated index set.
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineinherited |
return the maximal number of dofs on entities
|
inlineinherited |
returns true if base function sets depend on the entity
|
inlineinherited |
returns true if the grid has more than one geometry type
|
delete |
|
inlineinherited |
get global order of space
|
inlineinherited |
get global order of space
|
inlineinherited |
default implementation of the method order
|
inlineinherited |
default implementation of removeFunction does nothing at the moment
|
inlineinherited |
get index of the sequence in grid sequences
|
inlineinherited |
get number of DoFs for this space
|
inlineinherited |
deprecated method, use auxiliaryDofs
|
inline |
return tuple of const References to the contained sub spaces
|
inlineprotected |
|
inlineinherited |
obtain the i-th subspace
|
inlineinherited |
get the type of this discrete function space
|
protectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
staticinherited |
default communication direction
|
staticinherited |
default communication interface
|
protectedinherited |
|
protectedinherited |
|
staticinherited |
identifier of this discrete function space
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
staticconstexprinherited |
size of local blocks