- Timestamp:
- 11/19/09 11:29:16 (14 years ago)
- Branches:
- master
- Children:
- 2d5d396
- Parents:
- ffd2d46
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bgs.f
rffd2d46 rcb47b9c 8 8 ! **************************************************************** 9 9 10 ! Subroutine initlund: Initializes data structures used frequently11 ! in connection with Biased Gaussian Steps and the energy functions12 ! from Anders Irback's protein folding model. Calls: none.13 !14 subroutine init_lund15 include 'INCL.H'16 include 'incl_lund.h'17 logical bgsposs18 do i=1,mxrs19 iN(i)=-120 iCa(i)=-121 iC(i)=-122 iphi(i)=-3423 ipsi(i)=-3524 enddo25 ! print *,'total number of variables = ',nvr26 27 do i=1,ntlml28 npprs=129 do j=ivrml1(i),ivrml1(i)+nvrml(i)-130 mlvr(j)=i31 if (nmvr(j).eq.'phi') then32 iphi(npprs)=j33 ! Now if the residue is a proline, there is no phi angle in the variable34 ! list in SMMP, and so iphi(j) will remain at the initial value.35 ! So, make sure you never use iphi(i) for proline.36 endif37 if (nmvr(j).eq.'psi'.or.nmvr(j).eq.'pst') then38 ipsi(npprs)=j39 npprs=npprs+140 endif41 enddo42 do j=irsml1(i),irsml2(i)43 iN(j)=iatrs1(j)44 do k=iatrs1(j),iatrs2(j)45 if (nmat(k)(1:2).eq.'ca') then46 iCa(j)=k47 endif48 if (nmat(k)(1:1).eq.'c') then49 iC(j)=k50 endif51 enddo52 ! print *,'determined phi,psi serial for residue',j,' as '53 ! # ,iphi(j),ipsi(j)54 enddo55 enddo56 abgs=300.057 bbgs=10.058 bgsnvar=059 do i=1,nvr60 if (bgsposs(i)) then61 bgsnvar=bgsnvar+162 bgsvar(bgsnvar)=i63 endif64 enddo65 end66 10 67 11 ! Checks if it is possible to perform a BGS update starting at the
Note:
See TracChangeset
for help on using the changeset viewer.