dune-pdelab  2.5-dev
Public Types | Protected Member Functions | List of all members
Dune::PDELab::gfs::SubSpaceFeatureProvider< GFS, TreePath, Tag > Class Template Reference

#include <dune/pdelab/gridfunctionspace/subspace.hh>

Inheritance diagram for Dune::PDELab::gfs::SubSpaceFeatureProvider< GFS, TreePath, Tag >:
Inheritance graph

Public Types

using ChildGridFunctionSpace = TypeTree::ChildForTreePath< GFS, TreePath >
 The type of the original GridFunctionSpace that is the root of this GridFunctionSpace. More...
 
typedef ChildGridFunctionSpace::Traits Traits
 Re-exported Traits from the original GridFunctionSpace. More...
 

Protected Member Functions

 SubSpaceFeatureProvider (const GFS &gfs)
 

Default Functionality for all GridFunctionSpaces

typedef TreePath SubSpacePath
 The TreePath from the root of the space hierarchy to this subspace. More...
 
typedef GFS BaseGridFunctionSpace
 The base GridFunctionSpace that this GridFunctionSubSpace is based on. More...
 
using ChildGridFunctionSpace = TypeTree::ChildForTreePath< GFS, TreePath >
 The type of the original GridFunctionSpace that is the root of this GridFunctionSpace. More...
 
typedef ChildGridFunctionSpace::Traits Traits
 Re-exported Traits from the original GridFunctionSpace. More...
 
typedef ChildGridFunctionSpace::OrderingTag OrderingTag
 Re-exported OrderingTag from the original GridFunctionSpace. More...
 
template<typename E >
using Constraintscontainer = typename GFS::template ConstraintsContainer< E >
 Re-exported constraints container from the original GridFunctionSpace. More...
 
typedef SubOrdering< typename GFS::Ordering, typename find_ordering_treepath_for_sub_gfs< typename GFS::Ordering, GFS, TreePath >::type > Ordering
 The ordering used by this GridFunctionSubSpace. More...
 
std::size_t subSpaceDepth () const
 
const Orderingordering () const
 Returns the ordering associated with this GridFunctionSubSpace. More...
 
const Traits::EntitySet & entitySet () const
 Returns the underlying EntitySet. More...
 
const Traits::GridViewType & gridView () const
 Returns the underlying GridView. More...
 
Traits::SizeType globalSize () const
 Returns the global size of the root space. More...
 
Traits::SizeType size () const
 Returns the global size of the root space. More...
 
Traits::SizeType maxLocalSize () const
 Returns the maximum number of DOFs per cells in this subspace. More...
 

Additional Functionality for Leaf Spaces

const Traits::FiniteElementMap & finiteElementMap () const
 Returns the finite element map of this space. More...
 
std::shared_ptr< const typename Traits::FiniteElementMap > finiteElementMapStorage () const
 Returns the storage object for the finite element map of this space. More...
 
const Traits::ConstraintsType & constraints () const
 Returns the constraints engine of this space. More...
 
const std::string & name () const
 Returns the name of this space. More...
 

Detailed Description

template<typename GFS, typename TreePath, typename Tag>
class Dune::PDELab::gfs::SubSpaceFeatureProvider< GFS, TreePath, Tag >

Feature provider for leaf spaces.

Member Typedef Documentation

§ BaseGridFunctionSpace

template<typename GFS, typename TreePath, typename Tag>
typedef GFS Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >::BaseGridFunctionSpace
inherited

The base GridFunctionSpace that this GridFunctionSubSpace is based on.

§ ChildGridFunctionSpace [1/2]

template<typename GFS, typename TreePath, typename Tag>
using Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >::ChildGridFunctionSpace = TypeTree::ChildForTreePath<GFS,TreePath>
inherited

The type of the original GridFunctionSpace that is the root of this GridFunctionSpace.

§ ChildGridFunctionSpace [2/2]

template<typename GFS, typename TreePath, typename Tag>
using Dune::PDELab::gfs::LeafSubSpaceFeatures< GFS, TreePath, Tag >::ChildGridFunctionSpace = TypeTree::ChildForTreePath<GFS,TreePath>
inherited

The type of the original GridFunctionSpace that is the root of this GridFunctionSpace.

§ Constraintscontainer

template<typename GFS, typename TreePath, typename Tag>
template<typename E >
using Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >::Constraintscontainer = typename GFS::template ConstraintsContainer<E>
inherited

Re-exported constraints container from the original GridFunctionSpace.

§ Ordering

template<typename GFS, typename TreePath, typename Tag>
typedef SubOrdering< typename GFS::Ordering, typename find_ordering_treepath_for_sub_gfs< typename GFS::Ordering, GFS, TreePath >::type > Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >::Ordering
inherited

The ordering used by this GridFunctionSubSpace.

§ OrderingTag

template<typename GFS, typename TreePath, typename Tag>
typedef ChildGridFunctionSpace::OrderingTag Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >::OrderingTag
inherited

Re-exported OrderingTag from the original GridFunctionSpace.

§ SubSpacePath

template<typename GFS, typename TreePath, typename Tag>
typedef TreePath Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >::SubSpacePath
inherited

The TreePath from the root of the space hierarchy to this subspace.

§ Traits [1/2]

template<typename GFS, typename TreePath, typename Tag>
typedef ChildGridFunctionSpace::Traits Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >::Traits
inherited

Re-exported Traits from the original GridFunctionSpace.

§ Traits [2/2]

template<typename GFS, typename TreePath, typename Tag>
typedef ChildGridFunctionSpace::Traits Dune::PDELab::gfs::LeafSubSpaceFeatures< GFS, TreePath, Tag >::Traits
inherited

Re-exported Traits from the original GridFunctionSpace.

Constructor & Destructor Documentation

§ SubSpaceFeatureProvider()

template<typename GFS, typename TreePath, typename Tag>
Dune::PDELab::gfs::SubSpaceFeatureProvider< GFS, TreePath, Tag >::SubSpaceFeatureProvider ( const GFS &  gfs)
inlineprotected

Member Function Documentation

§ constraints()

template<typename GFS, typename TreePath, typename Tag>
const Traits::ConstraintsType& Dune::PDELab::gfs::LeafSubSpaceFeatures< GFS, TreePath, Tag >::constraints ( ) const
inlineinherited

Returns the constraints engine of this space.

§ entitySet()

template<typename GFS, typename TreePath, typename Tag>
const Traits::EntitySet& Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >::entitySet ( ) const
inlineinherited

Returns the underlying EntitySet.

§ finiteElementMap()

template<typename GFS, typename TreePath, typename Tag>
const Traits::FiniteElementMap& Dune::PDELab::gfs::LeafSubSpaceFeatures< GFS, TreePath, Tag >::finiteElementMap ( ) const
inlineinherited

Returns the finite element map of this space.

§ finiteElementMapStorage()

template<typename GFS, typename TreePath, typename Tag>
std::shared_ptr<const typename Traits::FiniteElementMap> Dune::PDELab::gfs::LeafSubSpaceFeatures< GFS, TreePath, Tag >::finiteElementMapStorage ( ) const
inlineinherited

Returns the storage object for the finite element map of this space.

§ globalSize()

template<typename GFS, typename TreePath, typename Tag>
Traits::SizeType Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >::globalSize ( ) const
inlineinherited

Returns the global size of the root space.

§ gridView()

template<typename GFS, typename TreePath, typename Tag>
const Traits::GridViewType& Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >::gridView ( ) const
inlineinherited

Returns the underlying GridView.

§ maxLocalSize()

template<typename GFS, typename TreePath, typename Tag>
Traits::SizeType Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >::maxLocalSize ( ) const
inlineinherited

Returns the maximum number of DOFs per cells in this subspace.

§ name()

template<typename GFS, typename TreePath, typename Tag>
const std::string& Dune::PDELab::gfs::LeafSubSpaceFeatures< GFS, TreePath, Tag >::name ( ) const
inlineinherited

Returns the name of this space.

§ ordering()

template<typename GFS, typename TreePath, typename Tag>
const Ordering& Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >::ordering ( ) const
inlineinherited

Returns the ordering associated with this GridFunctionSubSpace.

§ size()

template<typename GFS, typename TreePath, typename Tag>
Traits::SizeType Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >::size ( ) const
inlineinherited

Returns the global size of the root space.

Warning
The semantics of this methods have changed with the introduction of Orderings: While this method used to return the size of the subspace only, it now behaves like globalSize() and returns the overall size of the root space! Calculating the size of the subspace might be a very expensive operation depending on the underlying orderings.

§ subSpaceDepth()

template<typename GFS, typename TreePath, typename Tag>
std::size_t Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >::subSpaceDepth ( ) const
inlineinherited

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