armi.physics.safety package¶
Safety package for generic safety-related code.
- class armi.physics.safety.SafetyPlugin[source]¶
Bases:
armi.plugins.ArmiPlugin
- static defineSettings()[source]¶
Define configuration settings for this plugin.
This hook allows plugins to provide their own configuration settings, which can participate in the
armi.settings.caseSettings.CaseSettings
. Plugins may provide entirely new settings to what are already provided by ARMI, as well as new options or default values for existing settings. For instance, the framework provides aneutronicsKernel
setting for selecting which global physics solver to use. Since we wish to enforce that the user specify a valid kernel, the settings validator will check to make sure that the user’s requested kernel is among the available options. If a plugin were to provide a new neutronics kernel (let’s say MCNP), it should also define a new option to tell the settings system that"MCNP"
is a valid option.- Returns
A list of Settings, Options, or Defaults to be registered.
- Return type