mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Refactor ParticleType to use PDG Monte Carlo numbering scheme (#3756)
Co-authored-by: GuySten <62616591+GuySten@users.noreply.github.com> Co-authored-by: Amanda Lund <alund1187@gmail.com>
This commit is contained in:
parent
fc0d9eec65
commit
b41e22f68b
62 changed files with 1401 additions and 558 deletions
|
|
@ -634,7 +634,7 @@ def return_surface_source_data(filepath):
|
|||
wgt = point.wgt
|
||||
delayed_group = point.delayed_group
|
||||
surf_id = point.surf_id
|
||||
particle = point.particle
|
||||
particle = point.particle.pdg_number
|
||||
key = (
|
||||
f"{r[0]:.10e} {r[1]:.10e} {r[2]:.10e} {u[0]:.10e} {u[1]:.10e} {u[2]:.10e}"
|
||||
f"{e:.10e} {time:.10e} {wgt:.10e} {delayed_group} {surf_id} {particle}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue