KASKADE 7 development version
Loading...
Searching...
No Matches
PartialIndexSet< Grid, IndexSet, Part > Class Template Reference

#include <partialindexset.hh>

Classes

struct  Codim

Public Member Functions

 PartialIndexSet (GridSignals &signals, IndexSet const &indexSet_, Part const &part_)
template<int cc>
int index (typename Grid::Traits::template Codim< cc >::Entity const &e) const
template<class EntityType>
int index (const EntityType &e) const
template<int cc>
int subIndex (Cell const &e, int i) const
const std::vector< Dune::GeometryType > & geomTypes (int codim) const
int size (Dune::GeometryType type) const
int size (int codim) const
template<class EntityType>
bool contains (const EntityType &e) const
template<int cd, Dune::PartitionIteratorType pitype>
Codim< cd >::template Partition< pitype >::Iterator begin () const
template<int cd, Dune::PartitionIteratorType pitype>
Codim< cd >::template Partition< pitype >::Iterator end () const

Detailed Description

template<class Grid, class IndexSet, class Part>
class PartialIndexSet< Grid, IndexSet, Part >
Todo
recompute internal representation whenever grid changes.

Part has to provide a method bool contains(typename Grid::Traits::template Codim<0>::Entity const&) const;

Definition at line 34 of file partialindexset.hh.

Constructor & Destructor Documentation

◆ PartialIndexSet()

template<class Grid, class IndexSet, class Part>
PartialIndexSet< Grid, IndexSet, Part >::PartialIndexSet ( GridSignals & signals,
IndexSet const & indexSet_,
Part const & part_ )
inline

Definition at line 89 of file partialindexset.hh.

Member Function Documentation

◆ begin()

template<class Grid, class IndexSet, class Part>
template<int cd, Dune::PartitionIteratorType pitype>
Codim< cd >::template Partition< pitype >::Iterator PartialIndexSet< Grid, IndexSet, Part >::begin ( ) const
inline

Definition at line 159 of file partialindexset.hh.

Referenced by begin(), and PartialIndexSet().

◆ contains()

template<class Grid, class IndexSet, class Part>
template<class EntityType>
bool PartialIndexSet< Grid, IndexSet, Part >::contains ( const EntityType & e) const
inline

Definition at line 153 of file partialindexset.hh.

◆ end()

template<class Grid, class IndexSet, class Part>
template<int cd, Dune::PartitionIteratorType pitype>
Codim< cd >::template Partition< pitype >::Iterator PartialIndexSet< Grid, IndexSet, Part >::end ( ) const
inline

Definition at line 167 of file partialindexset.hh.

Referenced by begin(), end(), and PartialIndexSet().

◆ geomTypes()

template<class Grid, class IndexSet, class Part>
const std::vector< Dune::GeometryType > & PartialIndexSet< Grid, IndexSet, Part >::geomTypes ( int codim) const
inline

Definition at line 131 of file partialindexset.hh.

◆ index() [1/2]

template<class Grid, class IndexSet, class Part>
template<class EntityType>
int PartialIndexSet< Grid, IndexSet, Part >::index ( const EntityType & e) const
inline

Definition at line 113 of file partialindexset.hh.

◆ index() [2/2]

template<class Grid, class IndexSet, class Part>
template<int cc>
int PartialIndexSet< Grid, IndexSet, Part >::index ( typename Grid::Traits::template Codim< cc >::Entity const & e) const
inline

Definition at line 105 of file partialindexset.hh.

Referenced by contains(), and index().

◆ size() [1/2]

template<class Grid, class IndexSet, class Part>
int PartialIndexSet< Grid, IndexSet, Part >::size ( Dune::GeometryType type) const
inline

Definition at line 136 of file partialindexset.hh.

◆ size() [2/2]

template<class Grid, class IndexSet, class Part>
int PartialIndexSet< Grid, IndexSet, Part >::size ( int codim) const
inline

Definition at line 143 of file partialindexset.hh.

◆ subIndex()

template<class Grid, class IndexSet, class Part>
template<int cc>
int PartialIndexSet< Grid, IndexSet, Part >::subIndex ( Cell const & e,
int i ) const
inline

Definition at line 119 of file partialindexset.hh.

Referenced by subIndex().


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