source: PSPA/madxPSPA/doc/usrguide/error/error_option.html @ 430

Last change on this file since 430 was 430, checked in by touze, 11 years ago

import madx-5.01.00

File size: 1.5 KB
Line 
1<head>
2<title>EOPTION</title>
3<!-- Changed by: Hans Grote, 13-Sep-2000 -->
4<!-- Changed by: Werner Herr, 19-Jun-2002 -->
5</head>
6
7<body bgcolor="#ffffff">
8
9<h1>EOPTION: Set Error Options</h1>
10
11The random generator for MAD is taken from
12<a href="../Introduction/bibliography.html#knuth">[Knuth]</a>.
13The error option command specifies different seeds for random values:
14<pre>
15EOPTION,SEED=real,ADD=logical;
16</pre>
17<ul>
18<li>SEED:
19Selects a particular sequence of random values.
20A SEED value is an integer in the range [0...999999999] (default: 123456789).
21SEED alone continues with the current sequence
22See also: <a href="../Introduction/expression.html#random">Random values</a>.
23SEED may be an expression.
24<li>ADD:
25If this logical flag is set,
26an EALIGN or EFCOMP, causes the errors to
27be added on top of existing ones.
28If it is not set, new errors overwrite any previous definitions.
29The default value is TRUE if it is omitted in the EOPTION command.
30The default value is false if no EOPTION command is used.
31<BR>
32<font COLOR="#ff0000">Please note a recent modification:</font> the default value for the ADD
33option is only applied as long as the ADD option has not been set explicitly.
34Once it was set with EOPTION, it is NOT reset to the default when     
35the ADD option is omitted in subsequent calls to EOPTION.
36</ul>
37<font COLOR="#ff0000">
38Example:
39<pre>
40EOPTION,SEED=987456321;
41</pre>
42</font>
43
44<address>
45<a href="http://consult.cern.ch/xwho/people/1808">Werner Herr</a>
4618.6.2002
47</address>
48
49</body>
Note: See TracBrowser for help on using the repository browser.