dune-fem
2.8-git
|
#include <dune/fem/space/combinedspace/generic.hh>
Public Types | |
enum | { dimension = GridType::dimension } |
dimension of the grid (not the world) More... | |
template<int i> | |
using | SubDiscreteFunctionSpace = typename Traits::template SubDiscreteFunctionSpace< i > |
typedef Traits::GridPartType | GridPartType |
typedef Traits::GridType | GridType |
typedef GridPartType::IntersectionType | IntersectionType |
typedef Traits::IndexSetType | IndexSetType |
extract informations about IndexSet and Iterators More... | |
typedef Traits::IteratorType | IteratorType |
typedef Traits::FunctionSpaceType | FunctionSpaceType |
the underlaying analytical function space More... | |
typedef Traits::BasisFunctionSetType | BasisFunctionSetType |
type of the base function set(s) More... | |
typedef Traits::BlockMapperType | BlockMapperType |
mapper used to for block vector function More... | |
typedef int | IdentifierType |
type of identifier for this discrete function space More... | |
typedef DofManager< GridType > | DofManagerType |
type of DofManager More... | |
typedef Traits | Traits |
typedef Traits ::DiscreteFunctionSpaceType | DiscreteFunctionSpaceType |
typedef BaseType ::EntityType | EntityType |
typedef CommunicationManager< DiscreteFunctionSpaceType > | CommunicationManagerType |
type of communication manager More... | |
typedef BaseType::AuxiliaryDofsType | AuxiliaryDofsType |
typedef Traits::LocalBlockIndices | LocalBlockIndices |
typedef AuxiliaryDofsType | SlaveDofsType |
deprecated type More... | |
Public Member Functions | |
GenericCombinedDiscreteFunctionSpace (GridPartType &gridPart, const InterfaceType commInterface=defaultInterface, const CommunicationDirection commDirection=defaultDirection) | |
constructor More... | |
GenericCombinedDiscreteFunctionSpace (const ThisType &)=delete | |
ThisType & | operator= (const ThisType &)=delete |
bool | contains (const int codim) const |
bool | continuous () const |
returns true if the space contains only globally continuous functions More... | |
bool | continuous (const IntersectionType &intersection) const |
returns true if the space contains only globally continuous functions More... | |
DFSpaceIdentifier | type () const |
get the type of this discrete function space More... | |
int | order () const |
get global order of space More... | |
template<class Entity > | |
int | order (const Entity &entity) const |
get global order of space More... | |
template<class EntityType > | |
BasisFunctionSetType | basisFunctionSet (const EntityType &entity) const |
get basis function set for given entity More... | |
BlockMapperType & | blockMapper () const |
obtain the DoF block mapper of this space More... | |
template<int i> | |
const SubDiscreteFunctionSpace< i >::Type & | subDiscreteFunctionSpace () const |
obtain the i-th subspace More... | |
int | sequence () const |
get index of the sequence in grid sequences More... | |
int | order (const EntityType &entity) const |
default implementation of the method order More... | |
const GridType & | grid () const |
get reference to grid this discrete function space belongs to More... | |
GridType & | grid () |
get reference to grid this discrete function space belongs to More... | |
GridPartType & | gridPart () const |
GridPartType & | gridPart () |
get a reference to the associated grid partition More... | |
const IndexSetType & | indexSet () const |
Get a reference to the associated index set. More... | |
int | size () const |
get number of DoFs for this space More... | |
int | maxNumDofs () const |
return the maximal number of dofs on entities More... | |
IteratorType | begin () const |
get iterator pointing to the first entity of the associated grid partition More... | |
IteratorType | end () const |
get iterator pointing behind the last entity of the associated grid partition More... | |
void | forEach (FunctorType &f) const |
apply a functor to each entity in the associated grid partition More... | |
bool | multipleGeometryTypes () const |
returns true if the grid has more than one geometry type More... | |
bool | multipleBasisFunctionSets () const |
returns true if base function sets depend on the entity More... | |
InterfaceType | communicationInterface () const |
return the communication interface appropriate for this space More... | |
CommunicationDirection | communicationDirection () const |
return the communication interface appropriate for this space More... | |
const CommunicationManagerType & | communicator () const |
return reference to communicator (see CommunicationManager) More... | |
void | communicate (DiscreteFunction &discreteFunction) const |
communicate data for given discrete function using the space's default communication operation More... | |
void | communicate (DiscreteFunction &discreteFunction, const Operation &op) const |
communicate data for given discrete function More... | |
BaseType ::template CommDataHandle< DiscreteFunction, Operation >::Type | createDataHandle (DiscreteFunction &discreteFunction, const Operation &operation) const |
const AuxiliaryDofsType & | auxiliaryDofs () const |
get auxiliary dofs More... | |
void | addFunction (DiscreteFunction &df) const |
default implementation of addFunction does nothing at the moment More... | |
void | removeFunction (DiscreteFunction &df) const |
default implementation of removeFunction does nothing at the moment More... | |
void | adapt (const Vector &polynomialOrders, const int polOrderShift=0) const |
default implementation of adapt does nothing, its only used in PAdaptiveLagrangeSpace More... | |
bool | continuous (const IntersectionType &intersection) const |
returns true if discrete functions over this space have zero jump over the given intersection. More... | |
const AuxiliaryDofsType & | slaveDofs () const |
deprecated method, use auxiliaryDofs More... | |
Static Public Attributes | |
static const IdentifierType | id = 669 |
identifier of this discrete function space More... | |
static const InterfaceType | defaultInterface = InteriorBorder_All_Interface |
default communication interface More... | |
static const CommunicationDirection | defaultDirection = ForwardCommunication |
default communication direction More... | |
static constexpr std::size_t | localBlockSize |
size of local blocks More... | |
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 | |
GenericCombinedDiscreteFunctionSpace (DiscreteFunctionSpaceTupleType &&spaceTuple) | |
const std::vector< GeometryType > & | geomTypes (int codim) const |
returns true if the grid has more than one geometry type More... | |
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.) | |
bool | operator== (const DiscreteFunctionSpaceInterface< Traits > &X, const DiscreteFunctionSpaceInterface< Traits > &Y) |
check two spaces for equality More... | |
|
protectedinherited |
|
protectedinherited |
|
inherited |
typedef Traits::BasisFunctionSetType Dune::Fem::GenericCombinedDiscreteFunctionSpace< Traits >::BasisFunctionSetType |
type of the base function set(s)
typedef Traits::BlockMapperType Dune::Fem::GenericCombinedDiscreteFunctionSpace< Traits >::BlockMapperType |
mapper used to for block vector function
|
inherited |
type of communication manager
|
inherited |
typedef DofManager< GridType > Dune::Fem::GenericCombinedDiscreteFunctionSpace< Traits >::DofManagerType |
type of DofManager
|
inherited |
typedef Traits::FunctionSpaceType Dune::Fem::GenericCombinedDiscreteFunctionSpace< Traits >::FunctionSpaceType |
the underlaying analytical function space
typedef Traits::GridPartType Dune::Fem::GenericCombinedDiscreteFunctionSpace< Traits >::GridPartType |
extract grid informations, it is assumed the both spaces are living on the same gridPart
typedef Traits::GridType Dune::Fem::GenericCombinedDiscreteFunctionSpace< Traits >::GridType |
typedef int Dune::Fem::GenericCombinedDiscreteFunctionSpace< Traits >::IdentifierType |
type of identifier for this discrete function space
typedef Traits::IndexSetType Dune::Fem::GenericCombinedDiscreteFunctionSpace< Traits >::IndexSetType |
extract informations about IndexSet and Iterators
typedef GridPartType::IntersectionType Dune::Fem::GenericCombinedDiscreteFunctionSpace< Traits >::IntersectionType |
typedef Traits::IteratorType Dune::Fem::GenericCombinedDiscreteFunctionSpace< Traits >::IteratorType |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inherited |
deprecated type
using Dune::Fem::GenericCombinedDiscreteFunctionSpace< Traits >::SubDiscreteFunctionSpace = typename Traits::template SubDiscreteFunctionSpace< i > |
|
inherited |
|
inline |
constructor
[in] | gridPart | reference to the grid part |
[in] | commInterface | communication interface to use (optional) |
[in] | commDirection | communication direction to use (optional) |
|
inlineprotected |
|
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
|
inline |
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
|
inline |
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)
|
inline |
|
inline |
returns true if the space contains only globally continuous functions
For example, a Lagrange space returns true while a discontiuous Galerkin space returns false.
|
inline |
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 discrete functions over this space have zero jump over the given intersection.
For example, a Lagrange space returns true iff the intersection is conforming while a discontiuous Galerkin space always returns false.
intersection | Intersection for which we want to know the continuety |
|
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.
|
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 |
|
inline |
get global order of space
|
inline |
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 |
obtain the i-th subspace
|
inline |
get the type of this discrete function space
|
related |
check two spaces for equality
This is a default implemented equality operator for discrete function spaces. It assumes the mapper to be a singleton and then compares the addresses of the two mappers.
Note that this method can be specialized by implementing another version that uses the exact traits of the discrete function space.
|
protectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
static |
default communication direction
|
static |
default communication interface
|
protectedinherited |
|
protectedinherited |
|
static |
identifier of this discrete function space
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
staticconstexprinherited |
size of local blocks