DUNE PDELab (git)

Dune::PDELab::gfs::SubSpaceFeatureProvider< GFS, TreePath, Tag > Class Template Reference

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

Public Types

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

Default Functionality for all GridFunctionSpaces

typedef TreePath SubSpacePath
 The TreePath from the root of the space hierarchy to this subspace.
 
typedef GFS BaseGridFunctionSpace
 The base GridFunctionSpace that this GridFunctionSubSpace is based on.
 
using ChildGridFunctionSpace = TypeTree::ChildForTreePath< GFS, TreePath >
 The type of the original GridFunctionSpace that is the root of this GridFunctionSpace.
 
typedef ChildGridFunctionSpace::Traits Traits
 Re-exported Traits from the original GridFunctionSpace.
 
typedef ChildGridFunctionSpace::OrderingTag OrderingTag
 Re-exported OrderingTag from the original GridFunctionSpace.
 
template<typename E >
using Constraintscontainer = typename GFS::template ConstraintsContainer< E >
 Re-exported constraints container from the original GridFunctionSpace.
 
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.
 
std::size_t subSpaceDepth () const
 
const Orderingordering () const
 Returns the ordering associated with this GridFunctionSubSpace.
 
const Traits::EntitySet & entitySet () const
 Returns the underlying EntitySet.
 
const Traits::GridViewType & gridView () const
 Returns the underlying GridView.
 
Traits::SizeType globalSize () const
 Returns the global size of the root space.
 
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.
 

Additional Functionality for Leaf Spaces

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

Detailed Description

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

Feature provider for leaf spaces.

Member Function Documentation

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

References Dune::PDELab::SubOrdering< BaseOrdering_, TreePath >::size().


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Jul 15, 22:36, 2024)