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 authored and ftessier committed Aug 2, 2023
1 parent 281a1aa commit e4044c1
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 e4044c1

Please sign in to comment.