From e4f82bc9c39a2edd3ea385a022d6d0a7c55ef87f Mon Sep 17 00:00:00 2001 From: Joel Adams Date: Wed, 5 Nov 2025 12:04:28 +0000 Subject: [PATCH] Add missing photon_sample_fraction parameter to QED block Co-authored-by: NSmith-99 --- content/documentation/input_deck/Input_deck_qed.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/documentation/input_deck/Input_deck_qed.md b/content/documentation/input_deck/Input_deck_qed.md index 4d42905..ddff81a 100644 --- a/content/documentation/input_deck/Input_deck_qed.md +++ b/content/documentation/input_deck/Input_deck_qed.md @@ -39,6 +39,12 @@ the emitted photons are not tracked. The default is "F". Radiation reaction is calculated for photons of all energies, but photons with energy below this cutoff are not tracked. The default is 0. +- `photon_sample_fraction` - Downscales photon production by only +producing photons during emissions events at the given rate while +increasing the weight of emitted photons by a factor of the reciprocal +of the fraction in order to preserve total real photons. This needs to be +a number in the range of 0 to 1. The default is 1. + - `photon_dynamics` - Logical flag which specifies whether to push photons. If "F" then photons are generated, but their motion through the domain is not simulated and they stay where they were