bail out when zora is not followed by on/off

This commit is contained in:
edoapra 2023-03-24 19:07:54 -07:00
parent 44ff94616a
commit ad7a9cf0b1
No known key found for this signature in database
GPG key ID: E6E392F4E14FB937

View file

@ -29,15 +29,16 @@ c Preliminaries
do_zora = .false.
c
c Read input data beyond zora; store in rtdb.
10 if (inp_a(test)) then
if (inp_a(test)) then
if (inp_compare(.false.,'on',test)) then
do_zora = .true.
do_zora = .true.
else if (inp_compare(.false.,'off',test)) then
do_zora = .false.
else
call errquit('zora_input: unknown directive',0, UNKNOWN_ERR)
endif
goto 10
else
call errquit('specify ZORA ON or OFF',0, UNKNOWN_ERR)
endif
c
c Put zora parameters in rtdb