Skip to content

Commit

Permalink
Preserve information after DOSXYZnrc parallel run
Browse files Browse the repository at this point in the history
Add calls to summarizing subroutines to preserve information in the
combined egslog and egslst files. This way, if the intermediate output
files from individual jobs are removed, this information remains
available. No changes were strictly required in DOSXYZnrc for the
uniform run control object implementation.

Previously, the only information in the final output file pertained to
the total dose in each requested region of the phantom, because in
DOSXYZnrc combining results is implemented for *.pardose files only.

Note that the timing information is missing from the final output file.
  • Loading branch information
mainegra authored and ftessier committed Mar 29, 2021
1 parent 7ab5e62 commit da12bc0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions HEN_HOUSE/user_codes/dosxyznrc/dosxyznrc.mortran
Original file line number Diff line number Diff line change
Expand Up @@ -3388,6 +3388,8 @@ IF( n_parallel > 0 & ~is_finished ) [
ainflu=temp2; "need to define this because it is used to normalize dose"
IF((isource = 0 | isource = 1 | isource = 3 | isource = 7) &
beamarea>0.) ainflu=ainflu/beamarea;
call show_transport_parameter(iout);
call srcout;
goto :ANALYZE-PARALLEL:;
]
]
Expand Down

0 comments on commit da12bc0

Please sign in to comment.