![]() |
Shamrock 2025.10.0
Astrophysical Code
|
utility for generating Cubic crystal lattices More...
#include <shammath/include/shammath/crystalLattice.hpp>
Classes | |
| class | IteratorDiscontinuous |
| Iterator utility to generate the lattice. More... | |
Public Types | |
| using | Tscal = shambase::VecComponent< Tvec > |
Static Public Member Functions | |
| static constexpr Tvec | generator (Tscal dr, std::array< i32, dim > coord) noexcept |
| generate a Cubic lattice centered on (0,0,0) | |
| static constexpr std::pair< std::array< i32, dim >, std::array< i32, dim > > | get_box_index_bounds (Tscal dr, Tvec box_min, Tvec box_max) |
Static Public Attributes | |
| static constexpr u32 | dim = 3 |
utility for generating Cubic crystal lattices
| Tvec | position vector type |
Definition at line 394 of file crystalLattice.hpp.
| using shammath::LatticeCubic< Tvec >::Tscal = shambase::VecComponent<Tvec> |
Definition at line 401 of file crystalLattice.hpp.
|
inlinestaticconstexprnoexcept |
generate a Cubic lattice centered on (0,0,0)
| dr | |
| coord |
Definition at line 410 of file crystalLattice.hpp.
|
inlinestaticconstexpr |
Definition at line 422 of file crystalLattice.hpp.
|
staticconstexpr |
Definition at line 396 of file crystalLattice.hpp.