|
dune-pdelab 2.9
|
Loading...
Searching...
No Matches
subspace.hh
Go to the documentation of this file.
63 template<typename Ordering, typename GFS, typename GFSTP, typename OrderingTP = TypeTree::StaticTreePath<> >
83 // Keep (synthesized ordering node) or drop (ordering with associated GFS) first entry of GFS TreePath.
387 , public SubSpaceFeatureProvider<GFS,TreePath,TypeTree::ImplementationTag<TypeTree::ChildForTreePath<GFS,TreePath>>>
435 explicit GridFunctionSubSpace(std::shared_ptr<const GridFunctionSubSpace<GFS,TP> > gfs_storage, typename std::enable_if<!std::is_same<TP,TreePath>::value,void*>::type = nullptr)
455 explicit GridFunctionSubSpace(const GridFunctionSubSpace<GFS,TP>& gfs, typename std::enable_if<!std::is_same<TP,TreePath>::value,void*>::type = nullptr)
typename impl::_ChildForTreePath< Node, TreePath >::type ChildForTreePath
typename std::decay_t< T >::ImplementationTag ImplementationTag
std::shared_ptr< T > stackobject_to_shared_ptr(T &t)
Support infrastructure to make LocalFunctionSpaces of GridFunctionSubSpace work.
For backward compatibility – Do not use this!
std::enable_if< enabled, Node & >::type proxiedNode()
std::enable_if< enabled, std::shared_ptr< Node > >::type proxiedNodeStorage()
Mixin base class for specifying output hints to I/O routines like VTK.
Definition function.hh:126
Non-nesting implementation of GridFunctionSubSpace.
Definition subspace.hh:389
TypeTree::ChildForTreePath< GFS, TreePath > ChildGridFunctionSpace
The type of the original GridFunctionSpace that is the root of this GridFunctionSpace.
Definition subspace.hh:469
std::shared_ptr< const BaseGridFunctionSpace > baseGridFunctionSpaceStorage() const
Returns the storage object of the root GridFunctionSpace that this subspace view is based on.
Definition subspace.hh:486
const BaseGridFunctionSpace & baseGridFunctionSpace() const
Returns the root GridFunctionSpace that this subspace view is based on.
Definition subspace.hh:480
GFS BaseGridFunctionSpace
The base GridFunctionSpace that this GridFunctionSubSpace is based on.
Definition subspace.hh:466
const ChildGridFunctionSpace & childGridFunctionSpace() const
Returns the original GridFunctionSpace that we provide a view for.
Definition subspace.hh:497
GridFunctionSubSpaceTag< TypeTree::ImplementationTag< ChildGridFunctionSpace > > ImplementationTag
Our ImplementationTag is derived from the tag of the original GridFunctionSpace.
Definition subspace.hh:477
GridFunctionSubSpace(const GFS &gfs)
Construct a GridFunctionSubSpace from a root space.
Definition subspace.hh:415
std::shared_ptr< const ChildGridFunctionSpace > childGridFunctionSpaceStorage() const
Returns the storage object of the original GridFunctionSpace that we provide a view for.
Definition subspace.hh:508
void name(const std::string &name)
Definition subspace.hh:518
GridFunctionSubSpace(std::shared_ptr< const GFS > gfs_storage)
Construct a GridFunctionSubSpace from the storage object of a root space.
Definition subspace.hh:402
GridFunctionSubSpace(std::shared_ptr< const GridFunctionSubSpace< GFS, TP > > gfs_storage, typename std::enable_if<!std::is_same< TP, TreePath >::value, void * >::type=nullptr)
Construct a GridFunctionSubSpace from the storage of another GridFunctionSubSpace.
Definition subspace.hh:435
ChildGridFunctionSpace::Traits Traits
Re-exported Traits from the original GridFunctionSpace.
Definition subspace.hh:472
GridFunctionSubSpace(const GridFunctionSubSpace< GFS, TP > &gfs, typename std::enable_if<!std::is_same< TP, TreePath >::value, void * >::type=nullptr)
Construct a GridFunctionSubSpace from another GridFunctionSubSpace.
Definition subspace.hh:455
Default features used by every subspace implementation.
Definition subspace.hh:122
std::size_t subSpaceDepth() const
Definition subspace.hh:168
const Traits::GridViewType & gridView() const
Returns the underlying GridView.
Definition subspace.hh:186
typename GFS::template ConstraintsContainer< E > Constraintscontainer
Re-exported constraints container from the original GridFunctionSpace.
Definition subspace.hh:156
const Traits::EntitySet & entitySet() const
Returns the underlying EntitySet.
Definition subspace.hh:180
Traits::SizeType size() const
Returns the global size of the root space.
Definition subspace.hh:205
ChildGridFunctionSpace::Traits Traits
Re-exported Traits from the original GridFunctionSpace.
Definition subspace.hh:148
const Ordering & ordering() const
Returns the ordering associated with this GridFunctionSubSpace.
Definition subspace.hh:174
Traits::SizeType maxLocalSize() const
Returns the maximum number of DOFs per cells in this subspace.
Definition subspace.hh:211
Traits::SizeType globalSize() const
Returns the global size of the root space.
Definition subspace.hh:192
TypeTree::ChildForTreePath< GFS, TreePath > ChildGridFunctionSpace
The type of the original GridFunctionSpace that is the root of this GridFunctionSpace.
Definition subspace.hh:145
DefaultSubSpaceFeatures(const GFS &gfs)
Definition subspace.hh:220
ChildGridFunctionSpace::OrderingTag OrderingTag
Re-exported OrderingTag from the original GridFunctionSpace.
Definition subspace.hh:151
TreePath SubSpacePath
The TreePath from the root of the space hierarchy to this subspace.
Definition subspace.hh:139
SubOrdering< typename GFS::Ordering, typename find_ordering_treepath_for_sub_gfs< typename GFS::Ordering, GFS, TreePath >::type > Ordering
The ordering used by this GridFunctionSubSpace.
Definition subspace.hh:166
GFS BaseGridFunctionSpace
The base GridFunctionSpace that this GridFunctionSubSpace is based on.
Definition subspace.hh:142
Additional features used by leaf subspaces.
Definition subspace.hh:234
ChildGridFunctionSpace::Traits Traits
Re-exported Traits from the original GridFunctionSpace.
Definition subspace.hh:251
TypeTree::ChildForTreePath< GFS, TreePath > ChildGridFunctionSpace
The type of the original GridFunctionSpace that is the root of this GridFunctionSpace.
Definition subspace.hh:248
const Traits::FiniteElementMap & finiteElementMap() const
Returns the finite element map of this space.
Definition subspace.hh:257
std::shared_ptr< const typename Traits::FiniteElementMap > finiteElementMapStorage() const
Returns the storage object for the finite element map of this space.
Definition subspace.hh:263
const Traits::ConstraintsType & constraints() const
Returns the constraints engine of this space.
Definition subspace.hh:269
const std::string & name() const
Returns the name of this space.
Definition subspace.hh:275
Definition subspace.hh:293
SubSpaceFeatureProvider(const GFS &gfs)
Definition subspace.hh:297
Mixin class which inherits from GridFunctionOutputParameters iff T inherits from GridFunctionOutputPa...
Definition subspace.hh:339
void inheritDataSetType(const T &t)
Definition subspace.hh:341
Definition gridfunctionspace/tags.hh:37
Definition gridfunctionspace/tags.hh:239
_build_dof_index_type< GFS, typenameGFS::OrderingTag >::type type
Definition gridfunctionspace/tags.hh:240
A view on a subtree of a multi-component ordering.
Definition subordering.hh:50
static const bool consume_tree_index
Forwarded ordering property from TargetOrdering, required by PDELab internals.
Definition subordering.hh:75
Traits::SizeType maxLocalSize() const
Returns the maximum per-entity size of the TargetOrdering.
Definition subordering.hh:196
Traits::SizeType size() const
Returns the size of the BaseOrdering.
Definition subordering.hh:179
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8