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

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

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

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
 
 DirectLeafLocalOrdering (const shared_ptr< const FEM > &fem, const GV &gv)
 
const Traits::GridViewgridView () const
 
const FEM & finiteElementMap () 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...
 

Protected Member Functions

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

shared_ptr< const FEM > _fem
 
FESwitch::Store _fe_store
 
GV _gv
 
bool _fixed_size
 
bool _fixed_size_possible
 
Traits::SizeType _max_local_size
 
const bool _container_blocked
 
Traits::CodimFlag _codim_used
 
Traits::CodimFlag _codim_fixed_size
 
std::vector< bool > _gt_used
 
std::vector< typename
Traits::SizeType
_gt_entity_offsets
 
std::vector< typename
Traits::SizeType
_gt_dof_sizes
 
std::vector< typename
Traits::SizeType
_entity_dof_offsets
 
std::vector< typename
Traits::SizeType
_local_gt_dof_sizes
 
GFSData * _gfs_data
 

Friends

template<typename >
class LeafGridViewOrdering
 
template<typename >
class LeafOrderingBase
 
template<typename size_type >
struct ::Dune::PDELab::impl::update_ordering_data
 

Member Typedef Documentation

template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
typedef LocalOrderingTraits<GV,DI,CI> Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::Traits

Constructor & Destructor Documentation

template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::DirectLeafLocalOrdering ( const shared_ptr< const FEM > &  fem,
const GV &  gv 
)
inline

Member Function Documentation

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.

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 OrderingTag , typename FEM , typename GV , typename DI , typename CI >
template<typename CIOutIterator , typename DIOutIterator = DummyDOFIndexIterator>
Traits::SizeType Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, 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
inline
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
const FEM& Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::finiteElementMap ( ) const
inline
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
const Traits::GridView& Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::gridView ( ) const
inline
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
template<typename ItIn , typename ItOut >
void Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::map_lfs_indices ( const ItIn  begin,
const ItIn  end,
ItOut  out 
) const
inline
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
void Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, 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
inline
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< 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().

template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
Traits::SizeType Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::offset ( const typename Traits::SizeType  geometry_type_index,
const typename Traits::SizeType  entity_index,
const typename Traits::SizeType  child_index 
) const
inline
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 >
Traits::SizeType Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::size ( const typename Traits::DOFIndex::EntityIndex &  index) const
inline
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
Traits::SizeType Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::size ( const typename Traits::SizeType  geometry_type_index,
const typename Traits::SizeType  entity_index 
) const
inline
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
Traits::SizeType Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::size ( const typename Traits::SizeType  geometry_type_index,
const typename Traits::SizeType  entity_index,
const typename Traits::SizeType  child_index 
) const
inline

Friends And Related Function Documentation

template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
template<typename size_type >
friend struct ::Dune::PDELab::impl::update_ordering_data
friend
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
template<typename >
friend class LeafGridViewOrdering
friend
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
template<typename >
friend class LeafOrderingBase
friend

Member Data Documentation

template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
Traits::CodimFlag Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_codim_fixed_size
protected
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
Traits::CodimFlag Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_codim_used
protected
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
const bool Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_container_blocked
protected
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
std::vector<typename Traits::SizeType> Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_entity_dof_offsets
protected
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
FESwitch::Store Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_fe_store
protected
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
shared_ptr<const FEM> Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_fem
protected
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
bool Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_fixed_size
protected
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
bool Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_fixed_size_possible
protected
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
GFSData* Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_gfs_data
protected
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
std::vector<typename Traits::SizeType> Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_gt_dof_sizes
protected
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
std::vector<typename Traits::SizeType> Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_gt_entity_offsets
protected
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
std::vector<bool> Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_gt_used
protected
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
GV Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_gv
protected
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
std::vector<typename Traits::SizeType> Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_local_gt_dof_sizes
protected
template<typename OrderingTag , typename FEM , typename GV , typename DI , typename CI >
Traits::SizeType Dune::PDELab::DirectLeafLocalOrdering< OrderingTag, FEM, GV, DI, CI >::_max_local_size
protected

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