def exposeInterfaces(cs): """ Collect and expose all of the interfaces that live under the built-in neutronics package """ from armi.physics.neutronics import crossSectionGroupManager from armi.physics.neutronics.fissionProductModel import fissionProductModel interfaceInfo = [] for mod in (crossSectionGroupManager, fissionProductModel): interfaceInfo += plugins.collectInterfaceDescriptions(mod, cs) return interfaceInfo
def exposeInterfaces(cs): from armi.bookkeeping.db import database3 from armi.bookkeeping import historyTracker from armi.bookkeeping import memoryProfiler from armi.bookkeeping import mainInterface from armi.bookkeeping import snapshotInterface from armi.bookkeeping.report import reportInterface interfaceInfo = [] interfaceInfo += plugins.collectInterfaceDescriptions( mainInterface, cs) interfaceInfo += plugins.collectInterfaceDescriptions(database3, cs) interfaceInfo += plugins.collectInterfaceDescriptions( historyTracker, cs) interfaceInfo += plugins.collectInterfaceDescriptions( memoryProfiler, cs) interfaceInfo += plugins.collectInterfaceDescriptions( reportInterface, cs) interfaceInfo += plugins.collectInterfaceDescriptions( snapshotInterface, cs) return interfaceInfo