dune-pdelab  2.4-dev
Public Types | Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
Dune::PDELab::LeafLocalOrdering< OrderingTag, FEM, GV, DI, CI > Class Template Reference

#include <dune/pdelab/ordering/leaflocalordering.hh>

Inheritance diagram for Dune::PDELab::LeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >:
Inheritance graph

Public Types

typedef BaseT::Traits Traits
 

Public Member Functions

 LeafLocalOrdering (const std::shared_ptr< const FEM > &fem, const GV &gv, bool backend_blocked, typename BaseT::GFSData *gfs_data)
 
const Traits::GridViewgridView () const
 
const FEM & finiteElementMap () const
 
void update_a_priori_fixed_size ()
 
void setup_fixed_size_possible ()
 
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
 
bool fixedSize () const
 
bool contains (const GeometryType &gt) const
 
bool contains (typename Traits::SizeType codim) const
 
bool contains_geometry_type (typename Traits::SizeType gt_index) 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::SizeTypeGFSData
 

Protected Member Functions

LocalOrderingBasechildOrdering (typename Traits::SizeType i)
 
const LocalOrderingBasechildOrdering (typename Traits::SizeType i) const
 
void disable_container_blocking ()
 
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
 

Member Typedef Documentation

template<typename GV, typename DI, typename CI>
typedef impl::GridFunctionSpaceOrderingData<typename Traits::SizeType> Dune::PDELab::LocalOrderingBase< GV, DI, CI >::GFSData
protectedinherited
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
typedef BaseT::Traits Dune::PDELab::LeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::Traits

Constructor & Destructor Documentation

template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
Dune::PDELab::LeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::LeafLocalOrdering ( const std::shared_ptr< const FEM > &  fem,
const GV &  gv,
bool  backend_blocked,
typename BaseT::GFSData gfs_data 
)
inline

Member Function Documentation

template<typename GV, typename DI, typename CI>
LocalOrderingBase& Dune::PDELab::LocalOrderingBase< GV, DI, CI >::childOrdering ( typename Traits::SizeType  i)
inlineprotectedinherited
template<typename GV, typename DI, typename CI>
const LocalOrderingBase& Dune::PDELab::LocalOrderingBase< GV, DI, CI >::childOrdering ( typename Traits::SizeType  i) const
inlineprotectedinherited
void Dune::PDELab::PartitionInfoProvider::clearPartitionSet ( )
inlineprotectedinherited

Empties the set of contained partitions.

Referenced by Dune::PDELab::PartitionInfoProvider::mergePartitionSets().

std::bitset<6> Dune::PDELab::PartitionInfoProvider::containedPartitions ( ) const
inlineinherited

Returns the internal representation of the set of contained entities.

template<typename GV, typename DI, typename CI>
bool Dune::PDELab::LocalOrderingBase< GV, DI, CI >::contains ( const GeometryType &  gt) const
inlineinherited
template<typename GV, typename DI, typename CI>
bool Dune::PDELab::LocalOrderingBase< GV, DI, CI >::contains ( typename Traits::SizeType  codim) const
inlineinherited
template<typename GV, typename DI, typename CI>
bool Dune::PDELab::LocalOrderingBase< GV, DI, CI >::contains_geometry_type ( typename Traits::SizeType  gt_index) const
inlineinherited
bool Dune::PDELab::PartitionInfoProvider::containsPartition ( PartitionType  partition) const
inlineinherited

Returns whether this ordering contains entities with PartitionType partition.

Referenced by Dune::PDELab::GridFunctionSpaceBase< GridFunctionSpace, PowerCompositeGridFunctionSpaceTraits< GV, B, O, k > >::containsPartition().

template<typename GV, typename DI, typename CI>
void Dune::PDELab::LocalOrderingBase< GV, DI, CI >::disable_container_blocking ( )
inlineprotectedinherited
template<typename GV, typename DI, typename CI>
template<typename CIOutIterator , typename DIOutIterator = DummyDOFIndexIterator>
Traits::SizeType Dune::PDELab::LocalOrderingBase< GV, DI, CI >::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
inlineinherited
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
const FEM& Dune::PDELab::LeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::finiteElementMap ( ) const
inline
template<typename GV, typename DI, typename CI>
bool Dune::PDELab::LocalOrderingBase< GV, DI, CI >::fixedSize ( ) const
inlineinherited
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
const Traits::GridView& Dune::PDELab::LeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::gridView ( ) const
inline
template<typename GV, typename DI, typename CI>
template<typename ItIn , typename ItOut >
void Dune::PDELab::LocalOrderingBase< GV, DI, CI >::map_lfs_indices ( const ItIn  begin,
const ItIn  end,
ItOut  out 
) const
inlineinherited
template<typename GV, typename DI, typename CI>
void Dune::PDELab::LocalOrderingBase< GV, DI, CI >::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
inlineinherited
template<typename GV, typename DI, typename CI>
Traits::SizeType Dune::PDELab::LocalOrderingBase< GV, DI, CI >::maxLocalSize ( ) const
inlineinherited
void Dune::PDELab::PartitionInfoProvider::mergePartitionSet ( const PartitionInfoProvider r)
inlineprotectedinherited

Adds all partitions contained in r the set of contained partitions.

Referenced by Dune::PDELab::PartitionInfoProvider::mergePartitionSets().

template<typename It >
void Dune::PDELab::PartitionInfoProvider::mergePartitionSets ( It  begin,
It  end 
)
inlineprotectedinherited

Adds the partitions from all PartitionInfoProviders in the range [begin,end).

Note
The passed-in iterators may yield both references and pointers to the PartitionInfoProviders in the range. This feature exists mostly to simplify implementation of the dynamic ordering base classes, which hold pointers to their children.

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().

template<typename GV, typename DI, typename CI>
Traits::SizeType Dune::PDELab::LocalOrderingBase< GV, DI, CI >::offset ( const typename Traits::SizeType  geometry_type_index,
const typename Traits::SizeType  entity_index,
const typename Traits::SizeType  child_index 
) const
inlineinherited
void Dune::PDELab::PartitionInfoProvider::setPartitionSet ( const std::bitset< 6 > &  partitions)
inlineprotectedinherited
void Dune::PDELab::PartitionInfoProvider::setPartitionSet ( const PartitionInfoProvider r)
inlineprotectedinherited

Copies the set of contained partitions from r.

template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
void Dune::PDELab::LeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::setup_fixed_size_possible ( )
inline
template<typename GV, typename DI, typename CI>
Traits::SizeType Dune::PDELab::LocalOrderingBase< GV, DI, CI >::size ( const typename Traits::DOFIndex::EntityIndex &  index) const
inlineinherited
template<typename GV, typename DI, typename CI>
Traits::SizeType Dune::PDELab::LocalOrderingBase< GV, DI, CI >::size ( const typename Traits::SizeType  geometry_type_index,
const typename Traits::SizeType  entity_index 
) const
inlineinherited
template<typename GV, typename DI, typename CI>
Traits::SizeType Dune::PDELab::LocalOrderingBase< GV, DI, CI >::size ( const typename Traits::SizeType  geometry_type_index,
const typename Traits::SizeType  entity_index,
const typename Traits::SizeType  child_index 
) const
inlineinherited
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
void Dune::PDELab::LeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::update_a_priori_fixed_size ( )
inline

Member Data Documentation

template<typename GV, typename DI, typename CI>
const std::size_t Dune::PDELab::LocalOrderingBase< GV, DI, CI >::_child_count
protectedinherited
template<typename GV, typename DI, typename CI>
std::vector<LocalOrderingBase*> Dune::PDELab::LocalOrderingBase< GV, DI, CI >::_children
protectedinherited
template<typename GV, typename DI, typename CI>
Traits::CodimFlag Dune::PDELab::LocalOrderingBase< GV, DI, CI >::_codim_used
protectedinherited
template<typename GV, typename DI, typename CI>
bool Dune::PDELab::LocalOrderingBase< GV, DI, CI >::_container_blocked
protectedinherited
template<typename GV, typename DI, typename CI>
std::vector<typename Traits::SizeType> Dune::PDELab::LocalOrderingBase< GV, DI, CI >::_entity_dof_offsets
protectedinherited
template<typename GV, typename DI, typename CI>
bool Dune::PDELab::LocalOrderingBase< GV, DI, CI >::_fixed_size
protectedinherited
template<typename GV, typename DI, typename CI>
bool Dune::PDELab::LocalOrderingBase< GV, DI, CI >::_fixed_size_possible
protectedinherited
template<typename GV, typename DI, typename CI>
GFSData* Dune::PDELab::LocalOrderingBase< GV, DI, CI >::_gfs_data
protectedinherited
template<typename GV, typename DI, typename CI>
std::vector<typename Traits::SizeType> Dune::PDELab::LocalOrderingBase< GV, DI, CI >::_gt_dof_offsets
protectedinherited
template<typename GV, typename DI, typename CI>
std::vector<typename Traits::SizeType> Dune::PDELab::LocalOrderingBase< GV, DI, CI >::_gt_entity_offsets
protectedinherited
template<typename GV, typename DI, typename CI>
std::vector<bool> Dune::PDELab::LocalOrderingBase< GV, DI, CI >::_gt_used
protectedinherited
template<typename GV, typename DI, typename CI>
std::size_t Dune::PDELab::LocalOrderingBase< GV, DI, CI >::_max_local_size
protectedinherited
template<typename GV, typename DI, typename CI>
const bool Dune::PDELab::LocalOrderingBase< GV, DI, CI >::consume_tree_index = true
staticinherited
template<typename GV, typename DI, typename CI>
const bool Dune::PDELab::LocalOrderingBase< GV, DI, CI >::has_dynamic_ordering_children = true
staticinherited

The documentation for this class was generated from the following file: