Changeset bd2278d for enyreg.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
  • enyreg.f

    r2ebb8b6 rbd2278d  
    33! Copyright 2007       Frank Eisenmenger, U.H.E. Hansmann,
    44!                      Jan H. Meinke, Sandipan Mohanty
    5 c *******************************
     5! *******************************
    66      real*8 function enyreg(nml)
    77
    8 c ----------------------------------------------------
    9 c
    10 c PURPOSE: sum( ( R_i - R^ref_j )**2 )
    11 c
    12 c    with: R_i     - atom position i in SMMP structure
    13 c          R^ref_j - corresponding atom j in PDB str.
    14 c
    15 c CALLS: none
    16 c
    17 c ----------------------------------------------------
     8! ----------------------------------------------------
     9!
     10! PURPOSE: sum( ( R_i - R^ref_j )**2 )
     11!
     12!    with: R_i     - atom position i in SMMP structure
     13!          R^ref_j - corresponding atom j in PDB str.
     14!
     15! CALLS: none
     16!
     17! ----------------------------------------------------
    1818
    1919      include 'INCL.H'
     
    2929
    3030          eny = eny + (xat(i)-xatp(j))**2+(yat(i)-yatp(j))**2+
    31      #                (zat(i)-zatp(j))**2
     31     &                (zat(i)-zatp(j))**2
    3232        endif
    3333      enddo   ! atoms
Note: See TracChangeset for help on using the changeset viewer.