KASKADE 7 development version
Namespaces | Functions
forEach.hh File Reference
#include <algorithm>
#include "fem/gridcombinatorics.hh"

Go to the source code of this file.

Namespaces

namespace  Kaskade
 
 

Functions

template<class GridView , class Functor >
void Kaskade::forEachCell (GridView const &gridView, Functor functor)
 DEPRECATED: use range based for loops and Dune::elements() directly. iterates over each cell and applies functor to cell. Each cell is visited exactly once. More...
 
template<class GridView , class Functor >
void Kaskade::forEachVertex (GridView const &gridView, Functor functor)
 DEPRECATED: use range based for loops and Dune::vertices() directly. iterates over each vertex and applies functor to vertex. Each vertex is visited exactly once. More...
 
template<class GridView , class Functor >
void Kaskade::forEachFace (GridView const &gridView, Functor functor)
 
template<class GridView , class Functor >
void Kaskade::forEachFaceOfCell (GridView const &gridView, Functor functor)
 same as forEachFace, but the functor is applied to the face and the cell from which the face is visited More...
 
template<class GridView , class Functor >
void Kaskade::forEachBoundaryFace (GridView const &gridView, Functor functor)
 iterates over each boundary face and applies functor to face. Each boundary face is visited exactly once. More...
 
template<class GridView , class Functor >
void Kaskade::forEachInnerFace (GridView const &gridView, Functor functor)
 iterates over each inner face and applies functor to face. Each inner face is visited exactly twice (and so functor is applied twice). More...
 
template<class GridView , class Functor >
void Kaskade::forEachCellAndEachFace (GridView const &gridView, Functor functor)
 iterates over each cell and applies functor to cell and then iterates over each face of cell and applies functor to face More...
 
template<class GridManager , class Functor >
void Kaskade::markCells (GridManager &gridManager, Functor functor)