Changeset 32289cd for enysol.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
  • enysol.f

    r6650a56 r32289cd  
    44!
    55! Copyright 2003-2005  Frank Eisenmenger, U.H.E. Hansmann,
    6 !                      Shura Hayryan, Chin-Ku 
     6!                      Shura Hayryan, Chin-Ku
    77! Copyright 2007       Frank Eisenmenger, U.H.E. Hansmann,
    88!                      Jan H. Meinke, Sandipan Mohanty
     
    1010! **************************************************************
    1111
    12      
     12
    1313      real*8 function enysol(nmol)
    1414
     
    1717!
    1818!     Double Cubic Lattice algorithm for calculating the
    19 !     solvation energy of proteins using 
     19!     solvation energy of proteins using
    2020!     solvent accessible area method.
    2121!
     
    2424!
    2525! -------------------------------------------------------------
    26 ! TODO: Check the solvent energy for multiple molecules     
     26! TODO: Check the solvent energy for multiple molecules
    2727!     arguments
    2828      integer nmol
    29      
     29
    3030!     functions
    3131      integer nursat
     
    4141      double precision sizes, trad, zmin, xmax, xmin, ymax, zmax
    4242      double precision sdr, sdd, volume
    43      
     43
    4444      dimension numbox(mxat),inbox(mxbox+1),indsort(mxat),look(mxat)
    4545      dimension xyz(mxinbox,3),radb(mxinbox),radb2(mxinbox)
     
    4747
    4848!      common/ressurf/surfres(mxrs)
    49      
     49
    5050      eyslh = 0.0
    5151      eyslp = 0.0
     
    6161      do i=nrslow,nrshi
    6262       surfres(i) = 0.0d0
    63       end do 
     63      end do
    6464
    6565      numat= nup - nlow + 1
     
    6868         inbox(i)=0
    6969      end do
    70      
     70
    7171      asa=0.0d0
    7272      vdvol=0.0d0
     
    135135       stop
    136136      end if
    137        
     137
    138138! Let us shift the borders to home all boxes
    139139
     
    175175        inbox(i+1)=inbox(i+1)+inbox(i)
    176176      end do
    177          
    178        
     177
     178
    179179!   Sorting the atoms by the their box numbers
    180180
     
    184184         indsort(jj)=i
    185185         inbox(j)=jj-1
    186       end do   
    187          
     186      end do
     187
    188188! Getting started
    189189
     
    205205             ney=min(iy+1,ndy-1)
    206206             nez=min(iz+1,ndz-1)
    207                      
     207
    208208!  Atoms in the boxes around
    209209
     
    221221               end do
    222222              end do
    223              end do     
    224                              
     223             end do
     224
    225225             do  ia=inbox(ibox)+1,inbox(ibox+1)
    226226               jbi=indsort(ia)
     
    274274                     end do
    275275 99                  continue
    276    
     276
    277277                     if(ik.gt.nnei)then
    278278                       surfc(il)=.true.
     
    316316                 surfres(jres) = surfres(jres) + area
    317317               end if
    318              end do 
     318             end do
    319319           end if
    320320          end do
     
    341341      character lin*80
    342342      integer i
    343 !    Skipping comment lines, which begin with '!' 
     343!    Skipping comment lines, which begin with '!'
    344344      read(20,'(a)') lin
    345345      do while(lin(1:1).eq.'!')
     
    352352!       write(*,'(a,i5)') 'the number of points---->',npnt
    353353
    354 !    Read the surface points   
     354!    Read the surface points
    355355
    356356      do i=1,npnt
     
    358358!          write(31,'(3f20.10)') spoint(i,1),spoint(i,2),spoint(i,3)
    359359      end do
    360  
     360
    361361      return
    362  
     362
    363363      end
    364364
Note: See TracChangeset for help on using the changeset viewer.