Iterator over a box. More...
#include <BoxMesh.h>
Public Types | |
| using | difference_type = ptrdiff_t |
| using | iterator_category = std::random_access_iterator_tag |
| using | pointer = const MeshElementIndex * |
| using | reference = const MeshElementIndex & |
| using | value_type = MeshElementIndex |
Public Member Functions | |
| MeshElementIndexIterator | begin () const |
| bool | empty () const |
| MeshElementIndexIterator | end () const |
| const auto & | first () const |
| const auto & | last () const |
| MeshElementIndexIterator ()=default | |
| MeshElementIndexIterator (const MeshElementIndex &first, const MeshElementIndex &last, const AMP::Mesh::BoxMesh *mesh, size_t pos=0) | |
| bool | operator!= (const MeshElementIndexIterator &rhs) const |
| MeshElementIndex | operator* () const |
| MeshElementIndexIterator & | operator++ () |
| MeshElementIndexIterator & | operator+= (const MeshElementIndexIterator &it) |
| MeshElementIndexIterator & | operator+= (int N) |
| MeshElementIndexIterator & | operator-- () |
| bool | operator== (const MeshElementIndexIterator &rhs) const |
| MeshElementIndexIterator & | operator[] (int) |
| size_t | position () const |
| void | set (uint32_t i) |
| size_t | size () const |
Private Attributes | |
| bool | d_checkBoundary = false |
| MeshElementIndex | d_first |
| std::array< int, 3 > | d_globalSize = { 0, 0, 0 } |
| std::array< bool, 3 > | d_isPeriodic = { false, false, false } |
| MeshElementIndex | d_last |
| uint32_t | d_pos = { 0 } |
| uint32_t | d_size = { 0 } |
Iterator over a box.
This class will iterator over a MeshElementIndex box
| using AMP::Mesh::BoxMesh::MeshElementIndexIterator::difference_type = ptrdiff_t |
| using AMP::Mesh::BoxMesh::MeshElementIndexIterator::iterator_category = std::random_access_iterator_tag |
|
default |
| AMP::Mesh::BoxMesh::MeshElementIndexIterator::MeshElementIndexIterator | ( | const MeshElementIndex & | first, |
| const MeshElementIndex & | last, | ||
| const AMP::Mesh::BoxMesh * | mesh, | ||
| size_t | pos = 0 |
||
| ) |
| MeshElementIndexIterator AMP::Mesh::BoxMesh::MeshElementIndexIterator::begin | ( | ) | const |
|
inline |
| MeshElementIndexIterator AMP::Mesh::BoxMesh::MeshElementIndexIterator::end | ( | ) | const |
|
inline |
|
inline |
| bool AMP::Mesh::BoxMesh::MeshElementIndexIterator::operator!= | ( | const MeshElementIndexIterator & | rhs | ) | const |
| MeshElementIndex AMP::Mesh::BoxMesh::MeshElementIndexIterator::operator* | ( | ) | const |
| MeshElementIndexIterator & AMP::Mesh::BoxMesh::MeshElementIndexIterator::operator++ | ( | ) |
| MeshElementIndexIterator & AMP::Mesh::BoxMesh::MeshElementIndexIterator::operator+= | ( | const MeshElementIndexIterator & | it | ) |
| MeshElementIndexIterator & AMP::Mesh::BoxMesh::MeshElementIndexIterator::operator+= | ( | int | N | ) |
| MeshElementIndexIterator & AMP::Mesh::BoxMesh::MeshElementIndexIterator::operator-- | ( | ) |
| bool AMP::Mesh::BoxMesh::MeshElementIndexIterator::operator== | ( | const MeshElementIndexIterator & | rhs | ) | const |
| MeshElementIndexIterator & AMP::Mesh::BoxMesh::MeshElementIndexIterator::operator[] | ( | int | ) |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 194 of file BoxMesh.h.
Referenced by position(), and set().
|
private |
|
Advanced Multi-Physics (AMP) Oak Ridge National Laboratory Idaho National Laboratory Los Alamos National Laboratory |
This page automatically produced from the source code by Last updated: Tue Mar 10 2026 13:06:43. Comments on this page |