|
dune-fem 2.12-git
|
#include <dune/fem/space/combinedspace/combinedspace.hh>

Public Member Functions | |
| CombinedSpace (GridPartType &gridPart, const InterfaceType commInterface=InteriorBorder_All_Interface, const CommunicationDirection commDirection=ForwardCommunication) | |
| CombinedSpace (const ThisType &)=delete | |
| ThisType & | operator= (const ThisType &)=delete |
| int | numComponents () const |
| number of components | |
| DofStoragePolicy | myPolicy () const |
| policy of this space | |
| const ContainedDiscreteFunctionSpaceType & | containedSpace () const |
| contained space | |
| InterpolationType | interpolation (const EntityType &entity) const |
| return local interpolation object | |
| 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 | primarySize () const |
| get number of primary DoFs for this space | |
| int | auxiliarySize () const |
| get number of auxiliary 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 std::vector< GeometryType > & | geomTypes (int codim) const |
| returns true if the grid has more than one geometry type | |
| const AuxiliaryDofsType & | slaveDofs () const |
| deprecated method, use auxiliaryDofs | |
| T | shared_from_this (T... args) |
| T | weak_from_this (T... args) |
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 | |
| 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 Symbols | |
(Note that these are not member symbols.) | |
| template<class Traits > | |
| bool | operator== (const DiscreteFunctionSpaceInterface< Traits > &X, const DiscreteFunctionSpaceInterface< Traits > &Y) |
| check two spaces for equality | |
Member Typedef Documentation
◆ AllGeometryTypes
|
protectedinherited |
◆ AuxiliaryDofsProviderType
|
protectedinherited |
◆ AuxiliaryDofsType
|
inherited |
◆ BasisFunctionSetType
|
inherited |
type of the base function set(s)
◆ BlockMapperType
|
inherited |
mapper used to for block vector function
◆ CommunicationManagerType
|
inherited |
type of communication manager
◆ ContainedDiscreteFunctionSpaceType
| typedef BaseType::ContainedDiscreteFunctionSpaceType Dune::Fem::CombinedSpace< DiscreteFunctionSpace, N, VariableBased >::ContainedDiscreteFunctionSpaceType |
◆ DiscreteFunctionSpaceType
|
inherited |
◆ DofManagerType
|
inherited |
type of DofManager
◆ EntityType
|
inherited |
◆ FunctionSpaceType
|
inherited |
the underlaying analytical function space
◆ GridPartType
| typedef BaseType::GridPartType Dune::Fem::CombinedSpace< DiscreteFunctionSpace, N, VariableBased >::GridPartType |
◆ GridType
|
inherited |
◆ IdentifierType
|
inherited |
type of identifier for this discrete function space
◆ IndexSetType
|
inherited |
extract informations about IndexSet and Iterators
◆ InterpolationType
|
inherited |
type of local Interpolation
◆ IntersectionType
|
inherited |
◆ IteratorType
|
inherited |
◆ LocalBlockIndices
|
inherited |
◆ LocalDofVectorAllocatorType
|
protectedinherited |
◆ LocalDofVectorStackType
|
protectedinherited |
◆ LocalDofVectorType
|
protectedinherited |
◆ LocalFunctionType
|
protectedinherited |
◆ SlaveDofsType
|
inherited |
deprecated type
◆ SubDiscreteFunctionSpace
|
inherited |
◆ Traits
|
inherited |
Member Enumeration Documentation
◆ anonymous enum
|
inherited |
dimension of the grid (not the world)
Constructor & Destructor Documentation
◆ CombinedSpace() [1/2]
|
inline |
◆ CombinedSpace() [2/2]
|
delete |
Member Function Documentation
◆ adapt()
|
inlineinherited |
default implementation of adapt does nothing, its only used in PAdaptiveLagrangeSpace
◆ addFunction()
|
inlineinherited |
default implementation of addFunction does nothing at the moment
◆ asImp() [1/2]
|
inlineprotectedinherited |
◆ asImp() [2/2]
|
inlineprotectedinherited |
◆ auxiliaryDofs()
|
inlineinherited |
get auxiliary dofs
◆ auxiliarySize()
|
inlineinherited |
get number of auxiliary DoFs for this space
- Returns
- number of auxiliary DoFs (degrees of freedom that are NOT owned by this process)
◆ basisFunctionSet() [1/2]
|
inlineinherited |
◆ basisFunctionSet() [2/2]
|
inlineinherited |
get basis function set for given entity
- Parameters
-
[in] entity entity (of codim 0) for which base function is requested
- Returns
- BasisFunctionSet for the entity
◆ begin()
|
inlineinherited |
get iterator pointing to the first entity of the associated grid partition
- Returns
- iterator pointing to first entity
- Note
- The default implementation uses the codim 0 iterators of the associated grid partition.
◆ blockMapper()
|
inlineinherited |
obtain the DoF block mapper of this space
- Returns
- BlockMapperType
◆ communicate() [1/2]
|
inlineinherited |
communicate data for given discrete function using the space's default communication operation
- Parameters
-
discreteFunction discrete function to be communicated
◆ communicate() [2/2]
|
inlineinherited |
communicate data for given discrete function
- Parameters
-
discreteFunction discrete function to be communicated [in] op communication operation to use (see DFCommunicationOperation)
◆ communicationDirection()
|
inlineinherited |
return the communication interface appropriate for this space
- Returns
- communication interface
◆ communicationInterface()
|
inlineinherited |
return the communication interface appropriate for this space
- Returns
- communication interface
◆ communicator()
|
inlineinherited |
return reference to communicator (see CommunicationManager)
- Returns
- reference to communicator
◆ containedSpace()
|
inline |
contained space
◆ contains()
|
inlineinherited |
◆ continuous() [1/2]
|
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.
- Returns
- true if the space contians only globally continous functions, false otherwise
◆ continuous() [2/2]
|
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.
- Returns
- true if the space contians only globally continous functions, false otherwise
◆ createDataHandle()
|
inlineinherited |
- Note
- The default implementation is return CommDataHandle< DiscreteFunction, Operation > :: Type( discreteFunction );defines type of data handle for communicationDefinition discretefunctionspace.hh:245
◆ end()
|
inlineinherited |
get iterator pointing behind the last entity of the associated grid partition
- Returns
- iterator pointing behind last entity
- Note
- The default implementation uses the codim 0 iterators of the associated grid partition.
◆ forEach()
|
inlineinherited |
apply a functor to each entity in the associated grid partition
The functor must provide an the following operator
- Parameters
-
[in] f functor to apply
- Note
- The default implementation simply does the following: f( *it );Traits::IteratorType IteratorTypeDefinition combinedspace/generic.hh:41const DiscreteFunctionSpaceType & asImp() constDefinition discretefunctionspace.hh:597IteratorType end() constget iterator pointing behind the last entity of the associated grid partitionDefinition discretefunctionspace.hh:817IteratorType begin() constget iterator pointing to the first entity of the associated grid partitionDefinition discretefunctionspace.hh:807
◆ geomTypes()
|
inlineinherited |
returns true if the grid has more than one geometry type
- Returns
- true if the underlying grid has more than one geometry type (hybrid grid), false otherwise
◆ grid() [1/2]
|
inlineinherited |
get reference to grid this discrete function space belongs to
- Returns
- reference to grid
◆ grid() [2/2]
|
inlineinherited |
get reference to grid this discrete function space belongs to
- Returns
- constant reference to grid
◆ gridPart() [1/2]
|
inlineinherited |
get a reference to the associated grid partition
- Returns
- reference to the grid partition
◆ gridPart() [2/2]
|
inlineinherited |
◆ indexSet()
|
inlineinherited |
Get a reference to the associated index set.
- Returns
- const reference to index set
◆ interpolation()
|
inlineinherited |
return local interpolation object
◆ maxNumDofs()
|
inlineinherited |
return the maximal number of dofs on entities
◆ multipleBasisFunctionSets()
|
inlineinherited |
returns true if base function sets depend on the entity
- Returns
- true if base function set depend on entities, false otherwise
- Note
- The default implementation returns false.
◆ multipleGeometryTypes()
|
inlineinherited |
returns true if the grid has more than one geometry type
- Returns
- true if the underlying grid has more than one geometry type (hybrid grid), false otherwise
◆ myPolicy()
|
inline |
policy of this space
◆ numComponents()
|
inline |
number of components
◆ operator=()
|
delete |
◆ order() [1/3]
|
inlineinherited |
get global order of space
- Returns
- order of space, i.e., the maximal polynomial order of base functions
◆ order() [2/3]
|
inlineinherited |
get global order of space
- Returns
- order of space, i.e., the maximal polynomial order of base functions
◆ order() [3/3]
|
inlineinherited |
default implementation of the method order
- Returns
- returns max polynomial order for each entity using the method order()
◆ primarySize()
|
inlineinherited |
get number of primary DoFs for this space
- Returns
- number of primary DoFs (degrees of freedom that are owned by this process )
◆ removeFunction()
|
inlineinherited |
default implementation of removeFunction does nothing at the moment
◆ sequence()
|
inlineinherited |
get index of the sequence in grid sequences
- Returns
- number of current sequence
◆ size()
|
inlineinherited |
get number of DoFs for this space
- Returns
- number of DoFs (degrees of freedom)
◆ slaveDofs()
|
inlineinherited |
deprecated method, use auxiliaryDofs
◆ subDiscreteFunctionSpace()
|
inlineinherited |
obtain the i-th subspace
◆ type()
|
inlineinherited |
get the type of this discrete function space
- Returns
- DFSpaceIdentifier
Member Data Documentation
◆ allGeomTypes_
|
protectedinherited |
◆ auxiliaryDofs_
|
mutableprotectedinherited |
◆ commDirection_
|
protectedinherited |
◆ commInterface_
|
protectedinherited |
◆ communicator_
|
mutableprotectedinherited |
◆ defaultDirection
|
staticinherited |
default communication direction
◆ defaultInterface
|
staticinherited |
default communication interface
◆ dofManager_
|
protectedinherited |
◆ gridPart_
|
protectedinherited |
◆ id
|
staticinherited |
identifier of this discrete function space
◆ ldvAllocator_
|
mutableprotectedinherited |
◆ ldvStack_
|
mutableprotectedinherited |
◆ localBlockSize
|
staticconstexprinherited |
size of local blocks
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8