Dune::GridPartInterface< GridPartTraits > Class Template Reference
[Grid Parts]
#include <gridpart.hh>
Inheritance diagram for Dune::GridPartInterface< GridPartTraits >:

Detailed Description
template<class GridPartTraits>
class Dune::GridPartInterface< GridPartTraits >
Interface for the GridPart classes A GridPart class allows to access only a specific subset of a grid's entities. A GridPart implementation provides the corresponding index set and a begin/end iterator pair for accessing those entities, the corresponding intersection iterators and a appropriate communication method. GridParts are used to parametrize spaces (see DiscreteFunctionSpaceDefault [in dune-fem]).
Public Types | |
enum | |
is true if grid on this view only has conforming intersections | |
typedef GridPartTraits::GridPartType | GridPartType |
Type of the implementation. | |
typedef GridPartTraits::GridType | GridType |
type of Grid implementation | |
typedef GridPartTraits::IndexSetType | IndexSetType |
Index set implementation. | |
typedef GridPartTraits::IntersectionIteratorType | IntersectionIteratorType |
type of IntersectionIterator | |
typedef GridType::template Codim< 0 >::Entity | EntityCodim0Type |
type of Entity with codim=0 | |
Public Member Functions | |
const GridType & | grid () const |
Returns const reference to the underlying grid. | |
GridType & | grid () |
Returns reference to the underlying grid. | |
const IndexSetType & | indexSet () const |
Returns reference to index set of the underlying grid. | |
template<int cd> | |
GridPartTraits::template Codim< cd >::IteratorType | begin () const |
Returns first iterator of the subset of the entities of codimension cd specified by this class. | |
template<int cd> | |
GridPartTraits::template Codim< cd >::IteratorType | end () const |
Returns end iterator of the subset of the entities of codimension cd specified by this class. | |
int | level () const |
Level of the grid part. | |
IntersectionIteratorType | ibegin (const EntityCodim0Type &en) const |
ibegin of corresponding intersection iterator for given entity | |
IntersectionIteratorType | iend (const EntityCodim0Type &en) const |
iend of corresponding intersection iterator for given entity | |
template<class DataHandleImp, class DataType> | |
void | communicate (CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir) const |
corresponding communication method for grid part | |
Protected Member Functions | |
GridPartInterface () | |
do not create explicit instances of this class |
The documentation for this class was generated from the following file: