4 #ifndef DUNE_PDELAB_COMMON_RANGE_HH 5 #define DUNE_PDELAB_COMMON_RANGE_HH 22 std::vector<T>
rangeVector(T begin, T passed_the_end, T increment = 1) {
24 tmp.reserve((passed_the_end-begin)/increment);
25 for(T i = begin; i < passed_the_end; i+=increment)
41 #endif // DUNE_PDELAB_COMMON_RANGE_HH std::vector< T > rangeVector(T begin, T passed_the_end, T increment=1)
Generate a vector with a range of numbers.
Definition: range.hh:22
For backward compatibility – Do not use this!
Definition: adaptivity.hh:27