openmc.arithmetic.CrossScore¶
-
class
openmc.arithmetic.
CrossScore
(left_score=None, right_score=None, binary_op=None)[source]¶ A special-purpose tally score used to encapsulate all combinations of two tally’s scores as an outer product for tally arithmetic.
Parameters: - left_score (str or CrossScore) – The left score in the outer product
- right_score (str or CrossScore) – The right score in the outer product
- binary_op (str) – The tally arithmetic binary operator (e.g., ‘+’, ‘-‘, etc.) used to combine two tally’s scores with this CrossNuclide
Variables: - left_score (str or CrossScore) – The left score in the outer product
- right_score (str or CrossScore) – The right score in the outer product
- binary_op (str) – The tally arithmetic binary operator (e.g., ‘+’, ‘-‘, etc.) used to combine two tally’s scores with this CrossScore