DUNE PDELab (git)
Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag > Class Template Reference
Default features used by every subspace implementation. More...
#include <dune/pdelab/gridfunctionspace/subspace.hh>
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 Ordering & | ordering () 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. | |
Detailed Description
template<typename GFS, typename TreePath, typename Tag>
class Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >
class Dune::PDELab::gfs::DefaultSubSpaceFeatures< GFS, TreePath, Tag >
Default features used by every subspace implementation.
Member Function Documentation
◆ size()
template<typename GFS , typename TreePath , typename Tag >
|
inline |
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:
- dune/pdelab/gridfunctionspace/subspace.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)