added source code
[unres.git] / source / unres / src_MD / sizes.i
1 c
2 c
3 c     ###################################################
4 c     ##  COPYRIGHT (C)  1992  by  Jay William Ponder  ##
5 c     ##              All Rights Reserved              ##
6 c     ###################################################
7 c
8 c     #############################################################
9 c     ##                                                         ##
10 c     ##  sizes.i  --  parameter values to set array dimensions  ##
11 c     ##                                                         ##
12 c     #############################################################
13 c
14 c
15 c     "sizes.i" sets values for critical array dimensions used
16 c     throughout the software; these parameters will fix the size
17 c     of the largest systems that can be handled; values too large
18 c     for the computer's memory and/or swap space to accomodate
19 c     will result in poor performance or outright failure
20 c
21 c     parameter:      maximum allowed number of:
22 c
23 c     maxatm          atoms in the molecular system
24 c     maxval          atoms directly bonded to an atom
25 c     maxgrp          user-defined groups of atoms
26 c     maxtyp          force field atom type definitions
27 c     maxclass        force field atom class definitions
28 c     maxkey          lines in the keyword file
29 c     maxrot          bonds for torsional rotation
30 c     maxvar          optimization variables (vector storage)
31 c     maxopt          optimization variables (matrix storage)
32 c     maxhess         off-diagonal Hessian elements
33 c     maxlight        sites for method of lights neighbors
34 c     maxvib          vibrational frequencies
35 c     maxgeo          distance geometry points
36 c     maxcell         unit cells in replicated crystal
37 c     maxring         3-, 4-, or 5-membered rings
38 c     maxfix          geometric restraints
39 c     maxbio          biopolymer atom definitions
40 c     maxres          residues in the macromolecule
41 c     maxamino        amino acid residue types
42 c     maxnuc          nucleic acid residue types
43 c     maxbnd          covalent bonds in molecular system
44 c     maxang          bond angles in molecular system
45 c     maxtors         torsional angles in molecular system
46 c     maxpi           atoms in conjugated pisystem
47 c     maxpib          covalent bonds involving pisystem
48 c     maxpit          torsional angles involving pisystem
49 c
50 c
51       integer maxatm,maxval,maxgrp
52       integer maxtyp,maxclass,maxkey
53       integer maxrot,maxopt
54       integer maxhess,maxlight,maxvib
55       integer maxgeo,maxcell,maxring
56       integer maxfix,maxbio
57       integer maxamino,maxnuc,maxbnd
58       integer maxang,maxtors,maxpi
59       integer maxpib,maxpit
60       parameter (maxatm=maxres2)
61       parameter (maxval=8)
62       parameter (maxgrp=1000)
63       parameter (maxtyp=3000)
64       parameter (maxclass=500)
65       parameter (maxkey=10000)
66       parameter (maxrot=1000)
67       parameter (maxopt=1000)
68       parameter (maxhess=1000000)
69       parameter (maxlight=8*maxatm)
70       parameter (maxvib=1000)
71       parameter (maxgeo=1000)
72       parameter (maxcell=10000)
73       parameter (maxring=10000)
74       parameter (maxfix=10000)
75       parameter (maxbio=10000)
76       parameter (maxamino=31)
77       parameter (maxnuc=12)
78       parameter (maxbnd=2*maxatm)
79       parameter (maxang=3*maxatm)
80       parameter (maxtors=4*maxatm)
81       parameter (maxpi=100)
82       parameter (maxpib=2*maxpi)
83       parameter (maxpit=4*maxpi)