f4enix.input.d1suned.Reaction#
- class f4enix.input.d1suned.Reaction(parent: Nuclide, MT: int | str, daughter: Nuclide, comment: str | None = None)#
Bases:
objectRepresents a single reaction of the reaction file
- Parameters:
- Variables:
- Return type:
None.
Methods
__init__(parent, MT, daughter[, comment])Represents a single reaction of the reaction file
change_lib(newlib)Change the library tag
from_text(text)Create a Reaction object from text
- change_lib(newlib: str) None#
Change the library tag
- Parameters:
newlib (str) – library extension as used in xsdir format (e.g. 00c).
- Return type:
None.