MultiplierSet#
- class montepy.MultiplierSet(constant: numbers.Real, material: TypeAliasForwardRef('numbers.Integral') | Material | None, reactions: list[ReactionExpression])#
Bases:
objectAn FM multiplier set:
c m (reaction list 1) (reaction list 2) ....Added in version 1.6.0b2.
- Parameters:
constant (
Real) – The scalar constantc. If negative (type-4 tallies only), MCNP replaces|c|with|c|times the tallying cell’s atom density.material (
Union[Integral,Material,None]) – Material number from anMmcard.None/0means “the material of the current cell.”reactions (
list[ReactionExpression]) – One entry per output bin this set creates (MCNP creates one bin per reaction list, per FM spec footnote 4).
Attributes:
The scalar constant
cfor this multiplier set.The material number, or
Nonefor "current cell's material".The syntax node for this multiplier set.
One
ReactionExpressionper output bin this set creates.- property material: int | None#
The material number, or
Nonefor “current cell’s material”.Resolved live from the linked
Materialif this set was built from one (e.g.mat & Reaction.CAPTURE), so a later renumber of that material is reflected here too.
- property reactions: list[ReactionExpression]#
One
ReactionExpressionper output bin this set creates.