dune-fem 2.8-git
Classes | Public Types | Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Related Functions | List of all members
Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage > Class Template Reference

Rannacher-Turek Space. More...

#include <dune/fem/space/localfiniteelement/space.hh>

Inheritance diagram for Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >:
Inheritance graph

Public Types

typedef BaseType::Traits Traits
 
typedef BaseType::FunctionSpaceType FunctionSpaceType
 
typedef BaseType::GridPartType GridPartType
 
typedef BaseType::EntityType EntityType
 
typedef BaseType::IntersectionType IntersectionType
 
typedef BaseType::Traits::ShapeFunctionSetType ShapeFunctionSetType
 
typedef BaseType::BasisFunctionSetType BasisFunctionSetType
 
typedef BaseType::BlockMapperType BlockMapperType
 
typedef Traits::LocalFiniteElementType LocalFiniteElementType
 
typedef Traits::LFEMapType LFEMapType
 
typedef LocalFiniteElementInterpolation< ThisType, LocalInterpolationType, Traits::isScalarInterpolationImplType
 
typedef LocalFEInterpolationWrapper< ThisTypeInterpolationType
 Interpolation object. More...
 
typedef LFEMapType::LocalCoefficientsType QuadratureType
 
typedef Traits::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
 
typedef BaseType::GridType GridType
 
typedef BaseType::IndexSetType IndexSetType
 
typedef BaseType::IteratorType IteratorType
 
typedef DofManager< GridTypeDofManagerType
 type of DoF manager More...
 
typedef CommunicationManager< DiscreteFunctionSpaceTypeCommunicationManagerType
 type of communication manager More...
 
typedef BaseType::AuxiliaryDofsType AuxiliaryDofsType
 
typedef Traits::LocalBlockIndices LocalBlockIndices
 
typedef AuxiliaryDofsType SlaveDofsType
 deprecated type More...
 

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>
 LocalFiniteElementSpace (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>
 LocalFiniteElementSpace (GridPart &gridPart, const KeyType &key, 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>
 LocalFiniteElementSpace (GridPart &gridPart, const InterfaceType commInterface=InteriorBorder_All_Interface, const CommunicationDirection commDirection=ForwardCommunication)
 
 LocalFiniteElementSpace (const ThisType &)=delete
 
 LocalFiniteElementSpace (ThisType &&)=delete
 
ThisTypeoperator= (const ThisType &)=delete
 
ThisTypeoperator= (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...
 
BlockMapperTypeblockMapper () 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 QuadratureTypequadrature (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 GridTypegrid () const
 get reference to grid this discrete function space belongs to More...
 
GridTypegrid ()
 get reference to grid this discrete function space belongs to More...
 
GridPartTypegridPart () const
 
GridPartTypegridPart ()
 get a reference to the associated grid partition More...
 
const IndexSetTypeindexSet () 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 CommunicationManagerTypecommunicator () 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 AuxiliaryDofsTypeauxiliaryDofs () 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 AuxiliaryDofsTypeslaveDofs () const
 deprecated method, use auxiliaryDofs More...
 

Static Public Attributes

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< UninitializedObjectStackLocalDofVectorStackType
 
typedef StackAllocator< typename BaseType::RangeFieldType, LocalDofVectorStackType * > LocalDofVectorAllocatorType
 
typedef Dune::DynamicVector< typename BaseType::RangeFieldType, LocalDofVectorAllocatorTypeLocalDofVectorType
 
typedef BasicTemporaryLocalFunction< ThisType, LocalDofVectorTypeLocalFunctionType
 
typedef AllGeomTypes< IndexSetType, GridTypeAllGeometryTypes
 

Protected Member Functions

const std::vector< GeometryType > & geomTypes (int codim) const
 returns true if the grid has more than one geometry type More...
 
const DiscreteFunctionSpaceTypeasImp () const
 
DiscreteFunctionSpaceTypeasImp ()
 

Protected Attributes

GridPartTypegridPart_
 
LocalDofVectorStackType ldvStack_
 
LocalDofVectorAllocatorType ldvAllocator_
 
const AllGeometryTypes allGeomTypes_
 
DofManagerTypedofManager_
 
const InterfaceType commInterface_
 
const CommunicationDirection commDirection_
 
std::unique_ptr< CommunicationManagerTypecommunicator_
 
std::unique_ptr< std::pair< AuxiliaryDofsType, int >, typename AuxiliaryDofsProviderType::DeleterauxiliaryDofs_
 

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...
 

Detailed Description

template<class LFEMap, class FunctionSpace, class Storage>
class Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >

Rannacher-Turek Space.

Note
The LocalFiniteElementSpace depends on dune-localfunctions (see http://www.dune-project.org).
Todo:
please doc me

Member Typedef Documentation

◆ AllGeometryTypes

typedef AllGeomTypes< IndexSetType, GridType > Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::AllGeometryTypes
protectedinherited

◆ AuxiliaryDofsProviderType

typedef SingletonList< std::pair< GridPartType *, BlockMapperType * >, std::pair< AuxiliaryDofsType, int >, AuxiliaryDofsFactory > Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::AuxiliaryDofsProviderType
protectedinherited

◆ AuxiliaryDofsType

◆ BasisFunctionSetType

template<class LFEMap , class FunctionSpace , class Storage >
typedef BaseType::BasisFunctionSetType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::BasisFunctionSetType

◆ BlockMapperType

template<class LFEMap , class FunctionSpace , class Storage >
typedef BaseType::BlockMapperType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::BlockMapperType

◆ CommunicationManagerType

type of communication manager

◆ DiscreteFunctionSpaceType

◆ DofManagerType

typedef DofManager< GridType > Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::DofManagerType
inherited

type of DoF manager

◆ EntityType

template<class LFEMap , class FunctionSpace , class Storage >
typedef BaseType::EntityType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::EntityType

◆ FunctionSpaceType

template<class LFEMap , class FunctionSpace , class Storage >
typedef BaseType::FunctionSpaceType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::FunctionSpaceType

◆ GridPartType

template<class LFEMap , class FunctionSpace , class Storage >
typedef BaseType::GridPartType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::GridPartType

◆ GridType

◆ IndexSetType

◆ InterpolationImplType

template<class LFEMap , class FunctionSpace , class Storage >
typedef LocalFiniteElementInterpolation< ThisType, LocalInterpolationType, Traits::isScalar > Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::InterpolationImplType

◆ InterpolationType

template<class LFEMap , class FunctionSpace , class Storage >
typedef LocalFEInterpolationWrapper< ThisType > Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::InterpolationType

Interpolation object.

◆ IntersectionType

template<class LFEMap , class FunctionSpace , class Storage >
typedef BaseType::IntersectionType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::IntersectionType

◆ IteratorType

◆ LFEMapType

template<class LFEMap , class FunctionSpace , class Storage >
typedef Traits::LFEMapType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::LFEMapType

◆ LocalBlockIndices

◆ LocalDofVectorAllocatorType

typedef StackAllocator< typename BaseType::RangeFieldType, LocalDofVectorStackType* > Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::LocalDofVectorAllocatorType
protectedinherited

◆ LocalDofVectorStackType

typedef ThreadSafeValue< UninitializedObjectStack > Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::LocalDofVectorStackType
protectedinherited

◆ LocalDofVectorType

typedef Dune::DynamicVector< typename BaseType::RangeFieldType, LocalDofVectorAllocatorType > Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::LocalDofVectorType
protectedinherited

◆ LocalFiniteElementType

template<class LFEMap , class FunctionSpace , class Storage >
typedef Traits::LocalFiniteElementType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::LocalFiniteElementType

◆ LocalFunctionType

◆ QuadratureType

template<class LFEMap , class FunctionSpace , class Storage >
typedef LFEMapType::LocalCoefficientsType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::QuadratureType

◆ ShapeFunctionSetType

template<class LFEMap , class FunctionSpace , class Storage >
typedef BaseType::Traits::ShapeFunctionSetType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::ShapeFunctionSetType

◆ SlaveDofsType

deprecated type

◆ Traits

template<class LFEMap , class FunctionSpace , class Storage >
typedef BaseType::Traits Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::Traits

Constructor & Destructor Documentation

◆ LocalFiniteElementSpace() [1/5]

template<class LFEMap , class FunctionSpace , class Storage >
template<class GridPart , std::enable_if_t< std::is_same< GridPart, GridPartType >::value &&std::is_same< KeyType, std::tuple<> >::value, int > = 0>
Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::LocalFiniteElementSpace ( GridPart &  gridPart,
const InterfaceType  commInterface = InteriorBorder_All_Interface,
const CommunicationDirection  commDirection = ForwardCommunication 
)
inlineexplicit

◆ LocalFiniteElementSpace() [2/5]

template<class LFEMap , class FunctionSpace , class Storage >
template<class GridPart , std::enable_if_t< std::is_same< GridPart, GridPartType >::value &&!std::is_same< KeyType, std::tuple<> >::value, int > = 0>
Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::LocalFiniteElementSpace ( GridPart &  gridPart,
const KeyType &  key,
const InterfaceType  commInterface = InteriorBorder_All_Interface,
const CommunicationDirection  commDirection = ForwardCommunication 
)
inlineexplicit

◆ LocalFiniteElementSpace() [3/5]

template<class LFEMap , class FunctionSpace , class Storage >
template<class GridPart , std::enable_if_t< std::is_same< GridPart, GridPartType >::value &&!std::is_same< KeyType, std::tuple<> >::value, int > = 0>
Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::LocalFiniteElementSpace ( GridPart &  gridPart,
const InterfaceType  commInterface = InteriorBorder_All_Interface,
const CommunicationDirection  commDirection = ForwardCommunication 
)
inlineexplicit

◆ LocalFiniteElementSpace() [4/5]

template<class LFEMap , class FunctionSpace , class Storage >
Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::LocalFiniteElementSpace ( const ThisType )
delete

◆ LocalFiniteElementSpace() [5/5]

template<class LFEMap , class FunctionSpace , class Storage >
Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::LocalFiniteElementSpace ( ThisType &&  )
delete

Member Function Documentation

◆ adapt()

void Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::adapt ( const Vector &  polynomialOrders,
const int  polOrderShift = 0 
) const
inlineinherited

default implementation of adapt does nothing, its only used in PAdaptiveLagrangeSpace

◆ addFunction()

void Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::addFunction ( DiscreteFunction &  df) const
inlineinherited

default implementation of addFunction does nothing at the moment

◆ asImp() [1/2]

◆ asImp() [2/2]

const DiscreteFunctionSpaceType & Dune::Fem::DiscreteFunctionSpaceInterface< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::asImp ( ) const
inlineprotectedinherited

◆ auxiliaryDofs()

const AuxiliaryDofsType & Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::auxiliaryDofs ( ) const
inlineinherited

get auxiliary dofs

◆ basisFunctionSet() [1/2]

const BasisFunctionSetType Dune::Fem::DiscreteFunctionSpaceInterface< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::basisFunctionSet ( const EntityType entity) const
inlineinherited

get basis function set for given entity

Parameters
[in]entityentity (of codim 0) for which base function is requested
Returns
BasisFunctionSet for the entity

◆ basisFunctionSet() [2/2]

template<class LFEMap , class FunctionSpace , class Storage >
BasisFunctionSetType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::basisFunctionSet ( const EntityType entity) const
inline

get basis function set for given entity

Parameters
[in]entityentity (of codim 0) for which base function is requested
Returns
BasisFunctionSet for the entity

◆ begin()

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()

template<class LFEMap , class FunctionSpace , class Storage >
BlockMapperType & Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::blockMapper ( ) const
inline

get a reference to the block mapper

Returns
refernce to the block mapper

◆ communicate() [1/2]

void Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::communicate ( DiscreteFunction &  discreteFunction) const
inlineinherited

communicate data for given discrete function using the space's default communication operation

Parameters
discreteFunctiondiscrete function to be communicated

◆ communicate() [2/2]

void Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::communicate ( DiscreteFunction &  discreteFunction,
const Operation &  op 
) const
inlineinherited

communicate data for given discrete function

Parameters
discreteFunctiondiscrete function to be communicated
[in]opcommunication operation to use (see DFCommunicationOperation)

◆ communicationDirection()

CommunicationDirection Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::communicationDirection ( ) const
inlineinherited

return the communication interface appropriate for this space

Returns
communication interface

◆ communicationInterface()

InterfaceType Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::communicationInterface ( ) const
inlineinherited

return the communication interface appropriate for this space

Returns
communication interface

◆ communicator()

const CommunicationManagerType & Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::communicator ( ) const
inlineinherited

return reference to communicator (see CommunicationManager)

Returns
reference to communicator

◆ continuous() [1/2]

template<class LFEMap , class FunctionSpace , class Storage >
bool Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::continuous ( ) const
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.

Returns
true if the space contians only globally continous functions, false otherwise

◆ continuous() [2/2]

template<class LFEMap , class FunctionSpace , class Storage >
bool Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::continuous ( const IntersectionType intersection) const
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.

Returns
true if the space contians only globally continous functions, false otherwise

◆ createDataHandle()

BaseType::template CommDataHandle< DiscreteFunction, Operation >::Type Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::createDataHandle ( DiscreteFunction &  discreteFunction,
const Operation &  operation 
) const
inlineinherited

Note
The default implementation is
return CommDataHandle< DiscreteFunction, Operation > :: Type( discreteFunction );

◆ end()

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()

void Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::forEach ( FunctorType &  f) const
inlineinherited

apply a functor to each entity in the associated grid partition

The functor must provide an the following operator

template< class EntityType >
void operator() ( const EntityType & );
BaseType::EntityType EntityType
Definition: localfiniteelement/space.hh:125
Parameters
[in]ffunctor to apply
Note
The default implementation simply does the following:
const IteratorType end = asImp().end();
for( IteratorType it = asImp().begin(); it != end; ++it )
f( *it );
const DiscreteFunctionSpaceType & asImp() const
Definition: discretefunctionspace.hh:576
IteratorType end() const
get iterator pointing behind the last entity of the associated grid partition
Definition: discretefunctionspace.hh:783
IteratorType begin() const
get iterator pointing to the first entity of the associated grid partition
Definition: discretefunctionspace.hh:773

◆ geomTypes()

const std::vector< GeometryType > & Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::geomTypes ( int  codim) const
inlineprotectedinherited

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]

get reference to grid this discrete function space belongs to

Returns
reference to grid

◆ grid() [2/2]

const GridType & Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::grid ( ) const
inlineinherited

get reference to grid this discrete function space belongs to

Returns
constant reference to grid

◆ gridPart() [1/2]

get a reference to the associated grid partition

Returns
reference to the grid partition

◆ gridPart() [2/2]

GridPartType & Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::gridPart ( ) const
inlineinherited

◆ indexSet()

const IndexSetType & Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::indexSet ( ) const
inlineinherited

Get a reference to the associated index set.

Returns
const reference to index set

◆ interpolation() [1/2]

template<class LFEMap , class FunctionSpace , class Storage >
InterpolationType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::interpolation ( ) const
inline

return local interpolation object (uninitialized)

◆ interpolation() [2/2]

template<class LFEMap , class FunctionSpace , class Storage >
InterpolationImplType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::interpolation ( const EntityType entity) const
inline

return local interpolation

Parameters
[in]entitygrid part entity

◆ localInterpolation()

template<class LFEMap , class FunctionSpace , class Storage >
InterpolationImplType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::localInterpolation ( const EntityType entity) const
inline

return local interpolation

Parameters
[in]entitygrid part entity

◆ maxNumDofs()

int Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::maxNumDofs ( ) const
inlineinherited

return the maximal number of dofs on entities

◆ multipleBasisFunctionSets()

bool Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::multipleBasisFunctionSets ( ) const
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()

template<class LFEMap , class FunctionSpace , class Storage >
bool Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::multipleGeometryTypes ( ) const
inline

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

◆ operator=() [1/2]

template<class LFEMap , class FunctionSpace , class Storage >
ThisType & Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::operator= ( const ThisType )
delete

◆ operator=() [2/2]

template<class LFEMap , class FunctionSpace , class Storage >
ThisType & Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::operator= ( ThisType &&  )
delete

◆ order() [1/2]

template<class LFEMap , class FunctionSpace , class Storage >
int Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::order ( ) const
inline

get global order of space

Returns
order of space, i.e., the maximal polynomial order of base functions

◆ order() [2/2]

int Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::order ( const EntityType entity) const
inlineinherited

default implementation of the method order

Returns
returns max polynomial order for each entity using the method order()

◆ quadrature()

template<class LFEMap , class FunctionSpace , class Storage >
const QuadratureType & Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::quadrature ( const GeometryType &  type) const
inline

◆ removeFunction()

void Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::removeFunction ( DiscreteFunction &  df) const
inlineinherited

default implementation of removeFunction does nothing at the moment

◆ sequence()

int Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::sequence ( ) const
inlineinherited

get index of the sequence in grid sequences

Returns
number of current sequence

◆ shapeFunctionSet()

template<class LFEMap , class FunctionSpace , class Storage >
ShapeFunctionSetType Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::shapeFunctionSet ( const EntityType entity) const
inline

return shape function set for given entity

Parameters
[in]entityentity for which shape function set is requested
Returns
ShapeFunctionSetType shape function set

◆ size()

int Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::size ( ) const
inlineinherited

get number of DoFs for this space

Returns
number of DoFs (degrees of freedom)

◆ slaveDofs()

const AuxiliaryDofsType & Dune::Fem::DiscreteFunctionSpaceInterface< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::slaveDofs ( ) const
inlineinherited

deprecated method, use auxiliaryDofs

◆ type()

template<class LFEMap , class FunctionSpace , class Storage >
DFSpaceIdentifier Dune::Fem::LocalFiniteElementSpace< LFEMap, FunctionSpace, Storage >::type ( ) const
inline

return type identifier of discrete function space

Returns
return type identifier of discrete function space

Friends And Related Function Documentation

◆ operator==()

bool operator== ( const DiscreteFunctionSpaceInterface< Traits > &  X,
const DiscreteFunctionSpaceInterface< Traits > &  Y 
)
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.

Member Data Documentation

◆ allGeomTypes_

const AllGeometryTypes Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::allGeomTypes_
protectedinherited

◆ auxiliaryDofs_

std::unique_ptr< std::pair< AuxiliaryDofsType, int >, typename AuxiliaryDofsProviderType::Deleter > Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::auxiliaryDofs_
mutableprotectedinherited

◆ commDirection_

const CommunicationDirection Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::commDirection_
protectedinherited

◆ commInterface_

const InterfaceType Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::commInterface_
protectedinherited

◆ communicator_

std::unique_ptr< CommunicationManagerType > Dune::Fem::DiscreteFunctionSpaceDefault< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::communicator_
mutableprotectedinherited

◆ dofManager_

◆ gridPart_

◆ ldvAllocator_

◆ ldvStack_

◆ localBlockSize

constexpr std::size_t Dune::Fem::DiscreteFunctionSpaceInterface< LocalFiniteElementSpaceTraits< LFEMap, FunctionSpace, Storage > >::localBlockSize
staticconstexprinherited

size of local blocks


The documentation for this class was generated from the following files: