dune-fem 2.8-git
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::LagrangeDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage > Class Template Reference

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

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

Public Types

typedef BaseType::GridPartType GridPartType
 
typedef BaseType::EntityType EntityType
 
typedef BaseType::BasisFunctionSetsType BasisFunctionSetsType
 
typedef BaseType::BasisFunctionSetType BasisFunctionSetType
 
typedef DefaultLocalL2Projection< LocalRieszProjectionType, QuadratureTypeInterpolationImplType
 
typedef LocalInterpolationWrapper< ThisTypeInterpolationType
 
typedef BaseType::IntersectionType IntersectionType
 type of the intersections More...
 
typedef BaseType::BlockMapperType BlockMapperType
 type of block mapper of this space More...
 
typedef Traits::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
 
typedef LocalMassMatrix< DiscreteFunctionSpaceType, VolumeQuadratureTypeLocalMassMatrixType
 
typedef std::vector< typename BaseType::RangeType > VectorType
 
typedef std::pair< LocalMassMatrixType, VectorTypeLocalMassMatrixStorageType
 
typedef LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorageTraits
 
typedef BaseType::GridType GridType
 
typedef BaseType::IndexSetType IndexSetType
 
typedef BaseType::IteratorType IteratorType
 
typedef DofManager< GridTypeDofManagerType
 type of DoF manager More...
 
typedef CommunicationManager< DiscreteFunctionSpaceTypeCommunicationManagerType
 type of communication manager More...
 
typedef BaseType::AuxiliaryDofsType AuxiliaryDofsType
 
typedef Traits::FunctionSpaceType FunctionSpaceType
 type of function space More...
 
typedef Traits::LocalBlockIndices LocalBlockIndices
 
typedef AuxiliaryDofsType SlaveDofsType
 deprecated type More...
 

Public Member Functions

 LagrangeDiscontinuousGalerkinSpace (GridPartType &gridPart, const InterfaceType commInterface=InteriorBorder_All_Interface, const CommunicationDirection commDirection=ForwardCommunication)
 
InterpolationType interpolation () const
 
InterpolationImplType interpolation (const EntityType &entity) const
 
InterpolationImplType localInterpolation (const EntityType &entity) const
 
BasisFunctionSetType basisFunctionSet (const EntityType &entity) const
 get basis function set for given entity More...
 
DFSpaceIdentifier type () const
 return type identifier of discrete function space More...
 
bool continuous () const
 returns true if the space contains only globally continuous functions More...
 
bool continuous (const IntersectionType &intersection) const
 returns true if discrete functions over this space have zero jump over the given intersection. More...
 
const BasisFunctionSetsTypebasisFunctionSets () const
 
BasisFunctionSetsTypebasisFunctionSets ()
 
LocalMassMatrixStorageTypelocalMassMatrixStorage () const
 
int sequence () const
 get index of the sequence in grid sequences 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 AuxiliaryDofsTypeslaveDofs () const
 deprecated method, use auxiliaryDofs More...
 

Static Public Member Functions

static DFSpaceIdentifier type ()
 

Static Public Attributes

static const int polynomialOrder = polOrder
 
static const int codimension
 
static constexpr std::size_t localBlockSize
 size of local blocks More...
 

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

Protected Member Functions

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

Protected Attributes

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

Related Functions

(Note that these are not member functions.)

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

Public member methods

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

Member Typedef Documentation

◆ AllGeometryTypes

◆ AuxiliaryDofsProviderType

typedef SingletonList< std::pair< GridPartType *, BlockMapperType * >, std::pair< AuxiliaryDofsType, int >, AuxiliaryDofsFactory > Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::AuxiliaryDofsProviderType
protectedinherited

◆ AuxiliaryDofsType

◆ BasisFunctionSetsType

template<class FunctionSpace , class GridPart , int polOrder, class Storage = CachingStorage>
typedef BaseType::BasisFunctionSetsType Dune::Fem::LagrangeDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::BasisFunctionSetsType

◆ BasisFunctionSetType

template<class FunctionSpace , class GridPart , int polOrder, class Storage = CachingStorage>
typedef BaseType::BasisFunctionSetType Dune::Fem::LagrangeDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::BasisFunctionSetType

◆ BlockMapperProdiverType

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

◆ BlockMapperType

type of block mapper of this space

◆ CommunicationManagerType

type of communication manager

◆ DiscreteFunctionSpaceType

type of discrete function space implementation

◆ DofManagerType

type of DoF manager

◆ EntityType

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

◆ FunctionSpaceType

type of function space

◆ GridPartType

template<class FunctionSpace , class GridPart , int polOrder, class Storage = CachingStorage>
typedef BaseType::GridPartType Dune::Fem::LagrangeDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::GridPartType

◆ GridType

◆ IndexSetType

◆ InterpolationImplType

template<class FunctionSpace , class GridPart , int polOrder, class Storage = CachingStorage>
typedef DefaultLocalL2Projection< LocalRieszProjectionType, QuadratureType > Dune::Fem::LagrangeDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::InterpolationImplType

◆ InterpolationType

template<class FunctionSpace , class GridPart , int polOrder, class Storage = CachingStorage>
typedef LocalInterpolationWrapper< ThisType > Dune::Fem::LagrangeDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::InterpolationType

◆ IntersectionType

type of the intersections

◆ IteratorType

◆ LocalBlockIndices

◆ LocalDofVectorAllocatorType

typedef StackAllocator< typename BaseType::RangeFieldType, LocalDofVectorStackType* > Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::LocalDofVectorAllocatorType
protectedinherited

◆ LocalDofVectorStackType

◆ LocalDofVectorType

typedef Dune::DynamicVector< typename BaseType::RangeFieldType, LocalDofVectorAllocatorType > Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::LocalDofVectorType
protectedinherited

◆ LocalFunctionType

◆ LocalMassMatrixStorageType

typedef std::pair< LocalMassMatrixType, VectorType > Dune::Fem::GenericDiscontinuousGalerkinSpace< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::LocalMassMatrixStorageType
inherited

◆ LocalMassMatrixType

◆ SlaveDofsType

deprecated type

◆ Traits

◆ VectorType

typedef std::vector< typename BaseType::RangeType > Dune::Fem::GenericDiscontinuousGalerkinSpace< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::VectorType
inherited

◆ VolumeQuadratureType

typedef CachingQuadrature<GridPartType, EntityType::codimension> Dune::Fem::GenericDiscontinuousGalerkinSpace< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::VolumeQuadratureType
protectedinherited

Constructor & Destructor Documentation

◆ LagrangeDiscontinuousGalerkinSpace()

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

Member Function Documentation

◆ adapt()

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

default implementation of addFunction does nothing at the moment

◆ asImp() [1/2]

◆ asImp() [2/2]

◆ auxiliaryDofs()

const AuxiliaryDofsType & Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::auxiliaryDofs ( ) const
inlineinherited

get auxiliary dofs

◆ basisFunctionSet() [1/2]

BasisFunctionSetType Dune::Fem::GenericDiscontinuousGalerkinSpace< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::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 polOrder, class Storage = CachingStorage>
BasisFunctionSetType Dune::Fem::GenericDiscontinuousGalerkinSpace< Traits >::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

◆ basisFunctionSets() [1/2]

◆ basisFunctionSets() [2/2]

◆ begin()

get iterator pointing to the first entity of the associated grid partition

Returns
iterator pointing to first entity
Note
The default implementation uses the codim 0 iterators of the associated grid partition.

◆ blockMapper()

get a reference to the block mapper

Returns
refernce to the block mapper

◆ communicate() [1/2]

void Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::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< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::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< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::communicationDirection ( ) const
inlineinherited

return the communication interface appropriate for this space

Returns
communication interface

◆ communicationInterface()

InterfaceType Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::communicationInterface ( ) const
inlineinherited

return the communication interface appropriate for this space

Returns
communication interface

◆ communicator()

return reference to communicator (see CommunicationManager)

Returns
reference to communicator

◆ continuous() [1/4]

static constexpr bool Dune::Fem::GenericDiscontinuousGalerkinSpace< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::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]

bool Dune::Fem::DiscreteFunctionSpaceInterface< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::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< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::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]

bool Dune::Fem::DiscreteFunctionSpaceInterface< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::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()

BaseType::template CommDataHandle< DiscreteFunction, Operation >::Type Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::createDataHandle ( DiscreteFunction &  discreteFunction,
const Operation &  operation 
) const
inlineinherited

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

◆ end()

get iterator pointing behind the last entity of the associated grid partition

Returns
iterator pointing behind last entity
Note
The default implementation uses the codim 0 iterators of the associated grid partition.

◆ forEach()

void Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::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/lagrange.hh:96
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< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::geomTypes ( int  codim) const
inlineprotectedinherited

returns true if the grid has more than one geometry type

Returns
true if the underlying grid has more than one geometry type (hybrid grid), false otherwise

◆ grid() [1/2]

get reference to grid this discrete function space belongs to

Returns
reference to grid

◆ grid() [2/2]

get reference to grid this discrete function space belongs to

Returns
constant reference to grid

◆ gridPart() [1/2]

get a reference to the associated grid partition

Returns
reference to the grid partition

◆ gridPart() [2/2]

◆ indexSet()

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 = CachingStorage>
InterpolationType Dune::Fem::LagrangeDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::interpolation ( ) const
inline

◆ interpolation() [2/2]

template<class FunctionSpace , class GridPart , int polOrder, class Storage = CachingStorage>
InterpolationImplType Dune::Fem::LagrangeDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::interpolation ( const EntityType entity) const
inline

◆ localInterpolation()

template<class FunctionSpace , class GridPart , int polOrder, class Storage = CachingStorage>
InterpolationImplType Dune::Fem::LagrangeDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::localInterpolation ( const EntityType entity) const
inline

◆ localMassMatrixStorage()

◆ maxNumDofs()

int Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::maxNumDofs ( ) const
inlineinherited

return the maximal number of dofs on entities

◆ multipleBasisFunctionSets()

bool Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::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< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::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/2]

get global order of space

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

◆ order() [2/2]

int Dune::Fem::GenericDiscontinuousGalerkinSpace< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::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()

void Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::removeFunction ( DiscreteFunction &  df) const
inlineinherited

default implementation of removeFunction does nothing at the moment

◆ sequence()

int Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::sequence ( ) const
inlineinherited

get index of the sequence in grid sequences

Returns
number of current sequence

◆ size()

get number of DoFs for this space

Returns
number of DoFs (degrees of freedom)

◆ slaveDofs()

deprecated method, use auxiliaryDofs

◆ type() [1/2]

template<class FunctionSpace , class GridPart , int polOrder, class Storage = CachingStorage>
static DFSpaceIdentifier Dune::Fem::LagrangeDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::type ( )
inlinestatic

◆ type() [2/2]

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_

◆ auxiliaryDofs_

std::unique_ptr< std::pair< AuxiliaryDofsType, int >, typename AuxiliaryDofsProviderType::Deleter > Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::auxiliaryDofs_
mutableprotectedinherited

◆ codimension

◆ commDirection_

const CommunicationDirection Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::commDirection_
protectedinherited

◆ commInterface_

const InterfaceType Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::commInterface_
protectedinherited

◆ communicator_

std::unique_ptr< CommunicationManagerType > Dune::Fem::DiscreteFunctionSpaceDefault< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::communicator_
mutableprotectedinherited

◆ dofManager_

◆ gridPart_

◆ ldvAllocator_

◆ ldvStack_

◆ localBlockSize

constexpr std::size_t Dune::Fem::DiscreteFunctionSpaceInterface< LagrangeDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, polOrder, CachingStorage > >::localBlockSize
staticconstexprinherited

size of local blocks

◆ polynomialOrder

template<class FunctionSpace , class GridPart , int polOrder, class Storage = CachingStorage>
const int Dune::Fem::LagrangeDiscontinuousGalerkinSpace< FunctionSpace, GridPart, polOrder, Storage >::polynomialOrder = polOrder
static

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