24#ifndef DUMUX_INTEGER_RANGE_HH
25#define DUMUX_INTEGER_RANGE_HH
27#warning "This header is deprecated. Use Dune::IntegralRange instead."
40class [[deprecated("Use
Dune::IntegralRange instead. Will be removed after 3.1!")]]
45 IntRange(
int end): last_(end), iter_(0) { assert(end > 0); }
46 IntRange(
int begin,
int end): last_(end), iter_(begin) { assert(end > begin); }
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Definition: common/properties/model.hh:34
This class generates a IntRange [a,b) which can be used in a for loop, e.g. for(auto i : IntRange(3) ...
Definition: intrange.hh:42
const IntRange & end() const
Definition: intrange.hh:51
void operator++()
Definition: intrange.hh:55
const IntRange & begin() const
Definition: intrange.hh:50
IntRange(int end)
Definition: intrange.hh:45
bool operator!=(const IntRange &) const
Definition: intrange.hh:54
int operator*() const
Definition: intrange.hh:56
IntRange(int begin, int end)
Definition: intrange.hh:46