Skip to content

Commit

Permalink
Fix #1018: Number of brems events miscounted for DBS in BEAM
Browse files Browse the repository at this point in the history
Fix the output message in the egslst file for BEAMnrc simulations about
the number of brems events the took place. When DBS was turned on, it
would always read zero.
  • Loading branch information
rtownson committed Jun 20, 2023
1 parent 7d36c2f commit 5840b0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions HEN_HOUSE/omega/beamnrc/beamnrc.mortran
Original file line number Diff line number Diff line change
Expand Up @@ -6422,6 +6422,9 @@ ELSEIF(IBRSPL=2) ["directional bremsstrahlung splitting"
ZLAST(I)=Z(I);
]
]

IF(IARG=6) NUM_BREM=NUM_BREM+nbr_split;

" now put a zero weight particle on top of the stack thus forcing "
" a return to shower. "
np=np+1;
Expand Down

0 comments on commit 5840b0c

Please sign in to comment.