dune-fem  2.4.1-rc
Public Types | Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage > Class Template Reference

adaptive DG discrete function space More...

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/padaptivespace/declaration.hh>

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

Public Types

typedef ThisType PAdaptiveDGSpaceType
 
typedef BaseType::Traits Traits
 
typedef BaseType::GridPartType GridPartType
 
typedef BaseType::IntersectionType IntersectionType
 
typedef BaseType::CompiledLocalKeyType CompiledLocalKeyType
 
typedef CompiledLocalKeyType LagrangePointSetType
 
typedef ThisType GenericDiscreteFunctionSpaceType
 
typedef BaseType::DiscreteFunctionSpaceType DiscreteFunctionSpaceType
 
typedef BaseType::FunctionSpaceType FunctionSpaceType
 
typedef BaseType::GridType GridType
 
typedef BaseType::IndexSetType IndexSetType
 
typedef BaseType::IteratorType IteratorType
 
typedef IteratorType::Entity EntityType
 
typedef PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage >::ShapeFunctionSetType ShapeFunctionSetType
 
typedef BaseType::BasisFunctionSetType BasisFunctionSetType
 
typedef BaseType::BlockMapperType BlockMapperType
 
typedef BaseSetLocalKeyStorage< CompiledLocalKeyTypeLocalKeyStorageType
 
typedef int IdentifierType
 type of identifier for this discrete function space More...
 
enum  
 size of local blocks More...
 
typedef CommunicationManager< DiscreteFunctionSpaceTypeCommunicationManagerType
 type of communication manager More...
 
enum  
 size of local blocks More...
 

Public Member Functions

 PAdaptiveDGSpace (GridPartType &gridPart, const InterfaceType commInterface=defaultInterface, const CommunicationDirection commDirection=defaultDirection)
 constructor More...
 
 PAdaptiveDGSpace (const PAdaptiveDGSpace &other)
 
bool continuous (const IntersectionType &intersection) const
 returns true if the space contains only globally continuous functions More...
 
template<class EntityType >
const CompiledLocalKeyTypelagrangePointSet (const EntityType &entity) const
 Please doc me. More...
 
const CompiledLocalKeyTypelagrangePointSet (const GeometryType &type, const int order=BaseType::polynomialOrder) const
 Please doc me. More...
 
template<class DiscreteFunction >
void addFunction (DiscreteFunction &df) const
 add function to discrete function space for p-adaptation (currently only supported by AdaptiveDiscreteFunction ) More...
 
DFSpaceIdentifier type () const
 return type identifier of discrete function space More...
 
BasisFunctionSetType basisFunctionSet (const EntityType &entity) const
 get basis function set for given entity More...
 
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...
 
int order () const
 get global order of space More...
 
int order (const typename BaseType::EntityType &entity) const
 get global order of space More...
 
int order (const EntityType &entity) const
 default implementation of the method order More...
 
bool multipleBaseFunctionSets () const
 this space has more than one base function set More...
 
BlockMapperTypeblockMapper () const
 get a reference to the block mapper More...
 
ShapeFunctionSetType shapeFunctionSet (const EntityType &entity) const
 return shape function set for given entity More...
 
ShapeFunctionSetType shapeFunctionSet (const GeometryType &type, const int order=polynomialOrder) const
 return shape unique function set for geometry type More...
 
const CompiledLocalKeyTypecompiledLocalKey (const EntityType &entity) const
 provide access to the compiled local keys for an entity More...
 
const CompiledLocalKeyTypecompiledLocalKey (const GeometryType type, const int order=polynomialOrder) const
 provide access to the compiled local keys for a geometry type and polynomial order More...
 
void adapt (const Vector &polynomialOrders, const int polOrderShift=0) const
 p adaptation More...
 
void removeFunction (const DiscreteFunction &df) const
 
void removeFunction (DiscreteFunction &df) const
 default implementation of removeFunction does nothing at the moment More...
 
int sequence () const
 get index of the sequence in grid sequences More...
 
LocalFunctionType localFunction (const EntityType &entity) const
 
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...
 
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
 

Static Public Attributes

static const InterfaceType defaultInterface = InteriorBorder_All_Interface
 
static const CommunicationDirection defaultDirection = ForwardCommunication
 
static const int polynomialOrder
 
static const IdentifierType id
 identifier of this discrete function space More...
 

Protected Types

typedef PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage >::ScalarShapeFunctionSetType ScalarShapeFunctionSetType
 
typedef BaseSetLocalKeyStorage< ScalarShapeFunctionSetTypeScalarShapeFunctionSetStorageType
 
typedef AdaptiveDiscreteFunction< DiscreteFunctionSpaceTypeIntermediateStorageFunctionType
 
typedef std::list< PAdaptiveDiscreteFunctionEntryInterface * > PAdaptiveDiscreteFunctionListType
 
typedef PAdaptiveDiscreteFunctionListType::iterator DFListIteratorType
 
typedef DofManager< GridTypeDofManagerType
 
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

BlockMapperTypeinitialize (const BlockMapperType *otherMapper=0)
 
DFListIteratorType searchFunction (const DiscreteFunction &df) const
 
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::vector< ScalarShapeFunctionSetStorageTypescalarShapeFunctionSets_
 
std::vector< LocalKeyStorageTypecompiledLocalKeys_
 
BlockMapperTypeblockMapper_
 
PAdaptiveDiscreteFunctionListType dfList_
 
GridPartTypegridPart_
 
LocalDofVectorStackType ldvStack_
 
LocalDofVectorAllocatorType ldvAllocator_
 
const AllGeometryTypes allGeomTypes_
 
DofManagerTypedofManager_
 
const InterfaceType commInterface_
 
const CommunicationDirection commDirection_
 
std::unique_ptr< CommunicationManagerTypecommunicator_
 

Detailed Description

template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage = CachingStorage>
class Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >

adaptive DG discrete function space

Member Typedef Documentation

type of communication manager

template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage = CachingStorage>
typedef BaseType::CompiledLocalKeyType Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::CompiledLocalKeyType
typedef PAdaptiveDiscreteFunctionListType::iterator Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::DFListIteratorType
protectedinherited
typedef DofManager< GridType > Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::DofManagerType
protectedinherited
typedef IteratorType::Entity Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::EntityType
inherited
template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage = CachingStorage>
typedef BaseType::GridPartType Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::GridPartType
typedef int Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::IdentifierType
inherited

type of identifier for this discrete function space

template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage = CachingStorage>
typedef BaseType::IntersectionType Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::IntersectionType
template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage = CachingStorage>
typedef CompiledLocalKeyType Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::LagrangePointSetType
typedef StackAllocator< typename BaseType::RangeFieldType, LocalDofVectorStackType* > Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::LocalDofVectorAllocatorType
protectedinherited
typedef Dune::DynamicVector< typename BaseType::RangeFieldType, LocalDofVectorAllocatorType > Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::LocalDofVectorType
protectedinherited
template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage = CachingStorage>
typedef ThisType Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::PAdaptiveDGSpaceType
typedef std::list< PAdaptiveDiscreteFunctionEntryInterface * > Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::PAdaptiveDiscreteFunctionListType
protectedinherited
template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage = CachingStorage>
typedef BaseType::Traits Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::Traits

Member Enumeration Documentation

anonymous enum
inherited

size of local blocks

anonymous enum
inherited

size of local blocks

Constructor & Destructor Documentation

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

constructor

Parameters
[in]gridPartgrid part for the Lagrange space
[in]commInterfacecommunication interface to use (optional)
[in]commDirectioncommunication direction to use (optional)
template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage = CachingStorage>
Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::PAdaptiveDGSpace ( const PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage > &  other)
inline

Member Function Documentation

void Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::adapt ( const Vector &  polynomialOrders,
const int  polOrderShift = 0 
) const
inlineinherited

p adaptation

Parameters
[in]polynomialOrdersvector containing polynomial orders for each cell
[in]polOrderShiftpossible shift of polynomial order (i.e. in case of Taylor-Hood put -1 for the pressure) (default = 0)
template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage = CachingStorage>
template<class DiscreteFunction >
void Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::addFunction ( DiscreteFunction &  df) const
inline

add function to discrete function space for p-adaptation (currently only supported by AdaptiveDiscreteFunction )

const DiscreteFunctionSpaceType& Dune::Fem::DiscreteFunctionSpaceInterface< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::asImp ( ) const
inlineprotectedinherited
DiscreteFunctionSpaceType& Dune::Fem::DiscreteFunctionSpaceInterface< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::asImp ( )
inlineprotectedinherited
BasisFunctionSetType Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, 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
IteratorType Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, 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.
BlockMapperType& Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::blockMapper ( ) const
inlineinherited

get a reference to the block mapper

Returns
refernce to the block mapper
void Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, 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
void Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, 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 Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::communicationDirection ( ) const
inlineinherited

return the communication interface appropriate for this space

Returns
communication interface
InterfaceType Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::communicationInterface ( ) const
inlineinherited

return the communication interface appropriate for this space

Returns
communication interface
const CommunicationManagerType& Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::communicator ( ) const
inlineinherited

return reference to communicator (see CommunicationManager)

Returns
reference to communicator
const CompiledLocalKeyType& Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::compiledLocalKey ( const EntityType entity) const
inlineinherited

provide access to the compiled local keys for an entity

Note
This method is not part of the DiscreteFunctionSpaceInterface. It is unique to the GenericDiscreteFunctionSpace.
Parameters
[in]entityentity the Lagrange point set is requested for
Returns
CompiledLocalKey
const CompiledLocalKeyType& Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::compiledLocalKey ( const GeometryType  type,
const int  order = polynomialOrder 
) const
inlineinherited

provide access to the compiled local keys for a geometry type and polynomial order

Note
This method is not part of the DiscreteFunctionSpaceInterface. It is unique to the GenericDiscreteFunctionSpace.
Parameters
[in]typetype of geometry the compiled local key is requested for
[in]orderpolynomial order for given geometry type
Returns
CompiledLocalKey
template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage = CachingStorage>
bool Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, 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
bool Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::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
bool Dune::Fem::DiscreteFunctionSpaceInterface< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::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
BaseType :: template CommDataHandle< DiscreteFunction, Operation >:: Type Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::createDataHandle ( DiscreteFunction &  discreteFunction,
const Operation *  operation 
) const
inlineinherited

Note
The default implementation is
return CommDataHandle< DiscreteFunction, Operation > :: Type( discreteFunction );
IteratorType Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, 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.
void Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, 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 & );
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 std::vector<GeometryType>& Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, 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
const GridType& Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::grid ( ) const
inlineinherited

get reference to grid this discrete function space belongs to

Returns
constant reference to grid
GridType& Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::grid ( )
inlineinherited

get reference to grid this discrete function space belongs to

Returns
reference to grid
GridPartType& Dune::Fem::DiscreteFunctionSpaceInterface< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::gridPart ( )
inlineinherited

get a reference to the associated grid partition

Returns
reference to the grid partition
GridPartType& Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::gridPart ( ) const
inlineinherited

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

Get a reference to the associated index set.

Returns
const reference to index set
BlockMapperType* Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::initialize ( const BlockMapperType otherMapper = 0)
inlineprotectedinherited
template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage = CachingStorage>
template<class EntityType >
const CompiledLocalKeyType& Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::lagrangePointSet ( const EntityType entity) const
inline

Please doc me.

Deprecated:
template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage = CachingStorage>
const CompiledLocalKeyType& Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::lagrangePointSet ( const GeometryType &  type,
const int  order = BaseType::polynomialOrder 
) const
inline

Please doc me.

LocalFunctionType Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::localFunction ( const EntityType entity) const
inlineinherited

obtain a local function for an entity (to store intermediate values)

Parameters
[in]entityentity (of codim 0) for which a local function is desired
Returns
a local function backed by a small, fast array
bool Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::multipleBaseFunctionSets ( ) const
inlineinherited

this space has more than one base function set

bool Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, 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.
bool Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, 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
int Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::order ( ) const
inlineinherited

get global order of space

Returns
order of space, i.e., the maximal polynomial order of base functions
int Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::order ( const typename BaseType::EntityType &  entity) const
inlineinherited

get global order of space

Returns
order of space, i.e., the maximal polynomial order of base functions
int Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, 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()
void Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::removeFunction ( const DiscreteFunction &  df) const
inlineinherited
void Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::removeFunction ( DiscreteFunction &  df) const
inlineinherited

default implementation of removeFunction does nothing at the moment

DFListIteratorType Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::searchFunction ( const DiscreteFunction &  df) const
inlineprotectedinherited
int Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::sequence ( ) const
inlineinherited

get index of the sequence in grid sequences

Returns
number of current sequence
ShapeFunctionSetType Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::shapeFunctionSet ( const EntityType entity) const
inlineinherited

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
ShapeFunctionSetType Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::shapeFunctionSet ( const GeometryType &  type,
const int  order = polynomialOrder 
) const
inlineinherited

return shape unique function set for geometry type

Parameters
[in]typegeometry type (must be a cube) for which shape function set is requested
[in]orderpolynomial order
Returns
ShapeFunctionSetType shape function set
int Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::size ( ) const
inlineinherited

get number of DoFs for this space

Returns
number of DoFs (degrees of freedom)
DFSpaceIdentifier Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::type ( ) const
inlineinherited

return type identifier of discrete function space

Returns
return type identifier of discrete function space

Member Data Documentation

const AllGeometryTypes Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::allGeomTypes_
protectedinherited
BlockMapperType* Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::blockMapper_
protectedinherited
const CommunicationDirection Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::commDirection_
protectedinherited
const InterfaceType Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::commInterface_
protectedinherited
std::unique_ptr< CommunicationManagerType > Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::communicator_
mutableprotectedinherited
std::vector< LocalKeyStorageType > Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::compiledLocalKeys_
protectedinherited
template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage = CachingStorage>
const CommunicationDirection Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::defaultDirection = ForwardCommunication
static
template<class FunctionSpace, class GridPart, int polOrder, template< class > class Storage = CachingStorage>
const InterfaceType Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::defaultInterface = InteriorBorder_All_Interface
static
PAdaptiveDiscreteFunctionListType Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::dfList_
mutableprotectedinherited
DofManagerType& Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::dofManager_
protectedinherited
GridPartType& Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::gridPart_
protectedinherited
const IdentifierType Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::id
staticinherited

identifier of this discrete function space

LocalDofVectorAllocatorType Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::ldvAllocator_
mutableprotectedinherited
LocalDofVectorStackType Dune::Fem::DiscreteFunctionSpaceDefault< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::ldvStack_
mutableprotectedinherited
const int Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::polynomialOrder
staticinherited
std::vector< ScalarShapeFunctionSetStorageType > Dune::Fem::GenericDiscreteFunctionSpace< PAdaptiveDGSpaceTraits< FunctionSpace, GridPart, polOrder, Storage > >::scalarShapeFunctionSets_
protectedinherited

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