dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Related Functions | List of all members
Dune::Fem::hpDG::LegendreDiscontinuousGalerkinSpace< FunctionSpace, GridPart, order, Storage > Class Template Reference

Implementation of an $hp$-adaptive discrete function space using product Legendre polynomials. More...

#include <dune/fem/space/hpdg/legendre.hh>

Inheritance diagram for Dune::Fem::hpDG::LegendreDiscontinuousGalerkinSpace< FunctionSpace, GridPart, order, Storage >:
Inheritance graph

Public Types

using GridPartType = typename BaseType::GridPartType
 
using BasisFunctionSetsType = typename BaseType::BasisFunctionSetsType
 
using EntityType = typename BaseType::EntityType
 entity type
 
using KeyType = typename BasisFunctionSetsType::KeyType
 key type identifying a basis function set
 
using BasisFunctionSetType = typename BaseType::BasisFunctionSetType
 basis function set type
 
using BlockMapperType = typename BaseType::BlockMapperType
 block mapper type
 
typedef BaseType::AuxiliaryDofsType AuxiliaryDofsType
 
using InterpolationImplType = DiscontinuousGalerkinLocalL2Projection< GridPartType, BasisFunctionSetType >
 local interpolation type

 
using InterpolationType = LocalInterpolationWrapper< DiscreteFunctionSpaceType >
 local interpolation type

 
typedef FunctionSpaceTraits Traits
 
typedef BaseType::GridType GridType
 
typedef BaseType::IndexSetType IndexSetType
 
typedef BaseType::IteratorType IteratorType
 
typedef DofManager< GridTypeDofManagerType
 type of DoF manager
 
typedef CommunicationManager< DiscreteFunctionSpaceType > CommunicationManagerType
 type of communication manager
 
typedef Traits::FunctionSpaceType FunctionSpaceType
 type of function space
 
typedef Traits::LocalBlockIndices LocalBlockIndices
 
typedef GridPartType::IntersectionType IntersectionType
 type of the intersections
 
typedef AuxiliaryDofsType SlaveDofsType
 deprecated type
 

Public Member Functions

 LegendreDiscontinuousGalerkinSpace (GridPartType &gridPart, const Dune::InterfaceType interface=Dune::InteriorBorder_All_Interface, const Dune::CommunicationDirection direction=Dune::ForwardCommunication)
 
template<class Function >
 LegendreDiscontinuousGalerkinSpace (GridPartType &gridPart, Function function, const Dune::InterfaceType interface=Dune::InteriorBorder_All_Interface, const Dune::CommunicationDirection direction=Dune::ForwardCommunication)
 
bool continuous (const IntersectionType &intersection) const
 returns true if discrete functions over this space have zero jump over the given intersection.
 
int order (const EntityType &entity) const
 default implementation of the method order
 
const BasisFunctionSetType basisFunctionSet (const EntityType &entity) const
 get basis function set for given entity
 
template<class Vector >
void adapt (const Vector &polynomialOrders, const int polOrderShift=0) const
 default implementation of adapt does nothing, its only used in PAdaptiveLagrangeSpace
 
int sequence () const
 get index of the sequence in grid sequences
 
const GridTypegrid () const
 get reference to grid this discrete function space belongs to
 
GridTypegrid ()
 get reference to grid this discrete function space belongs to
 
GridPartTypegridPart () const
 
GridPartTypegridPart ()
 get a reference to the associated grid partition
 
const IndexSetTypeindexSet () const
 Get a reference to the associated index set.
 
int size () const
 get number of 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
 
InterfaceType communicationInterface () const
 return the communication interface appropriate for this space
 
CommunicationDirection communicationDirection () const
 return the communication interface appropriate for this space
 
const CommunicationManagerTypecommunicator () 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 AuxiliaryDofsTypeauxiliaryDofs () 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
 
const AuxiliaryDofsTypeslaveDofs () const
 deprecated method, use auxiliaryDofs
 
Query methods
bool continuous () const
 please doc me
 
bool continuous (const typename BaseType::IntersectionType &intersection) const
 please doc me
 
bool multipleBasisFunctionSets () const
 please doc me
 
Basis function set methods
int order () const
 return polynomial order
 
int order (const EntityType &entity) const
 return polynomial order
 
BasisFunctionSetType basisFunctionSet (const EntityType &entity) const
 return basis function set
 
Interpolation
InterpolationType interpolation () const
 return interpolation
 
InterpolationImplType interpolation (const EntityType &entity) const
 return interpolation
 
InterpolationImplType localInterpolation (const EntityType &entity) const
 return interpolation
 
Block mapper
BlockMapperTypeblockMapper () const
 return block mapper
 
Adaptation
const KeyTypekey (const EntityType &entity) const
 get identifiying basis function set key assigned to given entity
 
void mark (const KeyType &key, const EntityType &entity)
 assign new key to given entity
 
KeyType getMark (const EntityType &entity) const
 get key to be assigned to an entity after next call to adapt()
 
bool adapt ()
 please doc me
 
bool adapt (DataProjection< DiscreteFunctionSpace, Implementation > &projection)
 please doc me
 
Deprecated methods
DFSpaceIdentifier type () const
 
Non-interface methods
const BasisFunctionSetsTypebasisFunctionSets () const
 return basis function sets
 

Static Public Attributes

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 >, AuxiliaryDofsFactoryAuxiliaryDofsProviderType
 
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
 
const DiscreteFunctionSpaceType & asImp () const
 
DiscreteFunctionSpaceType & asImp ()
 

Protected Attributes

BasisFunctionSetsType basisFunctionSets_
 
BlockMapperType blockMapper_
 
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.)

template<class Traits >
bool operator== (const DiscreteFunctionSpaceInterface< Traits > &X, const DiscreteFunctionSpaceInterface< Traits > &Y)
 check two spaces for equality
 

Detailed Description

template<class FunctionSpace, class GridPart, int order, class Storage>
class Dune::Fem::hpDG::LegendreDiscontinuousGalerkinSpace< FunctionSpace, GridPart, order, Storage >

Implementation of an $hp$-adaptive discrete function space using product Legendre polynomials.

Template Parameters
FunctionSpacea Dune::Fem::FunctionSpace
GridParta Dune::Fem::GridPart
ordermaximum polynomial order per coordinate
Storagefor certain caching features

Member Typedef Documentation

◆ AllGeometryTypes

template<class FunctionSpaceTraits >
typedef AllGeomTypes< IndexSetType, GridType > Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::AllGeometryTypes
protectedinherited

◆ AuxiliaryDofsProviderType

typedef SingletonList< std::pair< GridPartType *, BlockMapperType * >, std::pair< AuxiliaryDofsType, int >, AuxiliaryDofsFactory > Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::AuxiliaryDofsProviderType
protectedinherited

◆ AuxiliaryDofsType

◆ BasisFunctionSetsType

template<class FunctionSpace , class GridPart , int order, class Storage >
using Dune::Fem::hpDG::LegendreDiscontinuousGalerkinSpace< FunctionSpace, GridPart, order, Storage >::BasisFunctionSetsType = typename BaseType::BasisFunctionSetsType

◆ BasisFunctionSetType

using Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::BasisFunctionSetType = typename BaseType::BasisFunctionSetType
inherited

basis function set type

◆ BlockMapperType

block mapper type

◆ CommunicationManagerType

template<class FunctionSpaceTraits >
typedef CommunicationManager< DiscreteFunctionSpaceType > Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::CommunicationManagerType
inherited

type of communication manager

◆ DofManagerType

template<class FunctionSpaceTraits >
typedef DofManager< GridType > Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::DofManagerType
inherited

type of DoF manager

◆ EntityType

entity type

◆ FunctionSpaceType

template<class FunctionSpaceTraits >
typedef Traits::FunctionSpaceType Dune::Fem::DiscreteFunctionSpaceInterface< FunctionSpaceTraits >::FunctionSpaceType
inherited

type of function space

◆ GridPartType

template<class FunctionSpace , class GridPart , int order, class Storage >
using Dune::Fem::hpDG::LegendreDiscontinuousGalerkinSpace< FunctionSpace, GridPart, order, Storage >::GridPartType = typename BaseType::GridPartType

◆ GridType

template<class FunctionSpaceTraits >
typedef BaseType::GridType Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::GridType
inherited

◆ IndexSetType

template<class FunctionSpaceTraits >
typedef BaseType::IndexSetType Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::IndexSetType
inherited

◆ InterpolationImplType

local interpolation type

◆ InterpolationType

using Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::InterpolationType = LocalInterpolationWrapper< DiscreteFunctionSpaceType >
inherited

local interpolation type

◆ IntersectionType

template<class FunctionSpaceTraits >
typedef GridPartType::IntersectionType Dune::Fem::DiscreteFunctionSpaceInterface< FunctionSpaceTraits >::IntersectionType
inherited

type of the intersections

◆ IteratorType

template<class FunctionSpaceTraits >
typedef BaseType::IteratorType Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::IteratorType
inherited

◆ KeyType

using Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::KeyType = typename BasisFunctionSetsType::KeyType
inherited

key type identifying a basis function set

◆ LocalBlockIndices

template<class FunctionSpaceTraits >
typedef Traits::LocalBlockIndices Dune::Fem::DiscreteFunctionSpaceInterface< FunctionSpaceTraits >::LocalBlockIndices
inherited

◆ LocalDofVectorAllocatorType

template<class FunctionSpaceTraits >
typedef StackAllocator< typename BaseType::RangeFieldType, LocalDofVectorStackType* > Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::LocalDofVectorAllocatorType
protectedinherited

◆ LocalDofVectorStackType

template<class FunctionSpaceTraits >
typedef ThreadSafeValue< UninitializedObjectStack > Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::LocalDofVectorStackType
protectedinherited

◆ LocalDofVectorType

template<class FunctionSpaceTraits >
typedef Dune::DynamicVector< typename BaseType::RangeFieldType, LocalDofVectorAllocatorType > Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::LocalDofVectorType
protectedinherited

◆ LocalFunctionType

template<class FunctionSpaceTraits >
typedef BasicTemporaryLocalFunction< ThisType, LocalDofVectorType > Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::LocalFunctionType
protectedinherited

◆ SlaveDofsType

template<class FunctionSpaceTraits >
typedef AuxiliaryDofsType Dune::Fem::DiscreteFunctionSpaceInterface< FunctionSpaceTraits >::SlaveDofsType
inherited

deprecated type

◆ Traits

template<class FunctionSpaceTraits >
typedef FunctionSpaceTraits Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::Traits
inherited

Constructor & Destructor Documentation

◆ LegendreDiscontinuousGalerkinSpace() [1/2]

template<class FunctionSpace , class GridPart , int order, class Storage >
Dune::Fem::hpDG::LegendreDiscontinuousGalerkinSpace< FunctionSpace, GridPart, order, Storage >::LegendreDiscontinuousGalerkinSpace ( GridPartType gridPart,
const Dune::InterfaceType  interface = Dune::InteriorBorder_All_Interface,
const Dune::CommunicationDirection  direction = Dune::ForwardCommunication 
)
inlineexplicit

◆ LegendreDiscontinuousGalerkinSpace() [2/2]

template<class FunctionSpace , class GridPart , int order, class Storage >
template<class Function >
Dune::Fem::hpDG::LegendreDiscontinuousGalerkinSpace< FunctionSpace, GridPart, order, Storage >::LegendreDiscontinuousGalerkinSpace ( GridPartType gridPart,
Function  function,
const Dune::InterfaceType  interface = Dune::InteriorBorder_All_Interface,
const Dune::CommunicationDirection  direction = Dune::ForwardCommunication 
)
inline

Member Function Documentation

◆ adapt() [1/3]

bool Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::adapt ( )
inlineinherited

please doc me

◆ adapt() [2/3]

template<class FunctionSpaceTraits >
template<class Vector >
void Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::adapt ( const Vector &  polynomialOrders,
const int  polOrderShift = 0 
) const
inlineinherited

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

◆ adapt() [3/3]

bool Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::adapt ( DataProjection< DiscreteFunctionSpace, Implementation > &  projection)
inlineinherited

please doc me

◆ addFunction()

template<class FunctionSpaceTraits >
template<class DiscreteFunction >
void Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::addFunction ( DiscreteFunction &  df) const
inlineinherited

default implementation of addFunction does nothing at the moment

◆ asImp() [1/2]

template<class FunctionSpaceTraits >
DiscreteFunctionSpaceType & Dune::Fem::DiscreteFunctionSpaceInterface< FunctionSpaceTraits >::asImp ( )
inlineprotectedinherited

◆ asImp() [2/2]

template<class FunctionSpaceTraits >
const DiscreteFunctionSpaceType & Dune::Fem::DiscreteFunctionSpaceInterface< FunctionSpaceTraits >::asImp ( ) const
inlineprotectedinherited

◆ auxiliaryDofs()

template<class FunctionSpaceTraits >
const AuxiliaryDofsType & Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::auxiliaryDofs ( ) const
inlineinherited

get auxiliary dofs

◆ basisFunctionSet() [1/2]

template<class FunctionSpaceTraits >
const BasisFunctionSetType Dune::Fem::DiscreteFunctionSpaceInterface< FunctionSpaceTraits >::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]

BasisFunctionSetType Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::basisFunctionSet ( const EntityType entity) const
inlineinherited

return basis function set

◆ basisFunctionSets()

const BasisFunctionSetsType & Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::basisFunctionSets ( ) const
inlineinherited

return basis function sets

◆ begin()

template<class FunctionSpaceTraits >
IteratorType Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::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()

BlockMapperType & Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::blockMapper ( ) const
inlineinherited

return block mapper

◆ communicate() [1/2]

template<class FunctionSpaceTraits >
template<class DiscreteFunction >
void Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::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]

template<class FunctionSpaceTraits >
template<class DiscreteFunction , class Operation >
void Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::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()

template<class FunctionSpaceTraits >
CommunicationDirection Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::communicationDirection ( ) const
inlineinherited

return the communication interface appropriate for this space

Returns
communication interface

◆ communicationInterface()

template<class FunctionSpaceTraits >
InterfaceType Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::communicationInterface ( ) const
inlineinherited

return the communication interface appropriate for this space

Returns
communication interface

◆ communicator()

template<class FunctionSpaceTraits >
const CommunicationManagerType & Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::communicator ( ) const
inlineinherited

return reference to communicator (see CommunicationManager)

Returns
reference to communicator

◆ continuous() [1/3]

bool Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::continuous ( ) const
inlineinherited

please doc me

◆ continuous() [2/3]

template<class FunctionSpaceTraits >
bool Dune::Fem::DiscreteFunctionSpaceInterface< FunctionSpaceTraits >::continuous ( const IntersectionType intersection) const
inlineinherited

returns true if discrete functions over this space have zero jump over the given intersection.

For example, a Lagrange space returns true iff the intersection is conforming while a discontiuous Galerkin space always returns false.

Parameters
intersectionIntersection for which we want to know the continuety
Returns
true if the space contians functions which are continuous over the intersection, false otherwise

◆ continuous() [3/3]

bool Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::continuous ( const typename BaseType::IntersectionType intersection) const
inlineinherited

please doc me

◆ createDataHandle()

template<class FunctionSpaceTraits >
template<class DiscreteFunction , class Operation >
BaseType::template CommDataHandle< DiscreteFunction, Operation >::Type Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::createDataHandle ( DiscreteFunction &  discreteFunction,
const Operation &  operation 
) const
inlineinherited

Note
The default implementation is
defines type of data handle for communication
Definition: discretefunctionspace.hh:244

◆ end()

template<class FunctionSpaceTraits >
IteratorType Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::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()

template<class FunctionSpaceTraits >
template<class FunctorType >
void Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::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 & );
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
BaseType::IteratorType IteratorType
Definition: discretefunctionspace.hh:643
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()

template<class FunctionSpaceTraits >
const std::vector< GeometryType > & Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::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

◆ getMark()

KeyType Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::getMark ( const EntityType entity) const
inlineinherited

get key to be assigned to an entity after next call to adapt()

Parameters
[in]entitygrid part entity
Returns
key

◆ grid() [1/2]

template<class FunctionSpaceTraits >
GridType & Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::grid ( )
inlineinherited

get reference to grid this discrete function space belongs to

Returns
reference to grid

◆ grid() [2/2]

template<class FunctionSpaceTraits >
const GridType & Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::grid ( ) const
inlineinherited

get reference to grid this discrete function space belongs to

Returns
constant reference to grid

◆ gridPart() [1/2]

template<class FunctionSpaceTraits >
GridPartType & Dune::Fem::DiscreteFunctionSpaceInterface< FunctionSpaceTraits >::gridPart ( )
inlineinherited

get a reference to the associated grid partition

Returns
reference to the grid partition

◆ gridPart() [2/2]

template<class FunctionSpaceTraits >
GridPartType & Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::gridPart ( ) const
inlineinherited

◆ indexSet()

template<class FunctionSpaceTraits >
const IndexSetType & Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::indexSet ( ) const
inlineinherited

Get a reference to the associated index set.

Returns
const reference to index set

◆ interpolation() [1/2]

InterpolationType Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::interpolation ( ) const
inlineinherited

return interpolation

Parameters
[in]entitya grid part entity
Returns
local interpolation

◆ interpolation() [2/2]

InterpolationImplType Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::interpolation ( const EntityType entity) const
inlineinherited

return interpolation

Parameters
[in]entitya grid part entity
Returns
local interpolation

◆ key()

const KeyType & Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::key ( const EntityType entity) const
inlineinherited

get identifiying basis function set key assigned to given entity

Parameters
[in]entitygrid part entity
Returns
key

◆ localInterpolation()

InterpolationImplType Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::localInterpolation ( const EntityType entity) const
inlineinherited

return interpolation

Parameters
[in]entitya grid part entity
Returns
local interpolation

◆ mark()

void Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::mark ( const KeyType key,
const EntityType entity 
)
inlineinherited

assign new key to given entity

Parameters
[in]keykey identifying basis function set
[in]entitygrid part entity

◆ maxNumDofs()

template<class FunctionSpaceTraits >
int Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::maxNumDofs ( ) const
inlineinherited

return the maximal number of dofs on entities

◆ multipleBasisFunctionSets()

bool Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::multipleBasisFunctionSets ( ) const
inlineinherited

please doc me

◆ multipleGeometryTypes()

template<class FunctionSpaceTraits >
bool Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::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

◆ order() [1/3]

int Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::order ( ) const
inlineinherited

return polynomial order

◆ order() [2/3]

template<class FunctionSpaceTraits >
int Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::order ( const EntityType entity) const
inlineinherited

default implementation of the method order

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

◆ order() [3/3]

int Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::order ( const EntityType entity) const
inlineinherited

return polynomial order

◆ removeFunction()

template<class FunctionSpaceTraits >
template<class DiscreteFunction >
void Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::removeFunction ( DiscreteFunction &  df) const
inlineinherited

default implementation of removeFunction does nothing at the moment

◆ sequence()

template<class FunctionSpaceTraits >
int Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::sequence ( ) const
inlineinherited

get index of the sequence in grid sequences

Returns
number of current sequence

◆ size()

template<class FunctionSpaceTraits >
int Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::size ( ) const
inlineinherited

get number of DoFs for this space

Returns
number of DoFs (degrees of freedom)

◆ slaveDofs()

template<class FunctionSpaceTraits >
const AuxiliaryDofsType & Dune::Fem::DiscreteFunctionSpaceInterface< FunctionSpaceTraits >::slaveDofs ( ) const
inlineinherited

deprecated method, use auxiliaryDofs

◆ type()

Member Data Documentation

◆ allGeomTypes_

template<class FunctionSpaceTraits >
const AllGeometryTypes Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::allGeomTypes_
protectedinherited

◆ auxiliaryDofs_

template<class FunctionSpaceTraits >
std::unique_ptr< std::pair< AuxiliaryDofsType, int >, typename AuxiliaryDofsProviderType::Deleter > Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::auxiliaryDofs_
mutableprotectedinherited

◆ basisFunctionSets_

◆ blockMapper_

BlockMapperType Dune::Fem::hpDG::DiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, false, Storage > >::blockMapper_
mutableprotectedinherited

◆ commDirection_

template<class FunctionSpaceTraits >
const CommunicationDirection Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::commDirection_
protectedinherited

◆ commInterface_

template<class FunctionSpaceTraits >
const InterfaceType Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::commInterface_
protectedinherited

◆ communicator_

template<class FunctionSpaceTraits >
std::unique_ptr< CommunicationManagerType > Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::communicator_
mutableprotectedinherited

◆ dofManager_

template<class FunctionSpaceTraits >
DofManagerType& Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::dofManager_
protectedinherited

◆ gridPart_

template<class FunctionSpaceTraits >
GridPartType& Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::gridPart_
protectedinherited

◆ ldvAllocator_

template<class FunctionSpaceTraits >
LocalDofVectorAllocatorType Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::ldvAllocator_
mutableprotectedinherited

◆ ldvStack_

template<class FunctionSpaceTraits >
LocalDofVectorStackType Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::ldvStack_
mutableprotectedinherited

◆ localBlockSize

template<class FunctionSpaceTraits >
constexpr std::size_t Dune::Fem::DiscreteFunctionSpaceInterface< FunctionSpaceTraits >::localBlockSize = Hybrid::size( LocalBlockIndices() )
staticconstexprinherited

size of local blocks


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