| 1 |
#ifndef _GUIGLOBAL_H |
| 2 |
#define _GUIGLOBAL_H |
| 3 |
|
| 4 |
#ifndef _NO_PROTO |
| 5 |
#if !(defined(__STDC__) && __STDC__) \ |
| 6 |
&& !defined(__cplusplus) \ |
| 7 |
&& !defined(c_plusplus) \ |
| 8 |
&& !defined(FUNCPROTO) \ |
| 9 |
&& !defined(XTFUNCPROTO) \ |
| 10 |
&& !defined(XMFUNCPROTO) |
| 11 |
#define _NO_PROTO |
| 12 |
#endif |
| 13 |
#endif |
| 14 |
|
| 15 |
#ifdef __cplusplus |
| 16 |
extern "C" { |
| 17 |
#endif |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
GlobalPar GP; |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
GlobalWidget GW; |
| 28 |
|
| 29 |
|
| 30 |
enum { |
| 31 |
PAR_NDIM, |
| 32 |
PAR_NBC, |
| 33 |
PAR_NINT, |
| 34 |
PAR_JAC, |
| 35 |
PAR_NTST, |
| 36 |
PAR_NCOL, |
| 37 |
PAR_IAD, |
| 38 |
PAR_EPSL, |
| 39 |
PAR_EPSU, |
| 40 |
PAR_EPSS, |
| 41 |
PAR_ITMX, |
| 42 |
PAR_NWTN, |
| 43 |
PAR_ITNW, |
| 44 |
PAR_DS, |
| 45 |
PAR_DSMIN, |
| 46 |
PAR_DSMAX, |
| 47 |
PAR_IADS, |
| 48 |
PAR_NMX, |
| 49 |
PAR_RL0, |
| 50 |
PAR_RL1, |
| 51 |
PAR_A0, |
| 52 |
PAR_A1, |
| 53 |
PAR_NICP, |
| 54 |
PAR_ICP, |
| 55 |
PAR_ILP, |
| 56 |
PAR_ISP, |
| 57 |
PAR_ISW, |
| 58 |
PAR_MXBF, |
| 59 |
PAR_IRS, |
| 60 |
PAR_IPS, |
| 61 |
PAR_NPR, |
| 62 |
PAR_IID, |
| 63 |
PAR_IPLT, |
| 64 |
PAR_NUZR, |
| 65 |
PAR_NTHL, |
| 66 |
PAR_NTHU |
| 67 |
}; |
| 68 |
|
| 69 |
|
| 70 |
char *parLabel[] = { |
| 71 |
"NDIM", |
| 72 |
"NBC", |
| 73 |
"NINT", |
| 74 |
"JAC", |
| 75 |
|
| 76 |
"NTST", |
| 77 |
"NCOL", |
| 78 |
"IAD", |
| 79 |
|
| 80 |
"EPSL", |
| 81 |
"EPSU", |
| 82 |
"EPSS", |
| 83 |
"ITMX", |
| 84 |
"NWTN", |
| 85 |
"ITNW", |
| 86 |
|
| 87 |
"DS", |
| 88 |
"DSMIN", |
| 89 |
"DSMAX", |
| 90 |
"IADS", |
| 91 |
|
| 92 |
"NMX", |
| 93 |
"RL0", |
| 94 |
"RL1", |
| 95 |
"A0", |
| 96 |
"A1", |
| 97 |
|
| 98 |
"NICP", |
| 99 |
"ICP", |
| 100 |
|
| 101 |
|
| 102 |
"ILP", |
| 103 |
"ISP", |
| 104 |
"ISW", |
| 105 |
"MXBF", |
| 106 |
"IRS", |
| 107 |
"IPS", |
| 108 |
|
| 109 |
"NPR", |
| 110 |
"IID", |
| 111 |
"IPLT", |
| 112 |
"NUZR", |
| 113 |
"NTHL", |
| 114 |
"NTHU" |
| 115 |
|
| 116 |
}; |
| 117 |
|
| 118 |
char *strHelp[] = { |
| 119 |
|
| 120 |
"NDIM\n\ |
| 121 |
\n\ |
| 122 |
Dimension of the system of equations as specified in the user-supplied\n\ |
| 123 |
subroutine FUNC.", |
| 124 |
|
| 125 |
"NBC\n\ |
| 126 |
\n\ |
| 127 |
The number of boundary conditions as specified in the user-supplied\n\ |
| 128 |
subroutine BCND.", |
| 129 |
|
| 130 |
"NINT\n\ |
| 131 |
\n\ |
| 132 |
The number of integral conditions as specified in the user-supplied\n\ |
| 133 |
subroutine ICND.", |
| 134 |
|
| 135 |
"JAC\n\ |
| 136 |
\n\ |
| 137 |
Used to indicate whether derivatives are supplied by the user or to\n\ |
| 138 |
be obtained by differencing :\n\ |
| 139 |
\n\ |
| 140 |
JAC=0 :\n\ |
| 141 |
\n\ |
| 142 |
No derivatives are given by the user. (Most demos use JAC=0.)\n\ |
| 143 |
\n\ |
| 144 |
JAC=1 :\n\ |
| 145 |
\n\ |
| 146 |
Derivatives with respect to state- and problem-parameters are given\n\ |
| 147 |
in the user-supplied subroutines FUNC, BCND, ICND and FOPT.", |
| 148 |
|
| 149 |
"NTST\n\ |
| 150 |
\n\ |
| 151 |
The number of mesh intervals used for discretization. NTST remains\n\ |
| 152 |
fixed during any particular run, but can be changed when restarting.\n\ |
| 153 |
Recommended value of NTST : As small as possible to maintain\n\ |
| 154 |
convergence.", |
| 155 |
|
| 156 |
"NCOL\n\ |
| 157 |
\n\ |
| 158 |
The number of Gauss collocation points per mesh interval (2<=NCOL<=7).\n\ |
| 159 |
NCOL remains fixed during any given run, but can be changed when\n\ |
| 160 |
restarting at a previously computed solution. The choice NCOL=4,\n\ |
| 161 |
used in most demos, is recommended.", |
| 162 |
|
| 163 |
"IAD \n\ |
| 164 |
\n\ |
| 165 |
This constant controls the mesh adaption : \n\ |
| 166 |
\n\ |
| 167 |
IAD=0 :Fixed mesh. This choice should never be used, as it may result \n\ |
| 168 |
in spurious solutions. \n\ |
| 169 |
\n\ |
| 170 |
IAD>0 : Adapt the mesh every IAD steps along the branch. Most demos\n\ |
| 171 |
use IAD=3, which is the strongly recommended value.", |
| 172 |
|
| 173 |
"EPSL\n\ |
| 174 |
\n\ |
| 175 |
Relative convergence criterion for equation parameters in the\n\ |
| 176 |
Newton/Chord method. Most demos use EPSL=10^{-6} or EPSL=10^{-7}, \n\ |
| 177 |
which is the recommended value range.", |
| 178 |
|
| 179 |
"EPSU\n\ |
| 180 |
\n\ |
| 181 |
Relative convergence criterion for solution components in the\n\ |
| 182 |
Newton/Chord method. Most demos use EPSU=10^{-6} or EPSU=10^{-7}, \n\ |
| 183 |
which is the recommended value range.", |
| 184 |
|
| 185 |
"EPSS\n\ |
| 186 |
\n\ |
| 187 |
Relative arclength convergence criterion for detecting special \n\ |
| 188 |
solutions. Most demos use EPSS=10^{-4} or EPSS=10^{-5}, which is\n\ |
| 189 |
the recommended value range. Generally, EPSS should be approximately\n\ |
| 190 |
100 to 1000 times the value of EPSL, EPSU.", |
| 191 |
|
| 192 |
"ITMX\n\ |
| 193 |
\n\ |
| 194 |
The maximum number of iterations allowed in the accurate location of\n\ |
| 195 |
special solutions, such as bifurcations, folds, and user output points, \n\ |
| 196 |
by Muller's method with bracketing. The recommended value is ITMX=8, \n\ |
| 197 |
used in most demos.", |
| 198 |
|
| 199 |
"NWTN\n\ |
| 200 |
\n\ |
| 201 |
After NWTN Newton iterations the Jacobian is frozen, i.e., AUTO uses\n\ |
| 202 |
full Newton for the first NWTN iterations and the Chord method for\n\ |
| 203 |
iterations NWTN+1 to ITNW. The choice NWTN=3 is strongly recommended\n\ |
| 204 |
and used in most demos. Note that this constant is only effective for\n\ |
| 205 |
ODEs, i.e., for solving the piecewise polynomial collocation equations.\n\ |
| 206 |
For algebraic systems AUTO always uses full Newton.", |
| 207 |
|
| 208 |
"ITNW\n\ |
| 209 |
\n\ |
| 210 |
The maximum number of combined Newton-Chord iterations. When this\n\ |
| 211 |
maximum is reached, the step will be retried with half the stepsize.\n\ |
| 212 |
This is repeated until convergence, or until the minimum stepsize is\n\ |
| 213 |
reached. In the latter case the computation of the branch is\n\ |
| 214 |
discontinued and a message printed in fort.9. The recommended value\n\ |
| 215 |
is ITNW=5, but ITNW=7 may be used for difficult problems.", |
| 216 |
|
| 217 |
"DS\n\ |
| 218 |
\n\ |
| 219 |
The constant DS defines the pseudo-arclength stepsize to be used for\n\ |
| 220 |
the first attempted step along any branch. (Note that if IADS>0 then\n\ |
| 221 |
DS will automatically be adapted for subsequent steps and for failed\n\ |
| 222 |
steps.) DS may be chosen positive or negative; changing its sign\n\ |
| 223 |
reverses the direction of computation. The relation\n\ |
| 224 |
\n\ |
| 225 |
DSMIN < |DS| <= DSMAX\n\ |
| 226 |
\n\ |
| 227 |
must be satisfied. The precise choice of DS is problem-dependent; the demos\n\ |
| 228 |
use a value that was found appropriate after some experimentation.", |
| 229 |
|
| 230 |
"DSMIN\n\ |
| 231 |
\n\ |
| 232 |
This is minimum allowable absolute value of the pseudo-arclength\n\ |
| 233 |
stepsize. DSMIN must be positive. It is only effective if the \n\ |
| 234 |
pseudo-arclength step is adaptive, i.e., if IADS>0. The choice of\n\ |
| 235 |
DSMIN is highly problem-dependent; most demos use a value that was\n\ |
| 236 |
found appropriate after some experimentation.", |
| 237 |
|
| 238 |
"DSMAX\n\ |
| 239 |
\n\ |
| 240 |
The maximum allowable absolute value of the pseudo-arclength stepsize. \n\ |
| 241 |
DSMAX must be positive. It is only effective if the pseudo-arclength \n\ |
| 242 |
step is adaptive, i.e., if IADS>0. The choice of DSMAX is highly \n\ |
| 243 |
problem-dependent; most demos use a value that was found appropriate\n\ |
| 244 |
after some experimentation.", |
| 245 |
|
| 246 |
"IADS\n\ |
| 247 |
\n\ |
| 248 |
This constant controls the frequency of adaption of the\n\ |
| 249 |
pseudo-arclength stepsize.\n\ |
| 250 |
\n\ |
| 251 |
IADS=0 :\n\ |
| 252 |
\n\ |
| 253 |
Use fixed pseudo-arclength stepsize, i.e., the stepsize will be equal\n\ |
| 254 |
to the specified value of DS for every step. The computation of a\n\ |
| 255 |
branch will be discontinued as soon as the maximum number of\n\ |
| 256 |
iterations ITNW is reached. This choice is not recommended.\n\ |
| 257 |
\n\ |
| 258 |
IADS>0 :\n\ |
| 259 |
\n\ |
| 260 |
Adapt the pseudo-arclength stepsize after every IADS steps. The \n\ |
| 261 |
recommended value is IADS=1, which is used in almost all demos.", |
| 262 |
|
| 263 |
"NMX\n\ |
| 264 |
\n\ |
| 265 |
The maximum number of steps to be taken along any branch.", |
| 266 |
|
| 267 |
"RL0\n\ |
| 268 |
\n\ |
| 269 |
The lower bound on the principal continuation parameter. i.e., on the\n\ |
| 270 |
parameter that appears first in the ICP list.", |
| 271 |
|
| 272 |
"RL1\n\ |
| 273 |
\n\ |
| 274 |
The upper bound on the principal continuation parameter.", |
| 275 |
|
| 276 |
"A0\n\ |
| 277 |
\n\ |
| 278 |
The lower bound on the principal solution measure. (By default, if\n\ |
| 279 |
IPLT=0, the principal solution measure is the L_2-norm of the state \n\ |
| 280 |
vector or state vector function.)", |
| 281 |
|
| 282 |
"A1\n\ |
| 283 |
\n\ |
| 284 |
The upper bound on the principal solution measure.", |
| 285 |
|
| 286 |
"ICP\n\ |
| 287 |
\n\ |
| 288 |
For each equation type and for each continuation calculation there is \n\ |
| 289 |
a typical (generic) number of problem parameters that must be\n\ |
| 290 |
allowed to vary, in order for the calculations to be properly posed. \n\ |
| 291 |
The constant NICP indicates how many free parameters have been\n\ |
| 292 |
specified, while the array ICP designates these free parameters. \n\ |
| 293 |
The parameter that appears first in the ICP list is called the\n\ |
| 294 |
principal continuation parameter. See the AUTO manual for more details.", |
| 295 |
|
| 296 |
"NICP \n\ |
| 297 |
\n\ |
| 298 |
For each equation type and for each continuation calculation there is \n\ |
| 299 |
a typical (generic) number of problem parameters that must be\n\ |
| 300 |
allowed to vary, in order for the calculations to be properly posed. \n\ |
| 301 |
The constant NICP indicates how many free parameters have been\n\ |
| 302 |
specified, while the array ICP designates these free parameters. \n\ |
| 303 |
The parameter that appears first in the ICP list is called the\n\ |
| 304 |
principal continuation parameter. See the AUTO manual for more details.", |
| 305 |
|
| 306 |
"ILP\n\ |
| 307 |
\n\ |
| 308 |
ILP=0 : No detection of folds. This choice is recommended. \n\ |
| 309 |
\n\ |
| 310 |
ILP=1 : Detection of folds. This setting should be used if subsequent \n\ |
| 311 |
fold continuation is intended.", |
| 312 |
|
| 313 |
|
| 314 |
"ISP\n\ |
| 315 |
\n\ |
| 316 |
This constant controls the detection of branch points, period-doubling\n\ |
| 317 |
bifurcations, and torus bifurcations.\n\ |
| 318 |
\n\ |
| 319 |
ISP=0 :\n\ |
| 320 |
\n\ |
| 321 |
This setting disables the detection of branch points, period-doubling \n\ |
| 322 |
bifurcations, and torus bifurcations and the computation of Floquet\n\ |
| 323 |
multipliers. \n\ |
| 324 |
\n\ |
| 325 |
ISP=1 :\n\ |
| 326 |
\n\ |
| 327 |
Branch points are detected for algebraic equations, but not for \n\ |
| 328 |
periodic solutions and boundary value problems. Period-doubling \n\ |
| 329 |
bifurcations and torus bifurcations are not located either. However, \n\ |
| 330 |
Floquet multipliers are computed. \n\ |
| 331 |
\n\ |
| 332 |
ISP=2 :\n\ |
| 333 |
\n\ |
| 334 |
This setting enables the detection of all special solutions. \n\ |
| 335 |
\n\ |
| 336 |
ISP=3 :\n\ |
| 337 |
\n\ |
| 338 |
Branch points will be detected, but AUTO will not monitor the \n\ |
| 339 |
Floquet multipliers. Period-doubling and torus bifurcations will \n\ |
| 340 |
go undetected. This option is useful for certain problems with \n\ |
| 341 |
non-generic Floquet behavior.", |
| 342 |
|
| 343 |
|
| 344 |
"ISW\n\ |
| 345 |
\n\ |
| 346 |
This constant controls branch switching at branch points for the case \n\ |
| 347 |
of differential equations. Note that branch switching is automatic for \n\ |
| 348 |
algebraic equations. \n\ |
| 349 |
\n\ |
| 350 |
ISW=1 : This is the normal value of ISW. \n\ |
| 351 |
\n\ |
| 352 |
ISW=-1 : \n\ |
| 353 |
\n\ |
| 354 |
If IRS is the label of a branch point or a period-doubling bifurcation \n\ |
| 355 |
then branch switching will be done. \n\ |
| 356 |
\n\ |
| 357 |
ISW=2 : \n\ |
| 358 |
\n\ |
| 359 |
If IRS is the label of a fold, a Hopf bifurcation point, or a\n\ |
| 360 |
a period-doubling or torus bifurcation then a locus of such points \n\ |
| 361 |
will be computed.", |
| 362 |
|
| 363 |
"MXBF\n\ |
| 364 |
\n\ |
| 365 |
This constant, which is effective for algebraic problems only, sets\n\ |
| 366 |
the maximum number of bifurcations to be treated. Additional branch\n\ |
| 367 |
points will be noted, but the corresponding bifurcating branches will \n\ |
| 368 |
not be computed. If MXBF is positive then the bifurcating branches of \n\ |
| 369 |
the first MXBF branch points will be traced out in both directions. \n\ |
| 370 |
If MXBF is negative then the bifurcating branches of the first |MXBF| \n\ |
| 371 |
branch points will be traced out in only one direction.", |
| 372 |
|
| 373 |
"IRS\n\ |
| 374 |
\n\ |
| 375 |
This constant sets the label of the solution where the computation is\n\ |
| 376 |
to be restarted. \n\ |
| 377 |
\n\ |
| 378 |
IRS=0 :\n\ |
| 379 |
\n\ |
| 380 |
This setting is typically used in the first run of a new problem. \n\ |
| 381 |
\n\ |
| 382 |
IRS>0 : \n\ |
| 383 |
\n\ |
| 384 |
Restart the computation at the previously computed solution with label \n\ |
| 385 |
IRS. This solution is normally expected to be in the current\n\ |
| 386 |
data-file. Various AUTO-constants can be modified when restarting.", |
| 387 |
|
| 388 |
"IPS\n\ |
| 389 |
\n\ |
| 390 |
This constant defines the problem type : \n\ |
| 391 |
\n\ |
| 392 |
IPS=0 : An algebraic bifurcation problem. \n\ |
| 393 |
\n\ |
| 394 |
IPS=1 : Stationary solutions of ODEs with detection of Hopf bifurcations. \n\ |
| 395 |
\n\ |
| 396 |
IPS=-1 : Fixed points of a discrete dynamical system. \n\ |
| 397 |
\n\ |
| 398 |
IPS=-2 : Time integration using implicit Euler.\n\ |
| 399 |
\n\ |
| 400 |
IPS=2 : Computation of periodic solutions.\n\ |
| 401 |
\n\ |
| 402 |
IPS=4 : A boundary value problem.\n\ |
| 403 |
\n\ |
| 404 |
IPS=5 : Algebraic optimization problems.\n\ |
| 405 |
\n\ |
| 406 |
IPS=7 : A boundary value problem with computation of Floquet multipliers.\n\ |
| 407 |
\n\ |
| 408 |
IPS=9 : This option is used in connection with the HomCont algorithms\n\ |
| 409 |
for the detection and continuation of homoclinic bifurcations.\n\ |
| 410 |
\n\ |
| 411 |
IPS=11 : Spatially uniform solutions of a system of parabolic PDEs,\n\ |
| 412 |
with detection of bifurcations to traveling waves.\n\ |
| 413 |
\n\ |
| 414 |
IPS=12 : Continuation of traveling wave solutions to a system of \n\ |
| 415 |
parabolic PDEs.\n\ |
| 416 |
\n\ |
| 417 |
IPS=14 : Time evolution for a system of parabolic PDEs subject to\n\ |
| 418 |
periodic boundary conditions.\n\ |
| 419 |
\n\ |
| 420 |
IPS=15 : Optimization of periodic solutions.\n\ |
| 421 |
\n\ |
| 422 |
IPS=16 : This option is similar to IPS=14, except that user supplies\n\ |
| 423 |
the boundary conditions.\n\ |
| 424 |
\n\ |
| 425 |
IPS=17 : This option can be used to continue stationary solutions of\n\ |
| 426 |
parabolic systems obtained from an evolution run with IPS=16.", |
| 427 |
|
| 428 |
"NPR\n\ |
| 429 |
\n\ |
| 430 |
This constant can be used to regularly write fort.8 plotting and\n\ |
| 431 |
restart data.\n\ |
| 432 |
\n\ |
| 433 |
IF NPR>0 then such output is written every NPR steps. \n\ |
| 434 |
\n\ |
| 435 |
IF NPR=0 or if NPR >= NMX then no such output is written.", |
| 436 |
|
| 437 |
"IID \n\ |
| 438 |
\n\ |
| 439 |
This constant controls the amount of diagnostic output printed in\n\ |
| 440 |
fort.9 : the greater IID the more detailed the diagnostic output. \n\ |
| 441 |
\n\ |
| 442 |
IID=0 : Minimal diagnostic output. This setting is not recommended. \n\ |
| 443 |
\n\ |
| 444 |
IID=2 : Regular diagnostic output. This value is recommended. \n\ |
| 445 |
\n\ |
| 446 |
IID=3 : This gives additional diagnostic output for algebraic equations, \n\ |
| 447 |
namely the Jacobian and the residual vector at the starting point. \n\ |
| 448 |
\n\ |
| 449 |
IID=4 : This gives additional diagnostic output for differential\n\ |
| 450 |
equations, namely the reduced system and the associated residual\n\ |
| 451 |
vector. \n\ |
| 452 |
\n\ |
| 453 |
IID=5 : This setting gives very extensive diagnostic output for \n\ |
| 454 |
differential equations, namely, debug output from the linear \n\ |
| 455 |
equation solver. This setting should not normally be used.", |
| 456 |
|
| 457 |
"IPLT\n\ |
| 458 |
\n\ |
| 459 |
This constant allows redefinition of the principal solution measure,\n\ |
| 460 |
which is printed as the second (real) column in the screen output and\n\ |
| 461 |
in the fort.7 output-file : \n\ |
| 462 |
\n\ |
| 463 |
If IPLT = 0 then the L_2-norm is printed. Most demos use this setting. \n\ |
| 464 |
\n\ |
| 465 |
If 0 < IPLT <= NDIM then the maximum of the IPLT'th solution component \n\ |
| 466 |
is printed. \n\ |
| 467 |
\n\ |
| 468 |
If - NDIM <= IPLT <0 then the minimum of the IPLT'th solution component \n\ |
| 469 |
is printed. \n\ |
| 470 |
\n\ |
| 471 |
If NDIM < IPLT <= 2* NDIM then the integral of the ( IPLT- NDIM)'th\n\ |
| 472 |
solution component is printed.\n\ |
| 473 |
\n\ |
| 474 |
If 2* NDIM < IPLT <= 3* NDIM then the L_2-norm of the ( IPLT- NDIM)'th\n\ |
| 475 |
solution component is printed.", |
| 476 |
|
| 477 |
"NUZR\n\ |
| 478 |
\n\ |
| 479 |
This constant allows the setting of parameter values at which labeled \n\ |
| 480 |
plotting and restart information is to be written in the fort.8\n\ |
| 481 |
output-file. Optionally, it also allows the computation to terminate \n\ |
| 482 |
at such a point. \n\ |
| 483 |
\n\ |
| 484 |
Set NUZR=0 if no such output is needed. Many demos use this setting. \n\ |
| 485 |
\n\ |
| 486 |
If NUZR>0 then one must enter NUZR pairs, \n\ |
| 487 |
\n\ |
| 488 |
<Parameter-Index> <Parameter-Value> \n\ |
| 489 |
\n\ |
| 490 |
If the <Parameter-Index> is preceded by a minus sign then the\n\ |
| 491 |
computation will terminate at such a solution point.", |
| 492 |
|
| 493 |
"NTHL\n\ |
| 494 |
\n\ |
| 495 |
By default, the pseudo-arclength stepsize includes all state variables \n\ |
| 496 |
(or state functions) and all free parameters. Under certain\n\ |
| 497 |
circumstances one may want to modify the weight accorded to individual \n\ |
| 498 |
parameters in the definition of stepsize. \n\ |
| 499 |
\n\ |
| 500 |
If NTHL=0 then all weights will have default value 1.0 . \n\ |
| 501 |
\n\ |
| 502 |
If NTHL>0 then one must enter NTHL pairs, \n\ |
| 503 |
\n\ |
| 504 |
<Parameter-Index> <Weight>", |
| 505 |
|
| 506 |
"NTHU\n\ |
| 507 |
\n\ |
| 508 |
Under certain circumstances one may want to modify the weight accorded\n\ |
| 509 |
to individual state variables (or state functions) in the definition\n\ |
| 510 |
of stepsize.\n\ |
| 511 |
\n\ |
| 512 |
If NTHU=0 then all weights will have default value 1.0 . \n\ |
| 513 |
\n\ |
| 514 |
If NTHU>0 then one must enter NTHU pairs, \n\ |
| 515 |
\n\ |
| 516 |
<State-Index> <Weight>" |
| 517 |
}; |
| 518 |
|
| 519 |
char *demoItems[] = { |
| 520 |
"ab.f90", |
| 521 |
"abc.f90", |
| 522 |
"brc.f90", |
| 523 |
"brf.f90", |
| 524 |
"bru.f90", |
| 525 |
"bvp.f90", |
| 526 |
"chu.f90", |
| 527 |
"cir.f90", |
| 528 |
"dd2.f90", |
| 529 |
"enz.f90", |
| 530 |
"exp.f90", |
| 531 |
"ext.f90", |
| 532 |
"ezp.f90", |
| 533 |
"frc.f90", |
| 534 |
"fsh.f90", |
| 535 |
"int.f90", |
| 536 |
"ivp.f90", |
| 537 |
"kar.f90", |
| 538 |
"kpr.f90", |
| 539 |
"lin.f90", |
| 540 |
"lor.f90", |
| 541 |
"lrz.f90", |
| 542 |
"mtn.f90", |
| 543 |
"nag.f90", |
| 544 |
"non.f90", |
| 545 |
"obv.f90", |
| 546 |
"ops.f90", |
| 547 |
"opt.f90", |
| 548 |
"pd1.f90", |
| 549 |
"pd2.f90", |
| 550 |
"pen.f90", |
| 551 |
"phs.f90", |
| 552 |
"plp.f90", |
| 553 |
"pp2.f90", |
| 554 |
"pp3.f90", |
| 555 |
"ppp.f90", |
| 556 |
"pvl.f90", |
| 557 |
"san.f90", |
| 558 |
"she.f90", |
| 559 |
"spb.f90", |
| 560 |
"stw.f90", |
| 561 |
"tim.f90", |
| 562 |
"tor.f90", |
| 563 |
"wav.f90" |
| 564 |
}; |
| 565 |
|
| 566 |
char *demoHelp[] = { |
| 567 |
"See AUTO manual for help on ab", |
| 568 |
"See AUTO manual for help on abc", |
| 569 |
"See AUTO manual for help on brc", |
| 570 |
"See AUTO manual for help on brf", |
| 571 |
"See AUTO manual for help on bru", |
| 572 |
"See AUTO manual for help on bvp", |
| 573 |
"See AUTO manual for help on chu", |
| 574 |
"See AUTO manual for help on cir", |
| 575 |
"See AUTO manual for help on dd2", |
| 576 |
"See AUTO manual for help on enz", |
| 577 |
"See AUTO manual for help on exp", |
| 578 |
"See AUTO manual for help on ext", |
| 579 |
"See AUTO manual for help on ezp", |
| 580 |
"See AUTO manual for help on frc", |
| 581 |
"See AUTO manual for help on fsh", |
| 582 |
"See AUTO manual for help on int", |
| 583 |
"See AUTO manual for help on ivp", |
| 584 |
"See AUTO manual for help on kar", |
| 585 |
"See AUTO manual for help on kpr", |
| 586 |
"See AUTO manual for help on lin", |
| 587 |
"See AUTO manual for help on lor", |
| 588 |
"See AUTO manual for help on lrz", |
| 589 |
"See AUTO manual for help on mtn", |
| 590 |
"See AUTO manual for help on nag", |
| 591 |
"See AUTO manual for help on non", |
| 592 |
"See AUTO manual for help on obv", |
| 593 |
"See AUTO manual for help on ops", |
| 594 |
"See AUTO manual for help on opt", |
| 595 |
"See AUTO manual for help on pd1", |
| 596 |
"See AUTO manual for help on pd2", |
| 597 |
"See AUTO manual for help on pen", |
| 598 |
"See AUTO manual for help on phs", |
| 599 |
"See AUTO manual for help on plp", |
| 600 |
"See AUTO manual for help on pp2", |
| 601 |
"See AUTO manual for help on pp3", |
| 602 |
"See AUTO manual for help on ppp", |
| 603 |
"See AUTO manual for help on pvl", |
| 604 |
"See AUTO manual for help on san", |
| 605 |
"See AUTO manual for help on she", |
| 606 |
"See AUTO manual for help on spb", |
| 607 |
"See AUTO manual for help on stw", |
| 608 |
"See AUTO manual for help on tim", |
| 609 |
"See AUTO manual for help on tor", |
| 610 |
"See AUTO manual for help on wav" |
| 611 |
}; |
| 612 |
|
| 613 |
|
| 614 |
|
| 615 |
|
| 616 |
unsigned char warningBits[] = { |
| 617 |
|
| 618 |
0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, |
| 619 |
0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, |
| 620 |
0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, |
| 621 |
0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, |
| 622 |
0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, |
| 623 |
0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, |
| 624 |
0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, |
| 625 |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x03, 0x00, |
| 626 |
0x00, 0xe0, 0x07, 0x00, 0x00, 0xf0, 0x0f, 0x00, 0x00, 0xf0, 0x0f, 0x00, |
| 627 |
0x00, 0xf0, 0x0f, 0x00, 0x00, 0xf0, 0x0f, 0x00, 0x00, 0xe0, 0x07, 0x00, |
| 628 |
0x00, 0xc0, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00 |
| 629 |
|
| 630 |
}; |
| 631 |
|
| 632 |
static char transTable[] = |
| 633 |
"Shift<Key>P: ArmAndActivate() \n\ |
| 634 |
Shift<Key>D: ArmAndActivate() \n\ |
| 635 |
Shift<Key>T: ArmAndActivate() \n\ |
| 636 |
Shift<Key>S: ArmAndActivate() \n\ |
| 637 |
Shift<Key>L: ArmAndActivate() \n\ |
| 638 |
Shift<Key>C: ArmAndActivate() \n\ |
| 639 |
Shift<Key>R: ArmAndActivate() \n\ |
| 640 |
Shift<Key>O: ArmAndActivate() \n\ |
| 641 |
Shift<Key>A: ArmAndActivate()"; |
| 642 |
|
| 643 |
|
| 644 |
#ifdef __cplusplus |
| 645 |
} |
| 646 |
#endif |
| 647 |
|
| 648 |
#endif |
| 649 |
|
| 650 |
|
| 651 |
|