1 subroutine promienie(*)
4 include 'COMMON.CONTROL'
5 include 'COMMON.INTERACT'
6 include 'COMMON.IOUNITS'
7 include 'COMMON.CONTPAR'
10 real*8 facont /1.569D0/ ! facont = (2/(1-sqrt(1-1/4)))**(1/6)
12 character*8 contfuncid(5)/'GB','DIST','CEN','ODC','SIG'/
14 call getenv("CONTFUNC",contfunc)
15 contfunc=ucase(contfunc)
17 if (contfunc.eq.contfuncid(icomparfunc)) goto 10
20 write (iout,*) "Sidechain contact function is ",contfunc,
21 & "icomparfunc",icomparfunc
24 if (icomparfunc.lt.3) then
25 read(isidep1,*) chi_comp(i,j),chip_comp(i,j),sig_comp(i,j),
27 else if (icomparfunc.lt.5) then
28 read(isidep1,*) sc_cutoff(i,j)
29 else if (icomparfunc.eq.5) then
30 sc_cutoff(i,j)=dsqrt(sigma0(i)**2+sigma0(j)**2)*facont
32 write (iout,*) "Error - Unknown contact function"
39 if (i.eq.10 .or. i.eq.21) then
42 dsc_inv(i)=1.0d0/dsc(i)