dune-fem
2.8-git
|
Rannacher-Turek Space. More...
#include <dune/fem/space/localfiniteelement/dgspace.hh>
Public Member Functions | |
template<class GridPart , std::enable_if_t< std::is_same< GridPart, GridPartType >::value &&std::is_same< KeyType, std::tuple<> >::value, int > = 0> | |
DiscontinuousLocalFiniteElementSpace (GridPart &gridPart, const InterfaceType commInterface=InteriorBorder_All_Interface, const CommunicationDirection commDirection=ForwardCommunication) | |
template<class GridPart , std::enable_if_t< std::is_same< GridPart, GridPartType >::value &&!std::is_same< KeyType, std::tuple<> >::value, int > = 0> | |
DiscontinuousLocalFiniteElementSpace (GridPart &gridPart, const KeyType &key, const InterfaceType commInterface=InteriorBorder_All_Interface, const CommunicationDirection commDirection=ForwardCommunication) | |
DiscontinuousLocalFiniteElementSpace (const ThisType &)=delete | |
DiscontinuousLocalFiniteElementSpace (ThisType &&)=delete | |
ThisType & | operator= (const ThisType &)=delete |
ThisType & | operator= (ThisType &&)=delete |
DFSpaceIdentifier | type () const |
return type identifier of discrete function space More... | |
BasisFunctionSetType | basisFunctionSet (const EntityType &entity) const |
get basis function set for given entity More... | |
ShapeFunctionSetType | shapeFunctionSet (const EntityType &entity) const |
return shape function set for given entity More... | |
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... | |
int | order () const |
get global order of space More... | |
bool | multipleGeometryTypes () const |
returns true if the grid has more than one geometry type More... | |
BlockMapperType & | blockMapper () const |
get a reference to the block mapper More... | |
InterpolationType | interpolation () const |
return local interpolation object (uninitialized) More... | |
InterpolationImplType | interpolation (const EntityType &entity) const |
return local interpolation More... | |
InterpolationImplType | localInterpolation (const EntityType &entity) const |
return local interpolation More... | |
const QuadratureType & | quadrature (const GeometryType &type) const |
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 | 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... | |
const BasisFunctionSetType | basisFunctionSet (const EntityType &entity) const |
get basis function set for given entity More... | |
const AuxiliaryDofsType & | slaveDofs () const |
deprecated method, use auxiliaryDofs More... | |
Static Public Attributes | |
static constexpr std::size_t | localBlockSize |
size of local blocks More... | |
static const unsigned int | scalarBlockSize = 1 |
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 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... | |
Rannacher-Turek Space.
|
protectedinherited |
|
protectedinherited |
|
inherited |
typedef BaseType::BasisFunctionSetType Dune::Fem::DiscontinuousLocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::BasisFunctionSetType |
typedef BaseType::BlockMapperType Dune::Fem::DiscontinuousLocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::BlockMapperType |
|
inherited |
type of communication manager
|
inherited |
|
inherited |
type of DoF manager
typedef BaseType::EntityType Dune::Fem::DiscontinuousLocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::EntityType |
typedef BaseType::FunctionSpaceType Dune::Fem::DiscontinuousLocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::FunctionSpaceType |
typedef BaseType::GridPartType Dune::Fem::DiscontinuousLocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::GridPartType |
|
inherited |
|
inherited |
typedef LocalFiniteElementInterpolation< ThisType, LocalInterpolationType, LocalBasisType::dimRange==1 > Dune::Fem::DiscontinuousLocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::InterpolationImplType |
typedef LocalFEInterpolationWrapper< ThisType > Dune::Fem::DiscontinuousLocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::InterpolationType |
Interpolation object.
typedef BaseType::IntersectionType Dune::Fem::DiscontinuousLocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::IntersectionType |
|
inherited |
typedef LFEMapType::KeyType Dune::Fem::DiscontinuousLocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::KeyType |
typedef Traits::LFEMapType Dune::Fem::DiscontinuousLocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::LFEMapType |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
typedef Traits::LocalFiniteElementType Dune::Fem::DiscontinuousLocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::LocalFiniteElementType |
|
protectedinherited |
typedef LFEMapType::LocalCoefficientsType Dune::Fem::DiscontinuousLocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::QuadratureType |
typedef BaseType::Traits::ShapeFunctionSetType Dune::Fem::DiscontinuousLocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::ShapeFunctionSetType |
|
inherited |
deprecated type
|
inlineexplicit |
|
inlineexplicit |
|
delete |
|
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 |
|
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 |
get a reference to the block mapper
|
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 |
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 |
|
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 |
return local interpolation object (uninitialized)
|
inline |
return local interpolation
[in] | entity | grid part entity |
|
inline |
return local interpolation
[in] | entity | grid part entity |
|
inlineinherited |
return the maximal number of dofs on entities
|
inlineinherited |
returns true if base function sets depend on the entity
|
inline |
returns true if the grid has more than one geometry type
|
delete |
|
delete |
|
inline |
get global order of space
|
inlineinherited |
default implementation of the method order
|
inline |
|
inlineinherited |
default implementation of removeFunction does nothing at the moment
|
inlineinherited |
get index of the sequence in grid sequences
|
inline |
return shape function set for given entity
[in] | entity | entity for which shape function set is requested |
|
inlineinherited |
get number of DoFs for this space
|
inlineinherited |
deprecated method, use auxiliaryDofs
|
inline |
return type identifier of 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 |
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
staticconstexprinherited |
size of local blocks
|
staticinherited |