28 integer i,ibn,isi,isp,ival,ixsi1,ixsi2,ixsm,ixsp1,ixsp2,
34 external itoken,isfind
41 call gettkn(line,token,lth)
49 ixsm=isfind(token,lth)
53 if (.not.itoken(token,lth,ibn))
then
54 write(
luout,1001) token(:lth)
62 if (ibn.lt.0 .or.ibn.gt.
nbas)
then
75 if (ixss(2).le.0)
then
83 if (ixss(1).le.0)
then
103 1000
format(
'*** Basis set number/ID required ***')
104 1001
format(
'*** Illegal index: ''',a,
''' ***')
105 1004
format(
'*** basis set ',i2,
' is not defined ***')
125 subroutine getss(line,ixss)
133 integer i,ival,ixn,ixsm,lth
138 external isfind,itoken
143 character*8 keywrd(nkeywd)
144 data keywrd /
'SPECTRUM',
'SITE',
'TO'/
153 5
call gettkn(line,token,lth)
159 if (token(:lth).eq.keywrd(i)(:lth))
go to 7
166 ixsm=isfind(token,lth)
168 if (.not.itoken(token,lth,ival))
then
170 write(
luout,1001) token(:lth)
194 1001
format(
'*** Illegal index: ''',a,
''' ***')
integer, dimension(mxsite, mxspc), save basno
integer, dimension(mxsite, mxspc), save modtd
subroutine touppr(string, lth)
subroutine gettkn(line, token, lth)
Written for free-form input of parameters for slow-motional calculations. Returns a token consisting ...
integer, parameter mxsite
integer, parameter luttyo
subroutine getss(line, ixss)