libMesh
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
int_range.h File Reference

Go to the source code of this file.

Classes

class  libMesh::IntRange< T >
 The IntRange templated class is intended to make it easy to loop over integers which are indices of a container. More...
 
class  libMesh::IntRange< T >::iterator
 

Namespaces

namespace  libMesh
 The libMesh namespace provides an interface to certain functionality in the library.
 

Functions

template<typename T , typename T2 >
IntRange< T >::iterator libMesh::operator+ (T2 n, typename IntRange< T >::iterator i)
 
template<typename T >
auto libMesh::index_range (const T &sizable)
 Helper function that returns an IntRange<std::size_t> representing all the indices of the passed-in vector-like object (i.e.
 
template<typename T >
IntRange< numeric_index_typelibMesh::index_range (const NumericVector< T > &vec)
 Same thing but for NumericVector.
 
template<typename T >
IntRange< T > libMesh::make_range (T beg, T end)
 The 2-parameter make_range() helper function returns an IntRange<T> when both input parameters are of type T.
 
template<typename T >
IntRange< T > libMesh::make_range (T end)
 The 1-parameter version of make_range() saves even more typing in the common case of a 0 starting point.