![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Iterator going through a lattice coordinates range in order. More...
#include <shammath/include/shammath/crystalLattice.hpp>
Public Member Functions | |
| LatticeIterator (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) |
Iterator going through a lattice coordinates range in order.
| Tvec | position vector type |
| Lattice | lattice class providing a static generator(dr, coord) function |
Definition at line 56 of file crystalLattice.hpp.
|
inline |
Definition at line 70 of file crystalLattice.hpp.
|
inline |
Definition at line 89 of file crystalLattice.hpp.
|
inline |
Definition at line 91 of file crystalLattice.hpp.
|
inline |
Definition at line 119 of file crystalLattice.hpp.
|
inline |
Definition at line 131 of file crystalLattice.hpp.