Namespaces | |
| namespace | cfg |
| namespace | sphericart_ylm |
| namespace | steinhardt |
Functions | |
| void | BatchPeriodicDistSq (const double *dx, const double *dy, const double *dz, double bx, double by, double bz, double *out, size_t n) |
| void | BatchPeriodicDistSq (std::span< const double > dx, std::span< const double > dy, std::span< const double > dz, double bx, double by, double bz, std::span< double > out) |
| Squared minimum-image distances for a batch of coordinate differences, with the extents carried alongside the data. | |
|
inline |
Definition at line 88 of file simd_distance.hpp.
|
inline |
Squared minimum-image distances for a batch of coordinate differences, with the extents carried alongside the data.
The ranges must agree in length; the shortest one bounds the work, so a mismatched call computes fewer results rather than running off the end of an array. This overload forwards to whichever kernel the build selected.
| [in] | dx,dy,dz | Coordinate differences. |
| [in] | bx,by,bz | Periodic box dimensions. |
| [out] | out | Squared distances. |
Definition at line 121 of file simd_distance.hpp.