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::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage > Class Template Reference

Lagrange discrete function space. More...

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

Inheritance diagram for Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >:
Inheritance graph

Public Types

typedef BaseType::Traits Traits
 
typedef BaseType::FunctionSpaceType FunctionSpaceType
 
typedef BaseType::GridPartType GridPartType
 
typedef BaseType::GridType GridType
 
typedef BaseType::IndexSetType IndexSetType
 
typedef BaseType::EntityType EntityType
 
typedef BaseType::IntersectionType IntersectionType
 
typedef BaseType::Traits::ShapeFunctionSetType ShapeFunctionSetType
 
typedef BaseType::BasisFunctionSetType BasisFunctionSetType
 
typedef BaseType::BlockMapperType BlockMapperType
 
typedef LagrangePointSet< GridPartType, maxPolynomialOrderLagrangePointSetType
 
typedef LagrangeLocalInterpolation< GridPartType, maxPolynomialOrder, BasisFunctionSetTypeLocalInterpolationType
 
typedef LocalInterpolationType InterpolationImplType
 
typedef LocalInterpolationWrapper< ThisTypeInterpolationType
 
typedef Traits ::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
 
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

 LagrangeDiscreteFunctionSpace (GridPartType &gridPart, const InterfaceType commInterface, const CommunicationDirection commDirection)
 
 LagrangeDiscreteFunctionSpace (GridPartType &gridPart, const int polOrder=minPolynomialOrder, const InterfaceType commInterface=defaultInterface, const CommunicationDirection commDirection=defaultDirection)
 
DFSpaceIdentifier type () const
 return type identifier of discrete function space More...
 
const BasisFunctionSetType basisFunctionSet (const EntityType &entity) const
 get basis 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...
 
BlockMapperTypeblockMapper () const
 get a reference to the block mapper More...
 
InterpolationType interpolation () const
 return interpolation object More...
 
LocalInterpolationType interpolation (const EntityType &entity) const
 return local interpolation for given entity More...
 
LocalInterpolationType localInterpolation (const EntityType &entity) const
 return local interpolation for given entity More...
 
ShapeFunctionSetType shapeFunctionSet (const EntityType &entity) const
 return shape function set for given entity More...
 
ShapeFunctionSetType shapeFunctionSet (const GeometryType &type) const
 return shape unique function set for geometry type More...
 
 LagrangeDiscreteFunctionSpace (const ThisType &)=delete
 
ThisTypeoperator= (const ThisType &)=delete
 
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 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 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 const int maxPolynomialOrder = Traits :: maxPolynomialOrder
 
static const int minPolynomialOrder = Traits :: minPolynomialOrder
 
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

std::unique_ptr< BlockMapperType, typename BlockMapperProviderType::DeleterblockMapper_
 
ScalarShapeFunctionSetStorageType scalarShapeFunctionSets_
 
LagrangePointSetContainerType lagrangePointSetContainer_
 
const int polynomialOrder_
 
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 FunctionSpace, class GridPart, int maxPolOrder, class Storage>
class Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >

Lagrange discrete function space.

Member Typedef Documentation

◆ AllGeometryTypes

◆ AuxiliaryDofsProviderType

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

◆ AuxiliaryDofsType

◆ BasisFunctionSetType

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
typedef BaseType::BasisFunctionSetType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::BasisFunctionSetType

◆ BlockMapperType

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
typedef BaseType::BlockMapperType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::BlockMapperType

◆ CommunicationManagerType

type of communication manager

◆ DiscreteFunctionSpaceType

◆ DofManagerType

type of DoF manager

◆ EntityType

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
typedef BaseType::EntityType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::EntityType

◆ FunctionSpaceType

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
typedef BaseType::FunctionSpaceType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::FunctionSpaceType

◆ GridPartType

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
typedef BaseType::GridPartType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::GridPartType

◆ GridType

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
typedef BaseType::GridType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::GridType

◆ IndexSetType

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
typedef BaseType::IndexSetType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::IndexSetType

◆ InterpolationImplType

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
typedef LocalInterpolationType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::InterpolationImplType

◆ InterpolationType

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
typedef LocalInterpolationWrapper< ThisType > Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::InterpolationType

◆ IntersectionType

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
typedef BaseType::IntersectionType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::IntersectionType

◆ IteratorType

◆ LagrangePointSetType

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
typedef LagrangePointSet< GridPartType, maxPolynomialOrder > Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::LagrangePointSetType

◆ LocalBlockIndices

◆ LocalDofVectorAllocatorType

typedef StackAllocator< typename BaseType::RangeFieldType, LocalDofVectorStackType* > Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::LocalDofVectorAllocatorType
protectedinherited

◆ LocalDofVectorStackType

◆ LocalDofVectorType

typedef Dune::DynamicVector< typename BaseType::RangeFieldType, LocalDofVectorAllocatorType > Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::LocalDofVectorType
protectedinherited

◆ LocalFunctionType

◆ LocalInterpolationType

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
typedef LagrangeLocalInterpolation< GridPartType, maxPolynomialOrder, BasisFunctionSetType > Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::LocalInterpolationType

◆ ShapeFunctionSetType

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
typedef BaseType::Traits::ShapeFunctionSetType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::ShapeFunctionSetType

◆ SlaveDofsType

deprecated type

◆ Traits

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
typedef BaseType::Traits Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::Traits

Constructor & Destructor Documentation

◆ LagrangeDiscreteFunctionSpace() [1/3]

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::LagrangeDiscreteFunctionSpace ( GridPartType gridPart,
const InterfaceType  commInterface,
const CommunicationDirection  commDirection 
)
inlineexplicit

◆ LagrangeDiscreteFunctionSpace() [2/3]

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::LagrangeDiscreteFunctionSpace ( GridPartType gridPart,
const int  polOrder = minPolynomialOrder,
const InterfaceType  commInterface = defaultInterface,
const CommunicationDirection  commDirection = defaultDirection 
)
inlineexplicit

◆ LagrangeDiscreteFunctionSpace() [3/3]

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::LagrangeDiscreteFunctionSpace ( const ThisType )
delete

Member Function Documentation

◆ adapt()

void Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, 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< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::addFunction ( DiscreteFunction &  df) const
inlineinherited

default implementation of addFunction does nothing at the moment

◆ asImp() [1/2]

DiscreteFunctionSpaceType& Dune::Fem::DiscreteFunctionSpaceInterface< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::asImp ( )
inlineprotectedinherited

◆ asImp() [2/2]

const DiscreteFunctionSpaceType& Dune::Fem::DiscreteFunctionSpaceInterface< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::asImp ( ) const
inlineprotectedinherited

◆ auxiliaryDofs()

const AuxiliaryDofsType& Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::auxiliaryDofs ( ) const
inlineinherited

get auxiliary dofs

◆ basisFunctionSet() [1/2]

const BasisFunctionSetType Dune::Fem::DiscreteFunctionSpaceInterface< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, 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 FunctionSpace , class GridPart , int maxPolOrder, class Storage >
const BasisFunctionSetType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, 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()

IteratorType Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::begin ( ) const
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()

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
BlockMapperType& Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::blockMapper ( ) const
inline

get a reference to the block mapper

Returns
refernce to the block mapper

◆ communicate() [1/2]

void Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, 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< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, 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< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::communicationDirection ( ) const
inlineinherited

return the communication interface appropriate for this space

Returns
communication interface

◆ communicationInterface()

InterfaceType Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::communicationInterface ( ) const
inlineinherited

return the communication interface appropriate for this space

Returns
communication interface

◆ communicator()

const CommunicationManagerType& Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::communicator ( ) const
inlineinherited

return reference to communicator (see CommunicationManager)

Returns
reference to communicator

◆ continuous() [1/2]

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
bool Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, 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 FunctionSpace , class GridPart , int maxPolOrder, class Storage >
bool Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, 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< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::createDataHandle ( DiscreteFunction &  discreteFunction,
const Operation &  operation 
) const
inlineinherited

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

◆ end()

IteratorType Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::end ( ) const
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()

void Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, 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: lagrange/space.hh:148
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 );
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< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, 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]

GridType& Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::grid ( )
inlineinherited

get reference to grid this discrete function space belongs to

Returns
reference to grid

◆ grid() [2/2]

const GridType& Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::grid ( ) const
inlineinherited

get reference to grid this discrete function space belongs to

Returns
constant reference to grid

◆ gridPart() [1/2]

GridPartType& Dune::Fem::DiscreteFunctionSpaceInterface< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::gridPart ( )
inlineinherited

get a reference to the associated grid partition

Returns
reference to the grid partition

◆ gridPart() [2/2]

GridPartType& Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::gridPart ( ) const
inlineinherited

◆ indexSet()

const IndexSetType& Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::indexSet ( ) const
inlineinherited

Get a reference to the associated index set.

Returns
const reference to index set

◆ interpolation() [1/2]

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
InterpolationType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::interpolation ( ) const
inline

return interpolation object

◆ interpolation() [2/2]

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
LocalInterpolationType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::interpolation ( const EntityType entity) const
inline

return local interpolation for given entity

Parameters
[in]entitygrid part entity

◆ localInterpolation()

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
LocalInterpolationType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::localInterpolation ( const EntityType entity) const
inline

return local interpolation for given entity

Parameters
[in]entitygrid part entity

◆ maxNumDofs()

int Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::maxNumDofs ( ) const
inlineinherited

return the maximal number of dofs on entities

◆ multipleBasisFunctionSets()

bool Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, 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()

bool Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::multipleGeometryTypes ( ) const
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

◆ operator=()

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
ThisType& Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::operator= ( const ThisType )
delete

◆ order() [1/2]

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
int Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, 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< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, 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()

◆ removeFunction()

void Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::removeFunction ( DiscreteFunction &  df) const
inlineinherited

default implementation of removeFunction does nothing at the moment

◆ sequence()

int Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::sequence ( ) const
inlineinherited

get index of the sequence in grid sequences

Returns
number of current sequence

◆ shapeFunctionSet() [1/2]

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
ShapeFunctionSetType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::shapeFunctionSet ( const EntityType entity) const
inline

return shape function set for given entity

Parameters
[in]entityentity (of codim 0) for which shape function set is requested
Returns
ShapeFunctionSetType shape function set

◆ shapeFunctionSet() [2/2]

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
ShapeFunctionSetType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::shapeFunctionSet ( const GeometryType &  type) const
inline

return shape unique function set for geometry type

Parameters
[in]typegeometry type (must be a cube) for which shape function set is requested
Returns
ShapeFunctionSetType shape function set

◆ size()

int Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::size ( ) const
inlineinherited

get number of DoFs for this space

Returns
number of DoFs (degrees of freedom)

◆ slaveDofs()

const AuxiliaryDofsType& Dune::Fem::DiscreteFunctionSpaceInterface< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::slaveDofs ( ) const
inlineinherited

deprecated method, use auxiliaryDofs

◆ type()

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
DFSpaceIdentifier Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, 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< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::allGeomTypes_
protectedinherited

◆ auxiliaryDofs_

std::unique_ptr< std::pair< AuxiliaryDofsType, int >, typename AuxiliaryDofsProviderType::Deleter > Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::auxiliaryDofs_
mutableprotectedinherited

◆ blockMapper_

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
std::unique_ptr< BlockMapperType, typename BlockMapperProviderType::Deleter> Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::blockMapper_
protected

◆ commDirection_

const CommunicationDirection Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::commDirection_
protectedinherited

◆ commInterface_

const InterfaceType Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::commInterface_
protectedinherited

◆ communicator_

std::unique_ptr< CommunicationManagerType > Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::communicator_
mutableprotectedinherited

◆ dofManager_

DofManagerType& Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::dofManager_
protectedinherited

◆ gridPart_

GridPartType& Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::gridPart_
protectedinherited

◆ lagrangePointSetContainer_

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
LagrangePointSetContainerType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::lagrangePointSetContainer_
protected

◆ ldvAllocator_

LocalDofVectorAllocatorType Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::ldvAllocator_
mutableprotectedinherited

◆ ldvStack_

LocalDofVectorStackType Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::ldvStack_
mutableprotectedinherited

◆ localBlockSize

constexpr std::size_t Dune::Fem::DiscreteFunctionSpaceInterface< LagrangeDiscreteFunctionSpaceTraits< FunctionSpace, GridPart, maxPolOrder, Storage > >::localBlockSize
staticconstexprinherited

size of local blocks

◆ maxPolynomialOrder

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
const int Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::maxPolynomialOrder = Traits :: maxPolynomialOrder
static

◆ minPolynomialOrder

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
const int Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::minPolynomialOrder = Traits :: minPolynomialOrder
static

◆ polynomialOrder_

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
const int Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::polynomialOrder_
protected

◆ scalarShapeFunctionSets_

template<class FunctionSpace , class GridPart , int maxPolOrder, class Storage >
ScalarShapeFunctionSetStorageType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::scalarShapeFunctionSets_
protected

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