Celeritas 0.7+cc8801873
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
celeritas::inp::OpticalStateCapacity Struct Reference

Set up per-process state/buffer capacities for the optical tracking loop. More...

#include <Control.hh>

Inheritance diagram for celeritas::inp::OpticalStateCapacity:
Inheritance graph
[legend]

Public Attributes

std::optional< size_typegenerators {}
 Maximum number of queued photon-generating steps.
 
- Public Attributes inherited from celeritas::inp::StateCapacity
std::optional< size_typeprimaries {}
 Maximum number of primaries that can be buffered before stepping.
 
std::optional< size_typetracks {}
 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
 

Detailed Description

Set up per-process state/buffer capacities for the optical tracking loop.

Note
generators was previously named buffer_capacity. It is required for the offload and direct generators but not the primary generator.

Defaults:


The documentation for this struct was generated from the following file: