General-purpose Monte Carlo unit to carry out simulations.
More...
#include <unit.hpp>
General-purpose Monte Carlo unit to carry out simulations.
The MonteCarloUnit struct encapsulates the components necessary for running Monte Carlo simulations. The MonteCarloUnit is non-copyable but movable, ensuring that only one instance manages its resources at any time.
◆ MonteCarloUnit() [1/3]
◆ MonteCarloUnit() [2/3]
Allow moving of the MonteCarloUn.
◆ MonteCarloUnit() [3/3]
| MC::MonteCarloUnit::MonteCarloUnit |
( |
| ) |
|
|
default |
◆ ~MonteCarloUnit()
| MC::MonteCarloUnit::~MonteCarloUnit |
( |
| ) |
|
|
default |
◆ getRepartition()
| std::vector< uint64_t > MC::MonteCarloUnit::getRepartition |
( |
| ) |
const |
|
nodiscard |
◆ n_particle()
| uint64_t MC::MonteCarloUnit::n_particle |
( |
| ) |
const |
|
nodiscard |
◆ operator=() [1/2]
◆ operator=() [2/2]
Allow moving of the MonteCarloUn.
◆ serialize()
template<class Archive>
| void MC::MonteCarloUnit::serialize |
( |
Archive & | ar | ) |
|
|
inline |
◆ container
| AutoGenerated::ContainerVariant MC::MonteCarloUnit::container |
◆ domain
Represents the domain within which the simulation occurs.
◆ events
Container to manage and store simulation events.
◆ init_weight
| double MC::MonteCarloUnit::init_weight {} |
Initial weight or factor used in the simulation.
◆ rng
Random number generator used for Monte Carlo methods.
The documentation for this struct was generated from the following files:
- apps/libs/mc/public/mc/unit.hpp
- apps/libs/mc/src/unit.cpp