DUNE PDELab (git)
Entity-wise orderings. More...
#include <dune/pdelab/ordering/localorderingbase.hh>
Public Member Functions | |
template<typename ItIn , typename ItOut > | |
void | map_lfs_indices (const ItIn begin, const ItIn end, ItOut out) const |
Set last index of container indices. More... | |
Protected Member Functions | |
template<class Node > | |
Traits::SizeType | node_size (const Node &node, typename Traits::ContainerIndex suffix, const typename Traits::DOFIndex::EntityIndex &index) const |
Gives the size for a given entity and suffix. More... | |
void | setup_fixed_size_possible () |
Initial setup of the flag indicating whether a fixed size ordering is possible. More... | |
Detailed Description
class Dune::PDELab::LocalOrderingBase< ES, DI, CI >
Entity-wise orderings.
A tree structure of this class is able to provide (multi-index) indexations for each entity in an entity set.
Member Function Documentation
◆ map_lfs_indices()
|
inline |
Set last index of container indices.
For a (view) list of dof indices, this method will fill or append the last index of the same ammount of container indices.
- Template Parameters
-
ItIn DOFIndexViewIterator<DOFIterator> ItOut std::vector<CI>::iterator
- Parameters
-
begin begin iterator for (view) list of dof indices end begin iterator for (view) list of dof indices out begin iterator of container indices to be filled out
◆ node_size()
|
inlineprotected |
Gives the size for a given entity and suffix.
This method is used by typetree class derived from this class
- Parameters
-
node TypeTree version of this class suffix MultiIndex with a partial path to a container index Entity index to compute the size
- Returns
- Traits::SizeType The size required for such a path.
References Dune::Hybrid::forEach().
◆ setup_fixed_size_possible()
|
inlineprotected |
Initial setup of the flag indicating whether a fixed size ordering is possible.
For a non-leaf ordering, a fixed size ordering is possible if all children can support it, so we implement that logic here.
- Note
- Leaf orderings will usually want to extract this a priori information from somewhere else, so they should override this method (the correct method will get called even without a virtual call, as the call happens from a TypeTree visitor that is aware of the precise type of the ordering).
References Dune::TypeTree::child().
The documentation for this class was generated from the following file:
- dune/pdelab/ordering/localorderingbase.hh