44 integer i,iact,iflag,ival,ixsm,jx,jx1,jx2,lth
50 character*8 keywrd(nkeywd)
55 integer IAUTO,IFIX,IADJST
56 parameter(iauto=1,ifix=2,iadjst=3)
60 double precision enorm
61 external enorm,ftoken,itoken,itrim
63 data keywrd /
'AUTO',
'FIX' /
69 call gettkn(line,token,lth)
80 if (.not.itoken(token,lth,ival))
then
81 if (token(:lth).eq.
'ALL'.or.token(:lth).eq.
'*')
then
85 write(
luout,1001) token(:lth)
101 5
call gettkn(line,token,lth)
103 if (lth.eq.0)
go to 10
107 if (token(:lth).eq.keywrd(i)(:lth))
then
116 if (.not.ftoken(token,lth,fval))
then
117 write (
luout,1003) token(:itrim(token))
127 if ((iact.eq.ifix .or. iact.eq.iadjst) .and.
ishglb.ne.0)
then
139 if (iact.eq.iauto)
then
143 else if (iact.eq.ifix)
then
147 else if (iact.eq.iadjst)
then
167 if (iact.eq.iauto .or. iact.eq.iadjst)
then
188 1000
format(
'*** Site index expected ***')
189 1001
format(
'*** Illegal index: ''',a,
''' ***')
190 1003
format(
'*** Unrecognized SCALE keyword: ''',a,
''' ***')
191 1004
format(/10
x,
'Recalculated RMS deviation =',g12.5/)
192 1005
format(
'*** Scale cannot be fixed when shifting is enabled ***')
subroutine lfun(m, n, x, fvec, fjac, ldfjac, iflag)
Subroutine for interfacing EPRLL spectral calculations with the MINPACK version of the Levenberg-Marq...
void FORTRAN() uncatchc(int *flag)
double precision, dimension(mxsite, mxspc), save sfac
subroutine touppr(string, lth)
double precision, save fnorm
subroutine gettkn(line, token, lth)
Written for free-form input of parameters for slow-motional calculations. Returns a token consisting ...
integer, dimension(mxsite), save iscal
double precision, dimension(mxpt, mxjcol), save fjac
double precision, dimension(mxpt), save fvec
void FORTRAN() catchc(int *flag)
integer, parameter luttyo
double precision, dimension(mxjcol), save x