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

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

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

Public Types

typedef BaseType::GridPartType GridPartType
 
typedef BaseType::EntityType EntityType
 
typedef DiscontinuousGalerkinLocalInterpolation< ThisTypeInterpolationType
 
typedef InterpolationType InterpolationImplType
 
typedef BaseType::BasisFunctionSetsType BasisFunctionSetsType
 
typedef BaseType::BasisFunctionSetType BasisFunctionSetType
 
typedef BaseType::IntersectionType IntersectionType
 type of the intersections
 
typedef BaseType::BlockMapperType BlockMapperType
 type of block mapper of this space
 
typedef Traits::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
 
typedef LocalMassMatrix< DiscreteFunctionSpaceType, VolumeQuadratureTypeLocalMassMatrixType
 
typedef std::vector< typename BaseType::RangeType > VectorType
 
typedef std::pair< LocalMassMatrixType, VectorTypeLocalMassMatrixStorageType
 
typedef FunctionSpaceTraits Traits
 
typedef BaseType::GridType GridType
 
typedef BaseType::IndexSetType IndexSetType
 
typedef BaseType::IteratorType IteratorType
 
typedef DofManager< GridTypeDofManagerType
 type of DoF manager
 
typedef CommunicationManager< DiscreteFunctionSpaceTypeCommunicationManagerType
 type of communication manager
 
typedef BaseType::AuxiliaryDofsType AuxiliaryDofsType
 
typedef Traits::FunctionSpaceType FunctionSpaceType
 type of function space
 
typedef Traits::LocalBlockIndices LocalBlockIndices
 
typedef AuxiliaryDofsType SlaveDofsType
 deprecated type
 

Public Member Functions

 LegendreDiscontinuousGalerkinSpace (GridPartType &gridPart, const InterfaceType commInterface=InteriorBorder_All_Interface, const CommunicationDirection commDirection=ForwardCommunication)
 
InterpolationType interpolation () const
 
InterpolationType interpolation (const EntityType &entity) const
 
InterpolationType localInterpolation (const EntityType &entity) const
 
DFSpaceIdentifier type () const
 return type identifier of discrete function space
 
const BasisFunctionSetType basisFunctionSet (const EntityType &entity) const
 get basis function set for given entity
 
bool continuous () const
 returns true if the space contains only globally continuous functions
 
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 BasisFunctionSetsTypebasisFunctionSets () const
 
BasisFunctionSetsTypebasisFunctionSets ()
 
LocalMassMatrixStorageTypelocalMassMatrixStorage () const
 
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
 
bool multipleBasisFunctionSets () const
 returns true if base function sets depend on the entity
 
InterfaceType communicationInterface () const
 return the communication interface appropriate for this space
 
CommunicationDirection communicationDirection () const
 return the communication interface appropriate for this space
 
const 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
 
template<class Vector >
void adapt (const Vector &polynomialOrders, const int polOrderShift=0) const
 default implementation of adapt does nothing, its only used in PAdaptiveLagrangeSpace
 
const AuxiliaryDofsTypeslaveDofs () const
 deprecated method, use auxiliaryDofs
 

Static Public Member Functions

static DFSpaceIdentifier type ()
 

Static Public Attributes

static const int polynomialOrder
 
static const int codimension
 
static constexpr std::size_t localBlockSize = Hybrid::size( LocalBlockIndices() )
 size of local blocks
 

Protected Types

typedef SingletonList< const typename GridPartType::IndexSetType *, BlockMapperTypeBlockMapperProdiverType
 
typedef CachingQuadrature< GridPartType, EntityType::codimension > VolumeQuadratureType
 
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 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.)

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

Public member methods

BasisFunctionSetType basisFunctionSet (const EntityType &entity) const
 get basis function set for given entity
 
int order () const
 get global order of space
 
int order (const EntityType &entity) const
 get global order of space
 
BlockMapperTypeblockMapper () const
 get a reference to the block mapper
 
static constexpr bool continuous ()
 returns true if the space contains only globally continuous functions
 
static constexpr bool continuous (const IntersectionType &intersection)
 returns true if the space contains only globally continuous functions
 

Member Typedef Documentation

◆ AllGeometryTypes

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

◆ AuxiliaryDofsProviderType

template<class FunctionSpaceTraits >
typedef SingletonList< std::pair< GridPartType *, BlockMapperType * >, std::pair< AuxiliaryDofsType, int >, AuxiliaryDofsFactory > Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::AuxiliaryDofsProviderType
protectedinherited

◆ AuxiliaryDofsType

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

◆ BasisFunctionSetsType

typedef BaseType::BasisFunctionSetsType Dune::Fem::LegendreDiscontinuousGalerkinSpaceBase< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering >::BasisFunctionSetsType
inherited

◆ BasisFunctionSetType

typedef BaseType::BasisFunctionSetType Dune::Fem::LegendreDiscontinuousGalerkinSpaceBase< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering >::BasisFunctionSetType
inherited

◆ BlockMapperProdiverType

typedef SingletonList< const typename GridPartType::IndexSetType*, BlockMapperType > Dune::Fem::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::BlockMapperProdiverType
protectedinherited

◆ BlockMapperType

typedef BaseType::BlockMapperType Dune::Fem::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::BlockMapperType
inherited

type of block mapper of this space

◆ CommunicationManagerType

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

type of communication manager

◆ DiscreteFunctionSpaceType

typedef Traits::DiscreteFunctionSpaceType Dune::Fem::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::DiscreteFunctionSpaceType
inherited

type of discrete function space implementation

◆ DofManagerType

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

type of DoF manager

◆ EntityType

template<class FunctionSpace , class GridPart , int polOrder, class Storage >
typedef BaseType::EntityType Dune::Fem::LegendreDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::EntityType

◆ FunctionSpaceType

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

type of function space

◆ GridPartType

template<class FunctionSpace , class GridPart , int polOrder, class Storage >
typedef BaseType::GridPartType Dune::Fem::LegendreDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::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

template<class FunctionSpace , class GridPart , int polOrder, class Storage >
typedef InterpolationType Dune::Fem::LegendreDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::InterpolationImplType

◆ InterpolationType

template<class FunctionSpace , class GridPart , int polOrder, class Storage >
typedef DiscontinuousGalerkinLocalInterpolation< ThisType > Dune::Fem::LegendreDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::InterpolationType

◆ IntersectionType

typedef BaseType::IntersectionType Dune::Fem::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::IntersectionType
inherited

type of the intersections

◆ IteratorType

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

◆ 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

◆ LocalMassMatrixStorageType

typedef std::pair< LocalMassMatrixType, VectorType > Dune::Fem::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::LocalMassMatrixStorageType
inherited

◆ LocalMassMatrixType

typedef LocalMassMatrix< DiscreteFunctionSpaceType, VolumeQuadratureType > Dune::Fem::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::LocalMassMatrixType
inherited

◆ 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

◆ VectorType

typedef std::vector< typename BaseType::RangeType > Dune::Fem::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::VectorType
inherited

◆ VolumeQuadratureType

typedef CachingQuadrature<GridPartType, EntityType::codimension> Dune::Fem::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::VolumeQuadratureType
protectedinherited

Constructor & Destructor Documentation

◆ LegendreDiscontinuousGalerkinSpace()

template<class FunctionSpace , class GridPart , int polOrder, class Storage >
Dune::Fem::LegendreDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::LegendreDiscontinuousGalerkinSpace ( GridPartType gridPart,
const InterfaceType  commInterface = InteriorBorder_All_Interface,
const CommunicationDirection  commDirection = ForwardCommunication 
)
inlineexplicit

Member Function Documentation

◆ adapt()

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

◆ 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::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::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

◆ basisFunctionSets() [1/2]

BasisFunctionSetsType & Dune::Fem::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::basisFunctionSets ( )
inlineinherited

◆ basisFunctionSets() [2/2]

const BasisFunctionSetsType & Dune::Fem::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::basisFunctionSets ( ) const
inlineinherited

◆ 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::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::blockMapper ( ) const
inlineinherited

get a reference to the block mapper

Returns
refernce to the 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/4]

static constexpr bool Dune::Fem::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::continuous ( )
inlinestaticconstexprinherited

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/4]

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

returns true if the space contains only globally continuous functions

For example, a Lagrange space returns true while a discontiuous Galerkin space returns false.

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

◆ continuous() [3/4]

static constexpr bool Dune::Fem::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::continuous ( const IntersectionType intersection)
inlinestaticconstexprinherited

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() [4/4]

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

◆ 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 & );
BaseType::EntityType EntityType
Definition: discontinuousgalerkin/legendre.hh:149
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

◆ 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]

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

◆ interpolation() [2/2]

template<class FunctionSpace , class GridPart , int polOrder, class Storage >
InterpolationType Dune::Fem::LegendreDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::interpolation ( const EntityType entity) const
inline

◆ localInterpolation()

template<class FunctionSpace , class GridPart , int polOrder, class Storage >
InterpolationType Dune::Fem::LegendreDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::localInterpolation ( const EntityType entity) const
inline

◆ localMassMatrixStorage()

LocalMassMatrixStorageType & Dune::Fem::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::localMassMatrixStorage ( ) const
inlineinherited

◆ maxNumDofs()

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

return the maximal number of dofs on entities

◆ multipleBasisFunctionSets()

template<class FunctionSpaceTraits >
bool Dune::Fem::DiscreteFunctionSpaceDefault< FunctionSpaceTraits >::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 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::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::order ( ) const
inlineinherited

get global order of space

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

◆ 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::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::order ( const EntityType entity) const
inlineinherited

get global order of space

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

◆ 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() [1/2]

static DFSpaceIdentifier Dune::Fem::LegendreDiscontinuousGalerkinSpaceBase< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering >::type ( )
inlinestaticinherited

◆ type() [2/2]

template<class FunctionSpaceTraits >
DFSpaceIdentifier Dune::Fem::DiscreteFunctionSpaceInterface< FunctionSpaceTraits >::type ( ) const
inlineinherited

return type identifier of discrete function space

Returns
return type identifier of discrete function space

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

◆ codimension

const int Dune::Fem::GenericDiscontinuousGalerkinSpace< LegendreDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering > >::codimension
staticinherited

◆ 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

◆ polynomialOrder

const int Dune::Fem::LegendreDiscontinuousGalerkinSpaceBase< FunctionSpace, GridPart, polOrder, Storage, hierarchicalOrdering >::polynomialOrder
staticinherited

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