Go to the documentation of this file.
20 #ifndef LIBMESH_INT_RANGE_H
21 #define LIBMESH_INT_RANGE_H
23 #include "libmesh/libmesh_common.h"
32 template <
typename T>
class DenseSubVector;
33 template <
typename T>
class DenseVector;
34 template <
typename T>
class NumericVector;
74 return (
_i == j.
_i );
85 template <
typename U,
typename V>
105 template <
typename T>
115 template <
typename T>
118 return {0, vec.
size()};
125 template <
typename T>
128 return {0, vec.
size()};
136 template <
typename T>
144 #endif // LIBMESH_INT_RANGE_H
virtual numeric_index_type last_local_index() const =0
IntRange< std::size_t > index_range(const std::vector< T > &vec)
Helper function that returns an IntRange<std::size_t> representing all the indices of the passed-in v...
The libMesh namespace provides an interface to certain functionality in the library.
const iterator & operator++()
bool operator==(const iterator &j) const
Provides a uniform interface to vector storage schemes for different linear algebra libraries.
The IntRange templated class is intended to make it easy to loop over integers which are indices of a...
virtual unsigned int size() const override
Tnew cast_int(Told oldvar)
virtual unsigned int size() const override
Defines a dense subvector for use in finite element computations.
bool operator!=(const iterator &j) const
Defines a dense vector for use in Finite Element-type computations.
virtual numeric_index_type first_local_index() const =0