- decay
Decay¶
Works with a VSimPD license. Interaction of the form:
A decay of a single particle into one or more products. The daughter particles can be a single species, a single species and a photon, two species (without a photon), or two species and with a photon.
Should be paired with a decayLifetime RxnPhysics
block
in a RxnProcess
Block.
Any RxnProcess Block block which points to a
productGenerator of kind = decay
should have the
Reactants
and Products
in the order:
reactants = [speciesA]
products = [speciesB (speciesC)]
decay Attributes¶
- untrackedPhoton (boolean, required)
Whether or not energy is lost to an untracked photon.
- VAtheory (boolean, optional, default = 0)
If there is an untracked photon, this flag determines how the lost energy is calculated. Options are:
1 Use VA theory to determine energy loss
0: The lost energy is uniformly distributed between none and all.
This parameter does nothing if
untrackedPhoton
= 0.
- randomSeed (int, optional, default: random int)
Manually set a random seed used to determine the final velocities of the product particles.
The default is to choose a random seed at run time. To produce identical simulations, advanced users may want to manually set a seed. It is recommended not to include this parameter so that a different random number will be generated for each run.
Example decay Block¶
<RxnProductGenerator productGenerator>
kind = decay
untrackedPhoton = 1
VAtheory = 1 #using VA theory to determine energy lost in decay
#randomSeed = 423
</RxnProductGenerator>