Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
globalintersectioniterator.hh File Reference

Go to the source code of this file.

Classes

struct  ReturnReferenceHelper< IntersectionIterator, returnsReference >
 Helper struct that statically either dereferences the iterator, if it returns a reference, or otherwise return the 'member' intersection. More...
 
struct  ReturnReferenceHelper< IntersectionIterator, true >
 
class  GlobalIntersectionIterator< GridView, Impl >
 Base class for iterators on intersections of a grid view. More...
 

Functions

template<class IntersectionIterator , bool returnsReference>
static const IntersectionIterator::Intersection & returnReference (IntersectionIterator *nIt, const typename IntersectionIterator::Intersection &intersection)
 Statically either dereferences the iterator, if it returns a reference, or otherwise return the 'member' intersection.
 

Detailed Description

Deprecated:
This header is deprecated and will be removed after 2.11. Use domains/intersectionsetiterator.hh instead.

Function Documentation

◆ returnReference()

template<class IntersectionIterator , bool returnsReference>
static const IntersectionIterator::Intersection & returnReference ( IntersectionIterator *  nIt,
const typename IntersectionIterator::Intersection &  intersection 
)
static

Statically either dereferences the iterator, if it returns a reference, or otherwise return the 'member' intersection.

Deprecated:
This utility function is deprecated and will be removed after 2.11.