Expand description
Walker/Vose alias-table source sampling.
AliasTable implements Walker’s method with Vose’s construction
(Wuttke 2013), including the reverted small/large index ordering and the
prob == 1 drain for numerically degenerate leftovers.
MeshSourceSampler applies it to MeshTallyData: ANALOG samples the
(volume-weighted) tally totals, UNIFORM samples space uniformly, and USER
consumes an external density array. Only voxel-level sampling is provided;
subvoxel/cell-fraction modes are out of scope.
Structs§
- Alias
Table - Walker/Vose alias table over a discrete PDF.
- Mesh
Source Sampler - Mesh source sampler over
MeshTallyDataenergy-integrated totals. - Sampled
Voxel - One sampled particle birth site (voxel resolution).
Enums§
- Mode
- Source-sampling bias mode (values 0–2 at voxel level).