FORM  4.1
fsizes.h
Go to the documentation of this file.
1 
6 /* #[ License : */
7 /*
8  * Copyright (C) 1984-2013 J.A.M. Vermaseren
9  * When using this file you are requested to refer to the publication
10  * J.A.M.Vermaseren "New features of FORM" math-ph/0010025
11  * This is considered a matter of courtesy as the development was paid
12  * for by FOM the Dutch physics granting agency and we would like to
13  * be able to track its scientific use to convince FOM of its value
14  * for the community.
15  *
16  * This file is part of FORM.
17  *
18  * FORM is free software: you can redistribute it and/or modify it under the
19  * terms of the GNU General Public License as published by the Free Software
20  * Foundation, either version 3 of the License, or (at your option) any later
21  * version.
22  *
23  * FORM is distributed in the hope that it will be useful, but WITHOUT ANY
24  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
25  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
26  * details.
27  *
28  * You should have received a copy of the GNU General Public License along
29  * with FORM. If not, see <http://www.gnu.org/licenses/>.
30  */
31 /* #] License : */
32 
33 /*
34  First the fixed variables
35 */
36 #define MAXPRENAMESIZE 128
37 /*
38  The following variables are default sizes. They can be changed
39  into values read from the setup file
40 
41  Remark (21-dec-2008 JV): WILDOFFSET*3 should be larger than WILDMASK!!!!
42  old value was WILDOFFSET 200000100
43  be careful with old .sav files!!!
44 */
45 #ifdef WORDSIZE32
46 #define MAXPOWER 500000000
47 #define MAXVARIABLES 200000050
48 #define MAXDOLLARVARIABLES 1000000000L
49 #define WILDOFFSET 400000100
50 #define MAXINNAMETREE 2000000000
51 #define MAXDUMMIES 100000000
52 #define WORKBUFFER 40000000
53 #define MAXTER 40000
54 #define HALFMAX 0x10000
55 #else
56 #define MAXPOWER 10000
57 #define MAXVARIABLES 8050
58 #define MAXDOLLARVARIABLES 32000
59 #define WILDOFFSET 6100
60 #define MAXINNAMETREE 32768
61 #define MAXDUMMIES 1000
62 #define WORKBUFFER 10000000
63 #define MAXTER 10000
64 #define HALFMAX 0x100
65 #endif
66 #define MAXENAME 16
67 #define MAXSAVEFUNCTION 16384
68 
69 #define MAXPARLEVEL 100
70 #define MAXNUMBERSIZE 200
71 
72 #define MAXREPEAT 100
73 #define NORMSIZE 1000
74 
75 #define INITNODESIZE 10
76 #define INITNAMESIZE 100
77 
78 #define NUMFIXED 128
79 #define MAXNEST 100
80 #define MAXMATCH 30
81 #define MAXIF 20
82 #define SIZEFACS 640L
83 #define NUMFACS 50
84 #define MAXLOOPS 30
85 #define MAXLABELS 20
86 #define COMMERCIALSIZE 24
87 #define MAXFLAGS 16
88 /*
89  The next quantities should still be eliminated from the program
90  This should be together with changes in setfile!
91 */
92 #define COMPRESSBUFFER 90000
93 #define FORTRANCONTINUATIONLINES 15
94 #define MAXLEVELS 2000
95 #define MAXLHS 400
96 #define MAXWILDC 100
97 #define NUMTABLEENTRIES 1000
98 #define COMPILERBUFFER 20000
99 
100 #define SMALLBUFFER 10000000L
101 #define SMALLOVERFLOW 20000000L
102 #define TERMSSMALL 100000L
103 #define LARGEBUFFER 50000000L
104 #define MAXPATCHES 256
105 #define MAXFPATCHES 256
106 #define SORTIOSIZE 100000L
107 
108 #define SSMALLBUFFER 500000L
109 #define SSMALLOVERFLOW 800000L
110 #define STERMSSMALL 10000L
111 #define SLARGEBUFFER 4000000L
112 #define SMAXPATCHES 64
113 #define SMAXFPATCHES 64
114 #define SSORTIOSIZE 32768L
115 
116 #define SCRATCHSIZE 50000000L
117 
118 #define MAXFLEVELS 30
119 
120 #define COMPINC 2
121 
122 #define MAXNUMSIZE 10
123 
124 #define MAXBRACKETBUFFERSIZE 200000
125 
126 #define SFHSIZE 40
127 
128 #define DEFAULTPROCESSBUCKETSIZE 1000
129 #define SHMWINSIZE 65536L
130 
131 #define TABLEEXTENSION 6
132 
133 #define GZIPDEFAULT 6
134 #define DEFAULTTHREADS 0
135 #define DEFAULTTHREADBUCKETSIZE 500
136 #define DEFAULTTHREADLOADBALANCING 1
137 #define THREADSCRATCHSIZE 100000L
138 #define THREADSCRATCHOUTSIZE 2500000L
139 
140 #ifdef WORDSIZE32
141 #define MAXTABLECOMBUF 100000000000L
142 #define MAXCOMBUFRHS 1000000000L
143 #else
144 #define MAXTABLECOMBUF 1000000L
145 #define MAXCOMBUFRHS 32500L
146 #endif
147 
148 #define NUMSTORECACHES 4
149 #define SIZESTORECACHE 32768
150 
151 #define INDENTSPACE 3
152 
153 #define MULTIINDENTSPACE 1
154 #define MAXMULTIBRACKETLEVELS 25
155 
156 #define FBUFFERSIZE 1026
157 /*
158  For the random number generator (see commentary there)
159 */
160 #define NPAIR1 38
161 #define NPAIR2 89
162 
163 #define MAXLINELENGTH 256