|
minimc 0.5.1
|
Partitions all phase space into distinct bins. More...
#include <Bins.hpp>
Public Member Functions | |
| ParticleBins (const pugi::xml_node &bins_node) noexcept | |
Constructs a ParticleBins from a bins node of an XML document. | |
| size_t | size () const noexcept |
| Total number of bins used. | |
| size_t | GetIndex (const Particle &p) const noexcept |
| Maps a point in phase space \( X
\) to an index in \( \mathbb{Z}_{\geq 0} \). | |
| std::string | to_string () const noexcept |
| Returns a string suitable for printing. | |
Partitions all phase space into distinct bins.