Changeset cb47b9c for canon.f


Ignore:
Timestamp:
11/19/09 11:29:16 (14 years ago)
Author:
baerbaer <baerbaer@…>
Branches:
master
Children:
2d5d396
Parents:
ffd2d46
Message:

Explicitly declare variables.

All variables should be declared so that we can remove the implicit statements
from the beginning of the INCL.H file.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • canon.f

    rffd2d46 rcb47b9c  
    4040      integer nmes
    4141!     temp:  Temperature of simulation
    42       double precision temp
     42      double precision temp, e_min
    4343!
    4444!      common/bet/beta
     
    6363
    6464      eol = energy()
     65      e_min = eol
    6566      write (*,'(a,e12.5,/)')  'energy of start configuration:',eol
    6667
     
    7980      do nsw=0,nswp
    8081        call metropolis(eol,acz,can_weight)
     82        if (eol.lt.e_min) then
     83           write (*,*) "New minimum energy:", eol, "t=", nsw
     84           write (*,*) eyel,eyhb,eyvr,eysl
     85           e_min = eol
     86           call outpdb(0, "minen.pdb")
     87        endif
    8188!
    8289        if(mod(nsw,nmes).eq.0) then
     
    96103        end do
    97104! Write down information on actual conformation
    98          write(13,'(i5,2f12.3,5i7)')  nsw,  eol, rgy,
    99      &                              nhel,mhel,nbet,mbet,mhb
     105         write(13,'(i7,2f15.3,5i7,4f15.3)')  nsw,  eol, rgy,
     106     &                              nhel,mhel,nbet,mbet,mhb,
     107     &                              eyel,eyhb,eyvr,eysl
    100108        end if
    101109!
Note: See TracChangeset for help on using the changeset viewer.