|
Celeritas 0.7+cc8801873
|
Set up per-process state/buffer capacities for the optical tracking loop. More...
#include <Control.hh>

Public Attributes | |
| std::optional< size_type > | generators {} |
| Maximum number of queued photon-generating steps. | |
Public Attributes inherited from celeritas::inp::StateCapacity | |
| std::optional< size_type > | primaries {} |
| Maximum number of primaries that can be buffered before stepping. | |
| std::optional< size_type > | tracks {} |
| Maximum number of track slots to be simultaneously stepped. | |
Static Public Attributes | |
| static constexpr size_type | cpu_tracks = 4096 |
| Default values. | |
| static constexpr size_type | gpu_tracks = 1048576 |
| static constexpr size_type | primaries_per_track = 128 |
| static constexpr size_type | generators_per_track = 2 |
Set up per-process state/buffer capacities for the optical tracking loop.
generators was previously named buffer_capacity. It is required for the offload and direct generators but not the primary generator.Defaults:
tracks: 2^20 on GPU, 2^12 on CPUprimaries: 128 times the number of track slotsgenerators: 2 times the number of track slots