|
dune-pdelab
2.0.0
|
#include <dune/pdelab/ordering/orderingbase.hh>

Public Types | |
| typedef OrderingTraits< DI, CI > | Traits |
| typedef HierarchicContainerAllocationTag | ContainerAllocationTag |
| typedef DefaultLFSCacheTag | CacheTag |
Public Member Functions | |
| Traits::ContainerIndex | mapIndex (const typename Traits::DOFIndex &di) const |
| void | mapIndex (typename Traits::DOFIndexView di, typename Traits::ContainerIndex &ci) const |
| Traits::SizeType | size () const |
| Traits::SizeType | blockCount () const |
| Traits::SizeType | size (const typename Traits::SizeType child_index) const |
| Traits::SizeType | sizeOffset (const typename Traits::SizeType child_index) const |
| Traits::SizeType | blockOffset (const typename Traits::SizeType child_index) const |
| Traits::SizeType | maxLocalSize () const |
| MergeMode::type | mergeMode () const |
| void | update () |
| template<typename Node > | |
| OrderingBase (Node &node, bool container_blocked, GFSData *gfs_data, VirtualOrderingBase< DI, CI > *delegate=nullptr) | |
| template<typename Node > | |
| OrderingBase (Node &node, bool container_blocked, const std::vector< std::size_t > &merge_offsets, GFSData *gfs_data, VirtualOrderingBase< DI, CI > *delegate=nullptr) | |
| bool | containerBlocked () const |
| std::size_t | childOrderingCount () const |
| OrderingBase & | childOrdering (typename Traits::SizeType i) |
| const OrderingBase & | childOrdering (typename Traits::SizeType i) const |
| bool | contains (typename Traits::SizeType codim) const |
| bool | fixedSize (typename Traits::SizeType codim) const |
| bool | containsPartition (PartitionType partition) const |
| Returns whether this ordering contains entities with PartitionType partition. More... | |
| std::bitset< 6 > | containedPartitions () const |
| Returns the internal representation of the set of contained entities. More... | |
Public Attributes | |
| bool | _fixed_size |
| const bool | _container_blocked |
| const MergeMode::type | _merge_mode |
| const std::size_t | _child_count |
| std::vector< OrderingBase * > | _children |
| std::vector< typename Traits::SizeType > | _child_size_offsets |
| std::vector< typename Traits::SizeType > | _child_block_offsets |
| std::vector< typename Traits::SizeType > | _child_block_merge_offsets |
| Traits::CodimFlag | _codim_used |
| Traits::CodimFlag | _codim_fixed_size |
| std::size_t | _max_local_size |
| std::size_t | _size |
| std::size_t | _block_count |
| const VirtualOrderingBase< DI, CI > * | _delegate |
| GFSData * | _gfs_data |
Static Public Attributes | |
| static const bool | has_dynamic_ordering_children = true |
| static const bool | consume_tree_index = true |
Protected Types | |
| typedef Dune::PDELab::impl::GridFunctionSpaceOrderingData < typename Traits::SizeType > | GFSData |
Protected Member Functions | |
| void | setDelegate (const VirtualOrderingBase< DI, CI > *delegate) |
| Set the delegate called in mapIndex(). More... | |
| void | _mapIndex (typename Traits::DOFIndexView di, typename Traits::ContainerIndex &ci) const |
| void | clearPartitionSet () |
| Empties the set of contained partitions. More... | |
| void | mergePartitionSet (const PartitionInfoProvider &r) |
| Adds all partitions contained in r the set of contained partitions. More... | |
| void | setPartitionSet (const std::bitset< 6 > &partitions) |
| Sets the set of contained partitions to the passed-in value. More... | |
| void | setPartitionSet (const PartitionInfoProvider &r) |
| Copies the set of contained partitions from r. More... | |
| template<typename It > | |
| void | mergePartitionSets (It begin, It end) |
| Adds the partitions from all PartitionInfoProviders in the range [begin,end). More... | |
Friends | |
| template<typename size_type > | |
| struct | ::Dune::PDELab::impl::update_ordering_data |
| typedef DefaultLFSCacheTag Dune::PDELab::OrderingBase< DI, CI >::CacheTag |
| typedef HierarchicContainerAllocationTag Dune::PDELab::OrderingBase< DI, CI >::ContainerAllocationTag |
|
protected |
| typedef OrderingTraits<DI,CI> Dune::PDELab::OrderingBase< DI, CI >::Traits |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
Referenced by Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::_mapIndex(), Dune::PDELab::lexicographic_ordering::Base< DI, CI, PowerLexicographicOrdering< DI, CI, Child, k > >::extract_entity_indices(), and Dune::PDELab::lexicographic_ordering::Base< DI, CI, PowerLexicographicOrdering< DI, CI, Child, k > >::map_lfs_indices().
|
inline |
|
inline |
|
inline |
|
inlineprotectedinherited |
Empties the set of contained partitions.
Referenced by Dune::PDELab::PartitionInfoProvider::mergePartitionSets().
|
inlineinherited |
Returns the internal representation of the set of contained entities.
|
inline |
|
inline |
|
inlineinherited |
Returns whether this ordering contains entities with PartitionType partition.
Referenced by Dune::PDELab::GridFunctionSpaceBase< GridFunctionSpace, PowerCompositeGridFunctionSpaceTraits< GV, B, O, k > >::containsPartition().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotectedinherited |
Adds all partitions contained in r the set of contained partitions.
Referenced by Dune::PDELab::PartitionInfoProvider::mergePartitionSets().
|
inlineprotectedinherited |
Adds the partitions from all PartitionInfoProviders in the range [begin,end).
References Dune::PDELab::PartitionInfoProvider::clearPartitionSet(), and Dune::PDELab::PartitionInfoProvider::mergePartitionSet().
Referenced by Dune::PDELab::LocalOrderingBase< DUNE_TYPETREE_COMPOSITENODE_FIRST_CHILD::Traits::GridView, DUNE_TYPETREE_COMPOSITENODE_FIRST_CHILD::Traits::DOFIndex, DUNE_TYPETREE_COMPOSITENODE_FIRST_CHILD::Traits::ContainerIndex >::LocalOrderingBase(), and Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::OrderingBase().
|
inlineprotected |
Set the delegate called in mapIndex().
When copying an Ordering with a delegate, the derived Ordering must call this method with 'this' as its argument in the copy and the move constructors!
Referenced by Dune::PDELab::permutation_ordering::Base< DI, CI, PowerLexicographicOrdering< DI, CI, Child, k > >::Base().
|
inlineprotectedinherited |
Sets the set of contained partitions to the passed-in value.
Referenced by Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::DirectLeafLocalOrdering(), Dune::PDELab::GridViewOrdering< LocalOrdering >::GridViewOrdering(), Dune::PDELab::LeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::LeafLocalOrdering(), Dune::PDELab::LeafOrderingBase< LocalOrdering >::LeafOrderingBase(), Dune::PDELab::PermutedOrdering< Ordering >::PermutedOrdering(), and Dune::PDELab::SubOrdering< typename GFS::Ordering, typename find_ordering_treepath_for_sub_gfs< typename GFS::Ordering, GFS, TreePath >::type >::update().
|
inlineprotectedinherited |
Copies the set of contained partitions from r.
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Dune::PDELab::PowerLexicographicOrdering< DI, CI, Child, k >::update(), Dune::PDELab::PowerPermutationOrdering< DI, CI, Child, k >::update(), Dune::PDELab::PowerInterleavedOrdering< DI, CI, Child, k >::update(), Dune::PDELab::PermutedOrdering< Ordering >::update(), Dune::PDELab::CompositeLexicographicOrdering< DI, CI, DUNE_TYPETREE_COMPOSITENODE_TEMPLATE_CHILDREN >::update(), Dune::PDELab::CompositePermutationOrdering< DI, CI, DUNE_TYPETREE_COMPOSITENODE_TEMPLATE_CHILDREN >::update(), and Dune::PDELab::CompositeInterleavedOrdering< DI, CI, DUNE_TYPETREE_COMPOSITENODE_TEMPLATE_CHILDREN >::update().
|
friend |
| std::size_t Dune::PDELab::OrderingBase< DI, CI >::_block_count |
| std::vector<typename Traits::SizeType> Dune::PDELab::OrderingBase< DI, CI >::_child_block_merge_offsets |
Referenced by Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::_mapIndex(), Dune::PDELab::interleaved_ordering::Base< DI, CI, CompositeInterleavedOrdering< DI, CI, DUNE_TYPETREE_COMPOSITENODE_CHILDTYPES > >::extract_entity_indices(), Dune::PDELab::interleaved_ordering::Base< DI, CI, CompositeInterleavedOrdering< DI, CI, DUNE_TYPETREE_COMPOSITENODE_CHILDTYPES > >::map_lfs_indices(), and Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::update().
| std::vector<typename Traits::SizeType> Dune::PDELab::OrderingBase< DI, CI >::_child_block_offsets |
| const std::size_t Dune::PDELab::OrderingBase< DI, CI >::_child_count |
| std::vector<typename Traits::SizeType> Dune::PDELab::OrderingBase< DI, CI >::_child_size_offsets |
Referenced by Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::size(), Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::sizeOffset(), and Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::update().
| std::vector<OrderingBase*> Dune::PDELab::OrderingBase< DI, CI >::_children |
Referenced by Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::_mapIndex(), Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::childOrdering(), Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::OrderingBase(), and Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::update().
| Traits::CodimFlag Dune::PDELab::OrderingBase< DI, CI >::_codim_fixed_size |
| Traits::CodimFlag Dune::PDELab::OrderingBase< DI, CI >::_codim_used |
| const bool Dune::PDELab::OrderingBase< DI, CI >::_container_blocked |
Referenced by Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::_mapIndex(), Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::containerBlocked(), Dune::PDELab::lexicographic_ordering::Base< DI, CI, PowerLexicographicOrdering< DI, CI, Child, k > >::extract_entity_indices(), Dune::PDELab::interleaved_ordering::Base< DI, CI, CompositeInterleavedOrdering< DI, CI, DUNE_TYPETREE_COMPOSITENODE_CHILDTYPES > >::extract_entity_indices(), Dune::PDELab::lexicographic_ordering::Base< DI, CI, PowerLexicographicOrdering< DI, CI, Child, k > >::map_lfs_indices(), Dune::PDELab::interleaved_ordering::Base< DI, CI, CompositeInterleavedOrdering< DI, CI, DUNE_TYPETREE_COMPOSITENODE_CHILDTYPES > >::map_lfs_indices(), and Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::update().
| const VirtualOrderingBase<DI,CI>* Dune::PDELab::OrderingBase< DI, CI >::_delegate |
| bool Dune::PDELab::OrderingBase< DI, CI >::_fixed_size |
| GFSData* Dune::PDELab::OrderingBase< DI, CI >::_gfs_data |
| std::size_t Dune::PDELab::OrderingBase< DI, CI >::_max_local_size |
| const MergeMode::type Dune::PDELab::OrderingBase< DI, CI >::_merge_mode |
Referenced by Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::_mapIndex(), Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::blockOffset(), Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::mergeMode(), and Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::update().
| std::size_t Dune::PDELab::OrderingBase< DI, CI >::_size |
|
static |
|
static |
1.8.7