src/multipass.f90: improve error wording

This commit is contained in:
Michele Guerini Rocco 2023-03-26 16:08:03 +02:00
parent 69308901ee
commit 658389f586
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -149,8 +149,9 @@ contains
iwait = iroff(:,i) ! copy ray status for current beam from global ray status
if(all(iwait)) then ! no rays active => stop beam
iboff = .true.
else if(.not.all(.not.iwait)) then ! only some rays active
write (msg,'(" beam ",g0,": some rays are active!")') i
else if (any(iwait)) then
! only some rays active
write (msg,'(" beam ",g0,": only some rays are active!")') i
call log_warning(msg, mod='multipass', proc='initbeam')
end if