|
Celeritas 0.7.0-dev.228+develop.9905a715
|
#include "corecel/Types.hh"#include "corecel/random/data/DistributionData.hh"#include "DistributionTypeTraits.hh"Classes | |
| class | celeritas::DistributionVisitor |
| Expand a macro to a switch statement over all possible distribution types. More... | |
Macros | |
| #define | CELER_DISTRIB_CASE(ENUM, FIELD) |
| #define | CELER_DISTRIB_CASE(ENUM, FIELD) |
Functions | |
| template<class Visitor , class Dist , class Engine > | |
| CELER_FUNCTION decltype(auto) | celeritas::sample_with (Visitor &&visit, Dist &&dist, Engine &rng) |
| Helper function for sampling from a distribution. | |
| #define CELER_DISTRIB_CASE | ( | ENUM, | |
| FIELD | |||
| ) |
| #define CELER_DISTRIB_CASE | ( | ENUM, | |
| FIELD | |||
| ) |