Changeset 32289cd for rmsdfun.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
  • rmsdfun.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
     
    2626!
    2727! Input
     28      double precision xrf, yrf, zrf, rm, av1, av2, rssd
     29
     30      integer nml, ir1, ir2, ixat, isl
     31
    2832      dimension ixat(mxat),xrf(mxatp),yrf(mxatp),zrf(mxatp)
    2933! Local
     
    5761!
    5862!      NB  uncomment last lines in 'fitmol' to return coordinates
    59 !          in 'x2' after fitting the ref. str. onto SMMP structure 
     63!          in 'x2' after fitting the ref. str. onto SMMP structure
    6064! ----------------------------------------------------------------
    6165
    6266      include 'INCL.H'
    6367      include 'INCP.H'
     68     
     69      double precision x1, x2, xrf, yrf, zrf, rm, av1, av2, rmsd
     70
     71      integer nml, nr, na, n, im, ir, ia, ir1, ir2, ix, ixat, isl
     72
    6473
    6574!-------------------------------------------------------- input
     
    147156! .......................................................
    148157!f2py intent(out) rmsd
    149                    
     158
    150159      include 'INCL.H'
    151160!      implicit real*8 (a-h,o-z)
    152161!      implicit integer*4 (i-n)
    153  
     162
    154163! ------------------------------------------- input/output
     164      double precision dn, a1, a2, x1, x2, q, dm, dp, dxm, dym, dzm, dxp
     165      double precision dyp, dzp, e, v, em, rmsd, rm
     166
     167      integer n, i, j, ndim4, im
     168
    155169      dimension x1(3,mxat),x2(3,mxat)
    156170! -------------------------------------------------- local
     
    270284!f2py intent(out) d
    271285!f2py intent(out) v
     286      integer nmax
     287
    272288      parameter (NMAX=500)
    273      
     289
    274290      integer n,nrot,i,ip,iq,j
    275291
     
    398414!
    399415!------------------------------------------------------------------------------
    400 ! Reads in pdb-file 'string' into INCP.H and initalizes 
     416! Reads in pdb-file 'string' into INCP.H and initalizes
    401417! the files that 'rmdsopt' needs to calculate the rmsd
    402418! of a configuration with the pdb-configuration
     
    409425      include 'INCP.H'
    410426
     427      integer i, nml, ier
     428
    411429      character string*(*)
    412  
     430
    413431      if(string.eq.'smmp') then
    414432!
     
    428446!
    429447         call pdbread(string,ier)
    430          if(ier.ne.0) stop 
     448         if(ier.ne.0) stop
    431449         call atixpdb(nml)
    432450!
Note: See TracChangeset for help on using the changeset viewer.