terrapower.physics.neutronics.dragon.plugin module
DRAGON Plugin.
- class terrapower.physics.neutronics.dragon.plugin.DragonPlugin[source]
Bases:
ArmiPlugin
Plugin for the DRAGON interface.
- static defineCaseDependencies(case, suite)[source]
Function for defining case dependencies.
Some Cases depend on the results of other
Case
s in the sameCaseSuite
. Which dependencies exist, and how they are discovered depends entirely on the type of analysis and active interfaces, etc. This function allows a plugin to inspect settings and declare dependencies between the passedcase
and any other cases in the passedsuite
.- Parameters:
case (Case) – The specific case for which we want to find dependencies.
suite (CaseSuite) – A CaseSuite object to which the Case and other potential dependencies belong.
- Returns:
dependencies – This should return a set containing
Case
objects that are considered dependencies of the passedcase
. They should be members of the passedsuite
.- Return type:
set of Cases