- Timestamp:
- 11/19/09 11:29:41 (14 years ago)
- Branches:
- master
- Children:
- 38d77eb
- Parents:
- 6650a56
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
eyabgn.f
r6650a56 r32289cd 5 5 ! Jan H. Meinke, Sandipan Mohanty 6 6 ! 7 ! Corrections to ECEPP energy terms due to R. A. Abagyan et al. 8 ! 7 ! Corrections to ECEPP energy terms due to R. A. Abagyan et al. 8 ! 9 9 ! Two terms are calculated: eyrccr and eyentr, representing respectively 10 ! c a term to slightly shift the backbone dihedral angle preferences in 10 ! c a term to slightly shift the backbone dihedral angle preferences in 11 11 ! the ECEPP potential slightly away from the helix region, and another 12 ! term to estimate the side-chain entropy from a given configuration. 12 ! term to estimate the side-chain entropy from a given configuration. 13 13 ! 14 14 ! … … 16 16 real*8 function eyrccr(nml) 17 17 include 'INCL.H' 18 double precision et, rsscl 19 20 integer nml, istres, indres, i, ipsi, in, ica, ic, mlvr, iphi 21 18 22 dimension iN(mxrs),iCa(mxrs),iC(mxrs),mlvr(mxvr) 19 23 dimension iphi(mxrs),ipsi(mxrs) … … 34 38 call tolost(mynm) 35 39 if ((mynm.eq.'val').or.(mynm.eq.'ile').or. 36 & (mynm.eq.'thr')) then 40 & (mynm.eq.'thr')) then 37 41 rsscl=1.0 38 else 42 else 39 43 rsscl=0.5 40 44 endif … … 48 52 eyrccr=et 49 53 return 50 end 54 end 51 55 52 56 subroutine init_abgn … … 54 58 ! dimension rsstrg(mxrs) 55 59 ! common /abgncor/rsstrg 60 double precision xarea, estrg 61 62 integer i, istres, indres, imytyp, j 63 56 64 dimension xarea(nrsty),estrg(nrsty) 57 65 character mynm*4 … … 102 110 ! print *,'comparing ',mynm,' with ',rsnmcd(j),imytyp 103 111 enddo 104 if (imytyp.eq.0) then 112 if (imytyp.eq.0) then 105 113 print *, 'Unknown residue type ',seq(i) 106 114 print *, 'Abagyan term strength set to 0' 107 115 rsstrg(i)=0.0 108 else 116 else 109 117 rsstrg(i)=estrg(imytyp)/xarea(imytyp) 110 118 endif 111 119 ! print *,'residue ',i,seq(i),' type ',imytyp 112 ! print *, 'strength for residue ',i,seq(i),' is ',rsstrg(i) 120 ! print *, 'strength for residue ',i,seq(i),' is ',rsstrg(i) 113 121 enddo 114 122 print *, 'initialized Abagyan corrections to ECEPP force field' 115 123 end 116 124 117 125 real*8 function eyentr(nml) 118 126 include 'INCL.H' … … 121 129 ! common/ressurf/surfres(mxrs) 122 130 ! common/bet/beta 131 double precision eentr, aars, strh 132 133 integer nml, istres, indres, i 134 123 135 eentr=0 124 136 if (nml.eq.0) then … … 136 148 ! The maximal burial entropies were estimated at temperature 300k 137 149 ! The values in the array estrg are k_B * T (=300k) * Entropy 138 ! Presently we need it at temperature 1/beta, so we need to 150 ! Presently we need it at temperature 1/beta, so we need to 139 151 ! multiply the strengths in estrg with (1/beta)/(300 kelvin) 140 152 ! 300 kelvin is approximately 0.59576607 kcal/mol. … … 149 161 return 150 162 end 151 152 real*8 function eyabgn(nml) 163 164 real*8 function eyabgn(nml) 153 165 include 'INCL.H' 166 double precision eyrccr, eyentr 167 168 integer nml 169 154 170 eyabgn=eyrccr(nml)+eyentr(nml) 155 171 ! print *,'Abagyan term = ',eyabgn
Note:
See TracChangeset
for help on using the changeset viewer.