Changeset bd2278d for INCP.H


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
  • INCP.H

    r2ebb8b6 rbd2278d  
    1 c ......................
    2 c contents of a PDB file
    3 c ......................
     1! ......................
     2! contents of a PDB file
     3! ......................
    44
    55      parameter (MXCHP =100,    ! max. no. of polypeptide chains
    6      #           MXRSP =1000,   ! max. no. of residues
    7      #           MXATP =10000)  ! max. no. of atoms
     6     &           MXRSP =1000,   ! max. no. of residues
     7     &           MXATP =10000)  ! max. no. of atoms
    88
    9 c   nchp      - no. of polypeptide chains
    10 c   nchrsp()  - no. of residues / chain
    11 c   nrsp      - total no. of residues
    12 c   irsatp()  - index of 1st atom / res.
    13 c   nrsatp()  - no. of atoms / res.
    14 c   natp      - total no. of selected atoms
    15 c   noatp()   - atom numbers
     9!   nchp      - no. of polypeptide chains
     10!   nchrsp()  - no. of residues / chain
     11!   nrsp      - total no. of residues
     12!   irsatp()  - index of 1st atom / res.
     13!   nrsatp()  - no. of atoms / res.
     14!   natp      - total no. of selected atoms
     15!   noatp()   - atom numbers
    1616
    1717      common /pdb_i/ nchp,nchrsp(MXCHP),
    18      #               nrsp,irsatp(MXRSP),nrsatp(MXRSP),
    19      #               natp,noatp(MXATP)
     18     &               nrsp,irsatp(MXRSP),nrsatp(MXRSP),
     19     &               natp,noatp(MXATP)
    2020      save /pdb_i/
    2121
    22 c   chnp()  - chain identifiers
    23 c   rsidp() - residue identifiers (number + insertion code)
    24 c   rsnmp() - residues (sequence, 3-letter code)
    25 c   atnmp() - atom names
     22!   chnp()  - chain identifiers
     23!   rsidp() - residue identifiers (number + insertion code)
     24!   rsnmp() - residues (sequence, 3-letter code)
     25!   atnmp() - atom names
    2626
    2727      character chnp(MXCHP),
    28      #          rsidp(MXRSP)*5,rsnmp(MXRSP)*3,
    29      #          atnmp(MXATP)*4
     28     &          rsidp(MXRSP)*5,rsnmp(MXRSP)*3,
     29     &          atnmp(MXATP)*4
    3030
    3131      common /pdb_c/ chnp,rsnmp,rsidp,atnmp
    3232      save /pdb_c/
    3333
    34 c     xatp,yatp,zatp - atom coordinates
     34!     xatp,yatp,zatp - atom coordinates
    3535
    3636      common /pdb_r/ xatp(MXATP),yatp(MXATP),zatp(MXATP)
    3737      save /pdb_r/
    3838
    39 c ------------------- code to list all PDB information
    40 c      ir=0
    41 c      do i=1,nchp
    42 c        write(*,*) ' ===== chain |',chnp(i),'|'
    43 c        do j=1,nchrsp(i)
    44 c          ir=ir+1
    45 c          write(*,*) ' ----- ',rsidp(ir),' ',rsnmp(ir),' ',nrsatp(ir)
    46 c          k1=irsatp(ir)
    47 c          k2=k1+nrsatp(ir)-1
    48 c          do k=k1,k2
    49 c            write(*,*) ' ',noatp(k),' ',atnmp(k),' ',(xyzp(l,k),l=1,3)
    50 c          enddo
    51 c        enddo
    52 c      enddo
     39! ------------------- code to list all PDB information
     40!      ir=0
     41!      do i=1,nchp
     42!        write(*,*) ' ===== chain |',chnp(i),'|'
     43!        do j=1,nchrsp(i)
     44!          ir=ir+1
     45!          write(*,*) ' ----- ',rsidp(ir),' ',rsnmp(ir),' ',nrsatp(ir)
     46!          k1=irsatp(ir)
     47!          k2=k1+nrsatp(ir)-1
     48!          do k=k1,k2
     49!            write(*,*) ' ',noatp(k),' ',atnmp(k),' ',(xyzp(l,k),l=1,3)
     50!          enddo
     51!        enddo
     52!      enddo
Note: See TracChangeset for help on using the changeset viewer.