Template Class Grid

Nested Relationships

Nested Types

Class Documentation

template<int dim>
class Grid

Public Functions

inline Grid(Index<dim> min_index, Index<dim> max_index)
inline Iterator begin() const
inline Iterator end() const
class Iterator

Public Types

using difference_type = std::ptrdiff_t
using value_type = Index<dim>
using pointer = Index<dim>*
using reference = Index<dim>&
using iterator_category = std::forward_iterator_tag

Public Functions

inline explicit Iterator(const Grid &grid)
inline Iterator(const Grid &grid, bool end)
inline const Index<dim> &operator*() const
inline Iterator &operator++()
inline Iterator operator++(int)

Friends

inline friend bool operator==(const Iterator &lhs, const Iterator &rhs)
inline friend bool operator!=(const Iterator &lhs, const Iterator &rhs)