Skip to main content

Module tally

Module tally 

Source
Expand description

What the BCA engine reports, and a small built-in summary tally.

The engine calls the BcaTally hooks as events happen. Every hook has a no-op default, so a tally implements only what it needs; the depth, lateral and damage tallies of a later milestone plug in here without any change to the engine. Tallies are merged in chunk order by crate::rng::run_particles, so a tally whose merge is a plain sum is bit-identical at any thread count.

Re-exports§

pub use crate::geometry::Face;

Structs§

EnergyBudget
Energy bookkeeping for one primary history, eV.
SummaryTally
A minimal summary: counts, energy sums and a depth histogram of where primaries stop. Enough to test the engine; the full tallies come later.

Enums§

ElectronicChannel
Electronic energy-loss channel.
LatticeDeposit
Where an amount of nuclear energy given to the lattice came from.

Traits§

BcaTally
Event hooks called by the engine. All default to no-ops except merge.