dune-fem  2.8-git
Public Types | Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Related Functions | List of all members
Dune::Fem::hpDG::AnisotropicDiscontinuousGalerkinSpace< FunctionSpace, GridPart, order, Storage > Class Template Reference

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

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

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

Public Types

using GridPartType = typename BaseType::GridPartType
 
using EntityType = typename BaseType::EntityType
 
using BasisFunctionSetsType = typename BaseType::BasisFunctionSetsType
 
typedef BaseType::KeyType KeyType
 
using BasisFunctionSetType = typename BaseType::BasisFunctionSetType
 basis function set type More...
 
using BlockMapperType = typename BaseType::BlockMapperType
 block mapper type More...
 
typedef BaseType::AuxiliaryDofsType AuxiliaryDofsType
 
using InterpolationImplType = DiscontinuousGalerkinLocalL2Projection< GridPartType, BasisFunctionSetType >
 local interpolation type
More...
 
using InterpolationType = LocalInterpolationWrapper< DiscreteFunctionSpaceType >
 local interpolation type
More...
 
typedef AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > Traits
 
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 Traits ::FunctionSpaceType FunctionSpaceType
 type of function space More...
 
typedef Traits::LocalBlockIndices LocalBlockIndices
 
typedef GridPartType ::IntersectionType IntersectionType
 type of the intersections More...
 
typedef AuxiliaryDofsType SlaveDofsType
 deprecated type More...
 

Public Member Functions

 AnisotropicDiscontinuousGalerkinSpace (GridPartType &gridPart, const Dune::InterfaceType interface=Dune::InteriorBorder_All_Interface, const Dune::CommunicationDirection direction=Dune::ForwardCommunication)
 
 AnisotropicDiscontinuousGalerkinSpace (GridPartType &gridPart, const typename BaseType::KeyType key, const Dune::InterfaceType interface=Dune::InteriorBorder_All_Interface, const Dune::CommunicationDirection direction=Dune::ForwardCommunication)
 
 AnisotropicDiscontinuousGalerkinSpace (GridPartType &gridPart, const std::vector< int > &key, const Dune::InterfaceType interface=Dune::InteriorBorder_All_Interface, const Dune::CommunicationDirection direction=Dune::ForwardCommunication)
 
template<class Function , std::enable_if_t< std::is_arithmetic< decltype(Function(std::declval< const EntityType >()))>::value , int , i = 0>
 AnisotropicDiscontinuousGalerkinSpace (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. More...
 
void adapt (const Vector &polynomialOrders, const int polOrderShift=0) const
 default implementation of adapt does nothing, its only used in PAdaptiveLagrangeSpace More...
 
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...
 
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...
 
const AuxiliaryDofsTypeslaveDofs () const
 deprecated method, use auxiliaryDofs More...
 
Query methods
bool continuous () const
 please doc me More...
 
bool continuous (const typename BaseType::IntersectionType &intersection) const
 please doc me More...
 
bool multipleBasisFunctionSets () const
 please doc me More...
 
Basis function set methods
int order () const
 return polynomial order More...
 
int order (const EntityType &entity) const
 return polynomial order More...
 
BasisFunctionSetType basisFunctionSet (const EntityType &entity) const
 return basis function set More...
 
Interpolation
InterpolationType interpolation () const
 return interpolation More...
 
InterpolationImplType interpolation (const EntityType &entity) const
 return interpolation More...
 
InterpolationImplType localInterpolation (const EntityType &entity) const
 return interpolation More...
 
Block mapper
BlockMapperTypeblockMapper () const
 return block mapper More...
 
Adaptation
const KeyTypekey (const EntityType &entity) const
 get identifiying basis function set key assigned to given entity More...
 
void mark (const KeyType &key, const EntityType &entity)
 assign new key to given entity More...
 
KeyType getMark (const EntityType &entity) const
 get key to be assigned to an entity after next call to adapt() More...
 
bool adapt ()
 please doc me More...
 
bool adapt (DataProjection< DiscreteFunctionSpace, Implementation > &projection)
 please doc me More...
 
Deprecated methods
DFSpaceIdentifier type () const
 
Non-interface methods
const BasisFunctionSetsTypebasisFunctionSets () const
 return basis function sets More...
 

Static Public Attributes

static constexpr std::size_t localBlockSize
 size of local blocks More...
 

Protected Types

typedef SingletonList< std::pair< GridPartType *, BlockMapperType * >, std::pair< AuxiliaryDofsType, int >, AuxiliaryDofsFactory > AuxiliaryDofsProviderType
 
typedef ThreadSafeValue< UninitializedObjectStackLocalDofVectorStackType
 
typedef StackAllocator< typename BaseType::RangeFieldType, LocalDofVectorStackType * > LocalDofVectorAllocatorType
 
typedef Dune::DynamicVector< typename BaseType::RangeFieldType, LocalDofVectorAllocatorTypeLocalDofVectorType
 
typedef BasicTemporaryLocalFunction< ThisType, LocalDofVectorTypeLocalFunctionType
 
typedef AllGeomTypes< IndexSetType, GridTypeAllGeometryTypes
 

Protected Member Functions

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

Protected Attributes

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.)

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

Detailed Description

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

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

Template Parameters
FunctionSpacea Dune::Fem::FunctionSpace
GridParta Dune::Fem::GridPart
ordermaximum polynomial order per coordinate
Storageenable/disable Storage of quadratures

Member Typedef Documentation

◆ AllGeometryTypes

typedef AllGeomTypes< IndexSetType, GridType > Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::AllGeometryTypes
protectedinherited

◆ AuxiliaryDofsProviderType

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

◆ AuxiliaryDofsType

typedef BaseType::AuxiliaryDofsType Dune::Fem::hpDG::DiscontinuousGalerkinSpace< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::AuxiliaryDofsType
inherited

◆ BasisFunctionSetsType

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

◆ BasisFunctionSetType

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

basis function set type

◆ BlockMapperType

using Dune::Fem::hpDG::DiscontinuousGalerkinSpace< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::BlockMapperType = typename BaseType::BlockMapperType
inherited

block mapper type

◆ CommunicationManagerType

typedef CommunicationManager< DiscreteFunctionSpaceType > Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::CommunicationManagerType
inherited

type of communication manager

◆ DofManagerType

typedef DofManager< GridType > Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::DofManagerType
inherited

type of DoF manager

◆ EntityType

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

◆ FunctionSpaceType

typedef Traits :: FunctionSpaceType Dune::Fem::DiscreteFunctionSpaceInterface< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::FunctionSpaceType
inherited

type of function space

◆ GridPartType

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

◆ GridType

typedef BaseType :: GridType Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::GridType
inherited

◆ IndexSetType

typedef BaseType :: IndexSetType Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::IndexSetType
inherited

◆ InterpolationImplType

local interpolation type

◆ InterpolationType

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

local interpolation type

◆ IntersectionType

typedef GridPartType :: IntersectionType Dune::Fem::DiscreteFunctionSpaceInterface< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::IntersectionType
inherited

type of the intersections

◆ IteratorType

typedef BaseType :: IteratorType Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::IteratorType
inherited

◆ KeyType

template<class FunctionSpace , class GridPart , int order, class Storage >
typedef BaseType::KeyType Dune::Fem::hpDG::AnisotropicDiscontinuousGalerkinSpace< FunctionSpace, GridPart, order, Storage >::KeyType

◆ LocalBlockIndices

typedef Traits::LocalBlockIndices Dune::Fem::DiscreteFunctionSpaceInterface< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::LocalBlockIndices
inherited

◆ LocalDofVectorAllocatorType

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

◆ LocalDofVectorStackType

typedef ThreadSafeValue< UninitializedObjectStack > Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::LocalDofVectorStackType
protectedinherited

◆ LocalDofVectorType

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

◆ LocalFunctionType

typedef BasicTemporaryLocalFunction< ThisType, LocalDofVectorType > Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::LocalFunctionType
protectedinherited

◆ SlaveDofsType

typedef AuxiliaryDofsType Dune::Fem::DiscreteFunctionSpaceInterface< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::SlaveDofsType
inherited

deprecated type

◆ Traits

typedef AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::Traits
inherited

Constructor & Destructor Documentation

◆ AnisotropicDiscontinuousGalerkinSpace() [1/4]

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

◆ AnisotropicDiscontinuousGalerkinSpace() [2/4]

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

◆ AnisotropicDiscontinuousGalerkinSpace() [3/4]

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

◆ AnisotropicDiscontinuousGalerkinSpace() [4/4]

template<class FunctionSpace , class GridPart , int order, class Storage >
template<class Function , std::enable_if_t< std::is_arithmetic< decltype(Function(std::declval< const EntityType >()))>::value , int , i = 0>
Dune::Fem::hpDG::AnisotropicDiscontinuousGalerkinSpace< FunctionSpace, GridPart, order, Storage >::AnisotropicDiscontinuousGalerkinSpace ( 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< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::adapt ( )
inlineinherited

please doc me

◆ adapt() [2/3]

void Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::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< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::adapt ( DataProjection< DiscreteFunctionSpace, Implementation > &  projection)
inlineinherited

please doc me

◆ addFunction()

void Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::addFunction ( DiscreteFunction &  df) const
inlineinherited

default implementation of addFunction does nothing at the moment

◆ asImp() [1/2]

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

◆ asImp() [2/2]

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

◆ auxiliaryDofs()

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

get auxiliary dofs

◆ basisFunctionSet()

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

return basis function set

◆ basisFunctionSets()

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

return basis function sets

◆ begin()

IteratorType Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::begin ( ) const
inlineinherited

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

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

◆ blockMapper()

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

return block mapper

◆ communicate() [1/2]

void Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::communicate ( DiscreteFunction &  discreteFunction) const
inlineinherited

communicate data for given discrete function using the space's default communication operation

Parameters
discreteFunctiondiscrete function to be communicated

◆ communicate() [2/2]

void Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::communicate ( DiscreteFunction &  discreteFunction,
const Operation &  op 
) const
inlineinherited

communicate data for given discrete function

Parameters
discreteFunctiondiscrete function to be communicated
[in]opcommunication operation to use (see DFCommunicationOperation)

◆ communicationDirection()

CommunicationDirection Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::communicationDirection ( ) const
inlineinherited

return the communication interface appropriate for this space

Returns
communication interface

◆ communicationInterface()

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

return the communication interface appropriate for this space

Returns
communication interface

◆ communicator()

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

return reference to communicator (see CommunicationManager)

Returns
reference to communicator

◆ continuous() [1/3]

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

please doc me

◆ continuous() [2/3]

bool Dune::Fem::DiscreteFunctionSpaceInterface< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, 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

◆ continuous() [3/3]

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

please doc me

◆ createDataHandle()

BaseType :: template CommDataHandle< DiscreteFunction, Operation >:: Type Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::createDataHandle ( DiscreteFunction &  discreteFunction,
const Operation &  operation 
) const
inlineinherited

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

◆ end()

IteratorType Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::end ( ) const
inlineinherited

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

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

◆ forEach()

void Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, 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 & );
typename BaseType::EntityType EntityType
Definition: hpdg/anisotropic.hh:94
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< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, 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

◆ getMark()

KeyType Dune::Fem::hpDG::DiscontinuousGalerkinSpace< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, 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]

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

get reference to grid this discrete function space belongs to

Returns
reference to grid

◆ grid() [2/2]

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

get reference to grid this discrete function space belongs to

Returns
constant reference to grid

◆ gridPart() [1/2]

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

get a reference to the associated grid partition

Returns
reference to the grid partition

◆ gridPart() [2/2]

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

◆ indexSet()

const IndexSetType& Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::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< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::interpolation ( ) const
inlineinherited

return interpolation

Parameters
[in]entitya grid part entity
Returns
local interpolation

◆ interpolation() [2/2]

InterpolationImplType Dune::Fem::hpDG::DiscontinuousGalerkinSpace< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, 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< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, 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< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::localInterpolation ( const EntityType entity) const
inlineinherited

return interpolation

Parameters
[in]entitya grid part entity
Returns
local interpolation

◆ mark()

void Dune::Fem::hpDG::DiscontinuousGalerkinSpace< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, 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()

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

return the maximal number of dofs on entities

◆ multipleBasisFunctionSets()

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

please doc me

◆ multipleGeometryTypes()

bool Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, 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

◆ order() [1/2]

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

return polynomial order

◆ order() [2/2]

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

return polynomial order

◆ removeFunction()

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

default implementation of removeFunction does nothing at the moment

◆ sequence()

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

get index of the sequence in grid sequences

Returns
number of current sequence

◆ size()

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

get number of DoFs for this space

Returns
number of DoFs (degrees of freedom)

◆ slaveDofs()

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

deprecated method, use auxiliaryDofs

◆ type()

DFSpaceIdentifier Dune::Fem::hpDG::DiscontinuousGalerkinSpace< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::type ( ) const
inlineinherited

Friends And Related Function Documentation

◆ operator==()

bool operator== ( const DiscreteFunctionSpaceInterface< Traits > &  X,
const DiscreteFunctionSpaceInterface< Traits > &  Y 
)
related

check two spaces for equality

This is a default implemented equality operator for discrete function spaces. It assumes the mapper to be a singleton and then compares the addresses of the two mappers.

Note that this method can be specialized by implementing another version that uses the exact traits of the discrete function space.

Member Data Documentation

◆ allGeomTypes_

const AllGeometryTypes Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::allGeomTypes_
protectedinherited

◆ auxiliaryDofs_

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

◆ basisFunctionSets_

BasisFunctionSetsType Dune::Fem::hpDG::DiscontinuousGalerkinSpace< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::basisFunctionSets_
protectedinherited

◆ blockMapper_

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

◆ commDirection_

const CommunicationDirection Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::commDirection_
protectedinherited

◆ commInterface_

const InterfaceType Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::commInterface_
protectedinherited

◆ communicator_

std::unique_ptr< CommunicationManagerType > Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::communicator_
mutableprotectedinherited

◆ dofManager_

DofManagerType& Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::dofManager_
protectedinherited

◆ gridPart_

GridPartType& Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::gridPart_
protectedinherited

◆ ldvAllocator_

LocalDofVectorAllocatorType Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::ldvAllocator_
mutableprotectedinherited

◆ ldvStack_

LocalDofVectorStackType Dune::Fem::DiscreteFunctionSpaceDefault< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::ldvStack_
mutableprotectedinherited

◆ localBlockSize

constexpr std::size_t Dune::Fem::DiscreteFunctionSpaceInterface< AnisotropicDiscontinuousGalerkinSpaceTraits< FunctionSpace, GridPart, order, Storage > >::localBlockSize
staticconstexprinherited

size of local blocks


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