armi.settings.fwSettings.tightCouplingSettings module
The data structures and schema of the tight coupling settings.
These are advanced/compound settings that are carried along in the normal cs object but aren’t simple key/value pairs.
- class armi.settings.fwSettings.tightCouplingSettings.TightCouplingSettings[source]
Bases:
dictDictionary with keys of Interface functions and a dictionary value.
Notes
The dictionary value for each Interface function is required to contain a
parameterand aconvergencekey with string and float values, respectively. No other keys are allowed.Examples
couplingSettings = TightCouplingSettings({‘globalFlux’: {‘parameter’: ‘keff’, ‘convergence’: 1e-05}})
- armi.settings.fwSettings.tightCouplingSettings.serializeTightCouplingSettings(tightCouplingSettingsDict: TightCouplingSettings | Dict) Dict[str, Dict][source]
Return a serialized form of the
TightCouplingSettingsas a dictionary.Notes
Attributes that are not set (i.e., set to None) will be skipped.
- class armi.settings.fwSettings.tightCouplingSettings.TightCouplingSettingDef(name)[source]
Bases:
SettingCustom setting object to manage the tight coupling settings for each interface.
Notes
This uses the
tightCouplingSettingsValidatorschema to validate the inputs and will automatically coerce the value into aTightCouplingSettingsdictionary.