Changeset 32289cd for init_energy.f


Ignore:
Timestamp:
11/19/09 11:29:41 (14 years ago)
Author:
baerbaer <baerbaer@…>
Branches:
master
Children:
38d77eb
Parents:
6650a56
Message:

Explicitly declare variables.

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/smmp/trunk@33 26dc1dd8-5c4e-0410-9ffe-d298b4865968

File:
1 edited

Legend:

Unmodified
Added
Removed
  • init_energy.f

    r6650a56 r32289cd  
    55!
    66! Copyright 2003-2005  Frank Eisenmenger, U.H.E. Hansmann,
    7 !                      Shura Hayryan, Chin-Ku 
     7!                      Shura Hayryan, Chin-Ku
    88! Copyright 2007       Frank Eisenmenger, U.H.E. Hansmann,
    99!                      Jan H. Meinke, Sandipan Mohanty
     
    1717! PURPOSE: initialize energy parameters
    1818!        0  => ECEPP2 or ECEPP3 depending on the value of sh2
    19 !        1  => FLEX 
     19!        1  => FLEX
    2020!        2  => Lund force field
    2121!        3  => ECEPP with Abagyan corrections
     
    2929      include 'INCL.H'
    3030
     31      integer ll, iendst, its
     32
    3133      character libdir*(*),tesfil*80
    32      
     34
    3335      if (ientyp.eq.1) then
    3436          flex = .true.
    35       else 
     37      else
    3638          flex = .false.
    3739      end if
    38      
     40
    3941      lunlib=10
    4042      ll=iendst(libdir)
     
    5658      endif
    5759
    58       if (ientyp .eq. 2) then 
     60      if (ientyp .eq. 2) then
    5961        reslib=libdir(1:ll)//'lib.lun'
    6062      endif
     
    7880
    7981      else
    80  
     82
    8183        if (itysol.ne.0) then
    8284          write(*,'(a)') ' init_energy>  undefined solvent type !'
     
    110112
    111113      include 'INCL.H'
     114
     115      double precision hbc, hba, ri, ai, aei, aic, a, aj, c, rij
     116
     117      integer i, j, iac, ido, jac, jdo
    112118
    113119      dimension hbc(mxhbdo,mxhbac),hba(mxhbdo,mxhbac)
     
    308314
    309315      include 'INCL.H'
     316     
     317      integer i
    310318
    311319!  Atom types ------------------------------------------------------------
     
    517525     & 'ile ','leu ','lys ','lys+','met ','phe ','cpro','pro ','cpru',
    518526     & 'prou','pron','pro+','ser ','thr ','trp ','tyr ','val ' /
    519  
     527
    520528      data (onltcd(i),i=1,nrsty)/  ! One-letter codes for amino acid types
    521529     & 'A',   'R',   'R',   'N',   'D',   'D',   'C',   'C',   'Q',
     
    527535!      coefficients for their solvation free energy (kcal/molxA**2)
    528536
    529 !  Method: 
    530 
    531 !  itysol=1 : OONS --> T.Ooi, et al, 
     537!  Method:
     538
     539!  itysol=1 : OONS --> T.Ooi, et al,
    532540!                      Proc. Natl. Acad. Sci. USA 8 (1987) 3086-3090.
    533 !  itysol=2 : JRF  --> J.Vila, et al, 
     541!  itysol=2 : JRF  --> J.Vila, et al,
    534542!                      PROTEINS: Struct Funct Genet 10(1991) 199-218.
    535 !  itysol=3 : WE92 --> L.Wesson, D.Eisenberg, 
     543!  itysol=3 : WE92 --> L.Wesson, D.Eisenberg,
    536544!                      Protein Science 1 (1992) 227-235.
    537545!  itysol=4 : SCH1 --> D.Eisenberg, et al,
     
    539547!  itysol=5 : SCH2 --> A.H.Juffer, et al,
    540548!                      Proteine Science 4 (1995) 2499-2509.
    541 !  itysol=6 : SCH3 --> L.Wesson, D.Eisenberg, 
     549!  itysol=6 : SCH3 --> L.Wesson, D.Eisenberg,
    542550!                      Protein Science 1 (1992) 227-235.
    543551!  itysol=7 : SCH4 --> C.A. Schiffer, et al,
    544552!                      Mol. Simul. 10(1993) 121-149.
    545 !  itysol=8 : EM86 --> D.Eisenberg, A.D. Mclachlan, 
     553!  itysol=8 : EM86 --> D.Eisenberg, A.D. Mclachlan,
    546554!                      Nature 319 (1986) 199-203.
    547555!  itysol=9 : BM   --> B. Freyberg, et al,
Note: See TracChangeset for help on using the changeset viewer.