Changeset bd2278d for rgyr.f


Ignore:
Timestamp:
09/05/08 11:49:42 (16 years ago)
Author:
baerbaer <baerbaer@…>
Branches:
master
Children:
fafe4d6
Parents:
2ebb8b6
Message:

Reformatting comments and continuation marks.

Fortran 90 and higher use ! to mark comments no matter where they are in the
code. The only valid continuation marker is &.
I also added the SMMP.kdevelop.filelist to the repository to make it easier
to use kdevelop.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rgyr.f

    r2ebb8b6 rbd2278d  
    1 c**************************************************************
    2 c
    3 c This file contains the subroutines: rgyr
    4 c
    5 c Copyright 2003-2005  Frank Eisenmenger, U.H.E. Hansmann,
    6 c                      Shura Hayryan, Chin-Ku
    7 c Copyright 2007       Frank Eisenmenger, U.H.E. Hansmann,
    8 c                      Jan H. Meinke, Sandipan Mohanty
    9 c
    10 c **************************************************************
     1!**************************************************************
     2!
     3! This file contains the subroutines: rgyr
     4!
     5! Copyright 2003-2005  Frank Eisenmenger, U.H.E. Hansmann,
     6!                      Shura Hayryan, Chin-Ku
     7! Copyright 2007       Frank Eisenmenger, U.H.E. Hansmann,
     8!                      Jan H. Meinke, Sandipan Mohanty
     9!
     10! **************************************************************
    1111
    1212
    1313      subroutine rgyr(nml, rgy, ee)
    1414
    15 C CALCULATES THE RADIUS-OF-GYRATION AND THE END-TO-END DISTANCE
    16 C FOR A GIVEN PROTEIN CONFORMATION
    17 C If nml == 0, calculate the radius of gyration for all molecules
    18 C
    19 C     rgy  = radius-of-gyration
    20 C     ee   = end-to-end distance
    21 C
    22 C REQUIREMENTS: c_alfa has to be called BEFORE call of this subroutine
    23 C
    24 C CALLS: NONE
    25 C
     15! CALCULATES THE RADIUS-OF-GYRATION AND THE END-TO-END DISTANCE
     16! FOR A GIVEN PROTEIN CONFORMATION
     17! If nml == 0, calculate the radius of gyration for all molecules
     18!
     19!     rgy  = radius-of-gyration
     20!     ee   = end-to-end distance
     21!
     22! REQUIREMENTS: c_alfa has to be called BEFORE call of this subroutine
     23!
     24! CALLS: NONE
     25!
    2626      include 'INCL.H'
    27 cf2py intent(in) nml
    28 cf2py intent(out) rgy
    29 cf2py intent(out) ee
     27!f2py intent(in) nml
     28!f2py intent(out) rgy
     29!f2py intent(out) ee
    3030      integer typ
    3131      if (nml.eq.0) then
     
    4242      if (nat.le.0) then
    4343        write (*,'(a,i4)')
    44      #     ' rgyr> No atoms found for molecule #',nml
     44     &     ' rgyr> No atoms found for molecule #',nml
    4545        return
    4646      endif
     
    128128
    129129      ee = sqrt((xat(i2)-xat(i1))**2+(yat(i2)-yat(i1))**2
    130      #         +(zat(i2)-zat(i1))**2)
     130     &         +(zat(i2)-zat(i1))**2)
    131131
    132132      return
Note: See TracChangeset for help on using the changeset viewer.