Source code for fudge.gnds.reactions.production

# <<BEGIN-copyright>>
# <<END-copyright>>

"""
This module contains the production class, for storing production cross section
of radioactive products
"""

from fudge.core.utilities import fudgeExceptions

import fudge

from . import base as baseModule

__metaclass__ = type

[docs]class production( baseModule.base_reaction ): """ Production reactions are another special case of the <reaction> class, used to store the cross section for producing specific radioactive products. Requires a cross section and product id, but no distributions. As with the summedReaction, 'outputChannel' should be a channels.simpleOutputChannel instance. """ moniker = 'production' def __init__( self, outputChannel, ENDF_MT, documentation = None, label = None, process = None ) : """Creates a new production reaction object.""" baseModule.base_reaction.__init__( self, outputChannel, ENDF_MT, documentation, label = label, process = process ) def __str__(self): return self.label
[docs] def isBasicReaction( self ) : return( False )
[docs] def isCompleteReaction( self ): return( False )