ug4
element_visitor_util.h File Reference
#include <vector>
#include "grid/grid.h"
#include "common/util/metaprogramming_util.h"

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

template<class TIter >
void ug::VisitAll (const TIter begin, const TIter end, boost::function< void(typename TIter::value_type)> visitorCallback)
 Visits all elements between begin and end and executes the visitorCallback on them. More...
 
template<class TIter >
void ug::VisitAreaBoundary (Grid &g, const TIter begin, const TIter end, boost::function< bool(typename TIter::value_type)> cbBelongsToArea, boost::function< void(typename Pointer2Value< typename TIter::value_type >::type::side)> cbVisitSide)
 Visits all boundary elements of the area specified through the iterators. More...