pub fn direct_dose<G: Geometry>(
transport: &Transport<G>,
primary: &Primary,
shots: &[Shot],
global_blur_m: f64,
grid: &Grid,
cfg: &DirectConfig,
) -> Result<DirectDose, ExposureError>Expand description
The energy density of shots on grid by electron transport; see the
module docs (“Direct Monte Carlo exposure”) for the model, frame and
error. global_blur_m is the exposure’s beam blur b.