openmc.data.Sum¶
- class openmc.data.Sum(functions)[source]¶
Sum of multiple functions.
This class allows you to create a callable object which represents the sum of other callable objects. This is used for redundant reactions whereby the cross section is defined as the sum of other cross sections.
- Parameters
functions (Iterable of Callable) – Functions which are to be added together
- Variables
functions (Iterable of Callable) – Functions which are to be added together