openmc.Trigger¶
- class openmc.Trigger(trigger_type: str, threshold: float)[source]¶
A criterion for when to finish a simulation based on tally uncertainties.
- Parameters
trigger_type ({'variance', 'std_dev', 'rel_err'}) – Determine whether to trigger on the variance, standard deviation, or relative error of scores.
threshold (float) – The threshold for the trigger type.
- Variables
trigger_type ({'variance', 'std_dev', 'rel_err'}) – Determine whether to trigger on the variance, standard deviation, or relative error of scores.
threshold (float) – The threshold for the trigger type.
scores (list of str) – Scores which should be checked against the trigger