#include <cell_list_3d.hpp>
|
| | CellList3D (Scalar cell_size, Scalar xmin, Scalar xmax, Scalar ymin, Scalar ymax, Scalar zmin, Scalar zmax) |
| |
| template<typename PosAccessor > |
| void | build (PosAccessor &&get_pos, int n) |
| | Rebuild by counting-sort over cell ids.
|
| |
| template<typename F > |
| void | query (Scalar px, Scalar py, Scalar pz, F &&f) const |
| | Call f(j) for candidate particles near (px, py, pz).
|
| |
| template<typename F > |
| void | iterate_pairs (F &&f) const |
| | Visit each candidate pair once.
|
| |
| int | nx () const noexcept |
| |
| int | ny () const noexcept |
| |
| int | nz () const noexcept |
| |
| int | n_particles () const noexcept |
| |
template<typename Scalar>
class num::CellList3D< Scalar >
Definition at line 14 of file cell_list_3d.hpp.
◆ CellList3D()
template<typename Scalar >
| num::CellList3D< Scalar >::CellList3D |
( |
Scalar |
cell_size, |
|
|
Scalar |
xmin, |
|
|
Scalar |
xmax, |
|
|
Scalar |
ymin, |
|
|
Scalar |
ymax, |
|
|
Scalar |
zmin, |
|
|
Scalar |
zmax |
|
) |
| |
|
inline |
◆ build()
template<typename Scalar >
template<typename PosAccessor >
◆ iterate_pairs()
template<typename Scalar >
template<typename F >
◆ n_particles()
template<typename Scalar >
◆ nx()
template<typename Scalar >
◆ ny()
template<typename Scalar >
◆ nz()
template<typename Scalar >
◆ query()
template<typename Scalar >
template<typename F >
| void num::CellList3D< Scalar >::query |
( |
Scalar |
px, |
|
|
Scalar |
py, |
|
|
Scalar |
pz, |
|
|
F && |
f |
|
) |
| const |
|
inline |
Call f(j) for candidate particles near (px, py, pz).
Definition at line 59 of file cell_list_3d.hpp.
The documentation for this class was generated from the following file: