dune-pdelab
2.4-dev
|
#include <dune/pdelab/ordering/localorderingbase.hh>
Public Types | |
typedef LocalOrderingTraits< GV, DI, CI > | Traits |
Public Member Functions | |
void | map_local_index (const typename Traits::SizeType geometry_type_index, const typename Traits::SizeType entity_index, typename Traits::TreeIndexView mi, typename Traits::ContainerIndex &ci) const |
template<typename ItIn , typename ItOut > | |
void | map_lfs_indices (const ItIn begin, const ItIn end, ItOut out) const |
template<typename CIOutIterator , typename DIOutIterator = DummyDOFIndexIterator> | |
Traits::SizeType | extract_entity_indices (const typename Traits::DOFIndex::EntityIndex &ei, typename Traits::SizeType child_index, CIOutIterator ci_out, const CIOutIterator ci_end, DIOutIterator di_out=DIOutIterator()) const |
Traits::SizeType | size (const typename Traits::DOFIndex::EntityIndex &index) const |
Traits::SizeType | size (const typename Traits::SizeType geometry_type_index, const typename Traits::SizeType entity_index) const |
Traits::SizeType | size (const typename Traits::SizeType geometry_type_index, const typename Traits::SizeType entity_index, const typename Traits::SizeType child_index) const |
Traits::SizeType | offset (const typename Traits::SizeType geometry_type_index, const typename Traits::SizeType entity_index, const typename Traits::SizeType child_index) const |
template<typename Node > | |
LocalOrderingBase (Node &node, bool container_blocked, GFSData *gfs_data) | |
bool | fixedSize () const |
bool | contains (const GeometryType >) const |
bool | contains_geometry_type (typename Traits::SizeType gt_index) const |
bool | contains (typename Traits::SizeType codim) const |
Traits::SizeType | maxLocalSize () 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... | |
Static Public Attributes | |
static const bool | has_dynamic_ordering_children = true |
static const bool | consume_tree_index = true |
Protected Types | |
typedef impl::GridFunctionSpaceOrderingData< typename Traits::SizeType > | GFSData |
Protected Member Functions | |
LocalOrderingBase & | childOrdering (typename Traits::SizeType i) |
const LocalOrderingBase & | childOrdering (typename Traits::SizeType i) const |
void | disable_container_blocking () |
void | setup_fixed_size_possible () |
Initial setup of the flag indicating whether a fixed size ordering is possible. More... | |
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... | |
Protected Attributes | |
bool | _fixed_size |
bool | _fixed_size_possible |
bool | _container_blocked |
std::size_t | _max_local_size |
const std::size_t | _child_count |
std::vector< LocalOrderingBase * > | _children |
Traits::CodimFlag | _codim_used |
std::vector< bool > | _gt_used |
std::vector< typename Traits::SizeType > | _gt_entity_offsets |
std::vector< typename Traits::SizeType > | _gt_dof_offsets |
std::vector< typename Traits::SizeType > | _entity_dof_offsets |
GFSData * | _gfs_data |
|
protected |
typedef LocalOrderingTraits<GV,DI,CI> Dune::PDELab::LocalOrderingBase< GV, DI, CI >::Traits |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
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 |
|
inline |
|
inlineinherited |
Returns whether this ordering contains entities with PartitionType partition.
Referenced by Dune::PDELab::GridFunctionSpaceBase< GridFunctionSpace, PowerCompositeGridFunctionSpaceTraits< GV, B, O, k > >::containsPartition().
|
inlineprotected |
|
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< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::LocalOrderingBase(), and Dune::PDELab::OrderingBase< Ordering::Traits::DOFIndex, Ordering::Traits::ContainerIndex >::OrderingBase().
|
inline |
|
inlineprotectedinherited |
Sets the set of contained partitions to the passed-in value.
Referenced by Dune::PDELab::ChunkedBlockOrdering< Ordering >::ChunkedBlockOrdering(), 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.
|
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.
|
inline |
Referenced by Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::extract_entity_indices(), and Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::size().
|
inline |
|
inline |
|
protected |
Referenced by Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::extract_entity_indices(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_lfs_indices(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_local_index(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::offset(), and Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::size().
|
protected |
Referenced by Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::childOrdering(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::LocalOrderingBase(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_local_index(), and Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::setup_fixed_size_possible().
|
protected |
|
protected |
Referenced by Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::disable_container_blocking(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::extract_entity_indices(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_lfs_indices(), and Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_local_index().
|
protected |
Referenced by Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::extract_entity_indices(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_lfs_indices(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_local_index(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::offset(), and Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::size().
|
protected |
Referenced by Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::extract_entity_indices(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::fixedSize(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_lfs_indices(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_local_index(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::offset(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::size(), and Dune::PDELab::LeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::update_a_priori_fixed_size().
|
protected |
Referenced by Dune::PDELab::LeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::setup_fixed_size_possible(), and Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::setup_fixed_size_possible().
|
protected |
|
protected |
Referenced by Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::extract_entity_indices(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_lfs_indices(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_local_index(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::offset(), and Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::size().
|
protected |
Referenced by Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::extract_entity_indices(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_lfs_indices(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_local_index(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::offset(), and Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::size().
|
protected |
Referenced by Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::contains(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::contains_geometry_type(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::extract_entity_indices(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_lfs_indices(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::map_local_index(), Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::offset(), and Dune::PDELab::LocalOrderingBase< first_type< Children...>::type::Traits::GridView, first_type< Children...>::type::Traits::DOFIndex, first_type< Children...>::type::Traits::ContainerIndex >::size().
|
protected |
|
static |
|
static |