source: INCP.H

Last change on this file was 38d77eb, checked in by baerbaer <baerbaer@…>, 14 years ago

Redirected standard out to logString.

SMMP produced a lot of log messages. This became an issue when run in massively
parallel environments. I replaced all writes to standard out to a write to logString.
The next step is to pass this string to a function that writes the messages to a log
file according to their importance and the chosen log level.

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

  • Property mode set to 100644
File size: 1.7 KB
Line 
1! ......................
2! contents of a PDB file
3! ......................
4 integer MXCHP, MXRSP, MXATP, nchp, nchrsp, nrsp, irsatp, nrsatp
5 integer natp, noatp
6
7 double precision xatp, yatp, zatp
8
9 parameter (MXCHP =100, ! max. no. of polypeptide chains
10 & MXRSP =1000, ! max. no. of residues
11 & MXATP =10000) ! max. no. of atoms
12
13! nchp - no. of polypeptide chains
14! nchrsp() - no. of residues / chain
15! nrsp - total no. of residues
16! irsatp() - index of 1st atom / res.
17! nrsatp() - no. of atoms / res.
18! natp - total no. of selected atoms
19! noatp() - atom numbers
20
21 common /pdb_i/ nchp,nchrsp(MXCHP),
22 & nrsp,irsatp(MXRSP),nrsatp(MXRSP),
23 & natp,noatp(MXATP)
24 save /pdb_i/
25
26! chnp() - chain identifiers
27! rsidp() - residue identifiers (number + insertion code)
28! rsnmp() - residues (sequence, 3-letter code)
29! atnmp() - atom names
30
31 character chnp(MXCHP),
32 & rsidp(MXRSP)*5,rsnmp(MXRSP)*3,
33 & atnmp(MXATP)*4
34
35 common /pdb_c/ chnp,rsnmp,rsidp,atnmp
36 save /pdb_c/
37
38! xatp,yatp,zatp - atom coordinates
39
40 common /pdb_r/ xatp(MXATP),yatp(MXATP),zatp(MXATP)
41 save /pdb_r/
42
43! ------------------- code to list all PDB information
44! ir=0
45! do i=1,nchp
46! write (logString, *) ' ===== chain |',chnp(i),'|'
47! do j=1,nchrsp(i)
48! ir=ir+1
49! write (logString, *) ' ----- ',rsidp(ir),' ',rsnmp(ir),' ',nrsatp(ir)
50! k1=irsatp(ir)
51! k2=k1+nrsatp(ir)-1
52! do k=k1,k2
53! write (logString, *) ' ',noatp(k),' ',atnmp(k),' ',(xyzp(l,k),l=1,3)
54! enddo
55! enddo
56! enddo
Note: See TracBrowser for help on using the repository browser.