![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Iterator going through a lattice coordinates range in a discontinuous order (bit-reversed, see advance_it in DiscontinuousIterator.hpp). More...
#include <shammath/include/shammath/crystalLattice.hpp>
Public Member Functions | |
| LatticeIteratorDiscontinuous (Tscal dr, std::array< i32, dim > coord_min, std::array< i32, dim > coord_max) | |
| bool | is_done () |
| Tvec | next () |
| std::vector< Tvec > | next_n (u64 nmax) |
| void | skip (u64 n) |
Public Attributes | |
| size_t | current_idx |
Iterator going through a lattice coordinates range in a discontinuous order (bit-reversed, see advance_it in DiscontinuousIterator.hpp).
| Tvec | position vector type |
| Lattice | lattice class providing a static generator(dr, coord) function |
Definition at line 150 of file crystalLattice.hpp.
|
inline |
Definition at line 165 of file crystalLattice.hpp.
|
inline |
Definition at line 190 of file crystalLattice.hpp.
|
inline |
Definition at line 192 of file crystalLattice.hpp.
|
inline |
Definition at line 222 of file crystalLattice.hpp.
|
inline |
Definition at line 234 of file crystalLattice.hpp.
| size_t shammath::iterator_utils::LatticeIteratorDiscontinuous< Tvec, Lattice >::current_idx |
Definition at line 164 of file crystalLattice.hpp.