src/multipass.f90: improve error wording
This commit is contained in:
parent
69308901ee
commit
658389f586
@ -149,8 +149,9 @@ contains
|
|||||||
iwait = iroff(:,i) ! copy ray status for current beam from global ray status
|
iwait = iroff(:,i) ! copy ray status for current beam from global ray status
|
||||||
if(all(iwait)) then ! no rays active => stop beam
|
if(all(iwait)) then ! no rays active => stop beam
|
||||||
iboff = .true.
|
iboff = .true.
|
||||||
else if(.not.all(.not.iwait)) then ! only some rays active
|
else if (any(iwait)) then
|
||||||
write (msg,'(" beam ",g0,": some rays are active!")') i
|
! only some rays active
|
||||||
|
write (msg,'(" beam ",g0,": only some rays are active!")') i
|
||||||
call log_warning(msg, mod='multipass', proc='initbeam')
|
call log_warning(msg, mod='multipass', proc='initbeam')
|
||||||
end if
|
end if
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user