openmc.arithmetic.CrossScore

class openmc.arithmetic.CrossScore(left_score, right_score, binary_op)[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