mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Added information on location/direction upon fatal_error.
This commit is contained in:
parent
86cdf3af95
commit
6dd8ea5364
1 changed files with 2 additions and 0 deletions
|
|
@ -80,6 +80,8 @@ contains
|
|||
write(ERROR_UNIT,'(1X,A,I12) ') 'Batch: ', current_batch
|
||||
write(ERROR_UNIT,'(1X,A,I12) ') 'Generation:', current_gen
|
||||
write(ERROR_UNIT,'(1X,A,I12)') 'Particle: ', p % id
|
||||
write(ERROR_UNIT,'(1X,A,3ES11.4)') 'Location: ', p % coord0 % xyz
|
||||
write(ERROR_UNIT,'(1X,A,3ES11.4)') 'Direction: ', p % coord0 % uvw
|
||||
write(ERROR_UNIT,*)
|
||||
end if
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue