comparison liboctave/DASPK-opts.in @ 5275:23b37da9fd5b

[project @ 2005-04-08 16:07:35 by jwe]
author jwe
date Fri, 08 Apr 2005 16:07:37 +0000
parents bdbee5282954
children 8b0cfeb06365
comparison
equal deleted inserted replaced
5274:eae7b40388e9 5275:23b37da9fd5b
81 81
82 If this option is set to a nonzero value, you must also set the 82 If this option is set to a nonzero value, you must also set the
83 @code{\"algebraic variables\"} option to declare which variables in the 83 @code{\"algebraic variables\"} option to declare which variables in the
84 problem are algebraic. 84 problem are algebraic.
85 END_DOC_ITEM 85 END_DOC_ITEM
86 TYPE = "int" 86 TYPE = "octave_idx_type"
87 INIT_VALUE = "0" 87 INIT_VALUE = "0"
88 SET_EXPR = "val" 88 SET_EXPR = "val"
89 END_OPTION 89 END_OPTION
90 90
91 OPTION 91 OPTION
92 NAME = "use initial condition heuristics" 92 NAME = "use initial condition heuristics"
93 DOC_ITEM 93 DOC_ITEM
94 Set to a nonzero value to use the initial condition heuristics options 94 Set to a nonzero value to use the initial condition heuristics options
95 described below. 95 described below.
96 END_DOC_ITEM 96 END_DOC_ITEM
97 TYPE = "int" 97 TYPE = "octave_idx_type"
98 INIT_VALUE = "0" 98 INIT_VALUE = "0"
99 SET_EXPR = "val" 99 SET_EXPR = "val"
100 END_OPTION 100 END_OPTION
101 101
102 OPTION 102 OPTION
151 NAME = "print initial condition info" 151 NAME = "print initial condition info"
152 DOC_ITEM 152 DOC_ITEM
153 Set this option to a nonzero value to display detailed information 153 Set this option to a nonzero value to display detailed information
154 about the initial condition calculation (default is 0). 154 about the initial condition calculation (default is 0).
155 END_DOC_ITEM 155 END_DOC_ITEM
156 TYPE = "int" 156 TYPE = "octave_idx_type"
157 INIT_VALUE = "0" 157 INIT_VALUE = "0"
158 SET_EXPR = "val" 158 SET_EXPR = "val"
159 END_OPTION 159 END_OPTION
160 160
161 OPTION 161 OPTION
163 DOC_ITEM 163 DOC_ITEM
164 Set to a nonzero value to exclude algebraic variables from the error 164 Set to a nonzero value to exclude algebraic variables from the error
165 test. You must also set the @code{\"algebraic variables\"} option to 165 test. You must also set the @code{\"algebraic variables\"} option to
166 declare which variables in the problem are algebraic (default is 0). 166 declare which variables in the problem are algebraic (default is 0).
167 END_DOC_ITEM 167 END_DOC_ITEM
168 TYPE = "int" 168 TYPE = "octave_idx_type"
169 INIT_VALUE = "0" 169 INIT_VALUE = "0"
170 SET_EXPR = "val" 170 SET_EXPR = "val"
171 END_OPTION 171 END_OPTION
172 172
173 OPTION 173 OPTION
180 180
181 This option is required by the 181 This option is required by the
182 @code{compute consistent initial condition\"} and 182 @code{compute consistent initial condition\"} and
183 @code{\"exclude algebraic variables from error test\"} options. 183 @code{\"exclude algebraic variables from error test\"} options.
184 END_DOC_ITEM 184 END_DOC_ITEM
185 TYPE = "Array<int>" 185 TYPE = "Array<octave_idx_type>"
186 SET_ARG_TYPE = const $TYPE& 186 SET_ARG_TYPE = const $TYPE&
187 INIT_BODY 187 INIT_BODY
188 $OPTVAR.resize (1); 188 $OPTVAR.resize (1);
189 $OPTVAR(0) = 0; 189 $OPTVAR(0) = 0;
190 END_INIT_BODY 190 END_INIT_BODY
212 @item To have constraint checking only in the initial condition calculation. 212 @item To have constraint checking only in the initial condition calculation.
213 @item To enforce constraint checking during the integration. 213 @item To enforce constraint checking during the integration.
214 @item To enforce both options 1 and 2. 214 @item To enforce both options 1 and 2.
215 @end enumerate 215 @end enumerate
216 END_DOC_ITEM 216 END_DOC_ITEM
217 TYPE = "int" 217 TYPE = "octave_idx_type"
218 INIT_VALUE = "0" 218 INIT_VALUE = "0"
219 SET_EXPR = "val" 219 SET_EXPR = "val"
220 END_OPTION 220 END_OPTION
221 221
222 OPTION 222 OPTION
241 @end table 241 @end table
242 242
243 This option only has an effect if the 243 This option only has an effect if the
244 @code{\"enforce inequality constraints\"} option is nonzero. 244 @code{\"enforce inequality constraints\"} option is nonzero.
245 END_DOC_ITEM 245 END_DOC_ITEM
246 TYPE = "Array<int>" 246 TYPE = "Array<octave_idx_type>"
247 SET_ARG_TYPE = const $TYPE& 247 SET_ARG_TYPE = const $TYPE&
248 INIT_BODY 248 INIT_BODY
249 $OPTVAR.resize (1); 249 $OPTVAR.resize (1);
250 $OPTVAR(0) = 0; 250 $OPTVAR(0) = 0;
251 END_INIT_BODY 251 END_INIT_BODY
252 SET_CODE 252 SET_CODE
253 void set_$OPT (int val) 253 void set_$OPT (octave_idx_type val)
254 { 254 {
255 $OPTVAR.resize (1); 255 $OPTVAR.resize (1);
256 $OPTVAR(0) = val; 256 $OPTVAR(0) = val;
257 reset = true; 257 reset = true;
258 } 258 }
280 NAME = "maximum order" 280 NAME = "maximum order"
281 DOC_ITEM 281 DOC_ITEM
282 Restrict the maximum order of the solution method. This option must 282 Restrict the maximum order of the solution method. This option must
283 be between 1 and 5, inclusive (default is 5). 283 be between 1 and 5, inclusive (default is 5).
284 END_DOC_ITEM 284 END_DOC_ITEM
285 TYPE = "int" 285 TYPE = "octave_idx_type"
286 INIT_VALUE = "5" 286 INIT_VALUE = "5"
287 SET_EXPR = "val" 287 SET_EXPR = "val"
288 END_OPTION 288 END_OPTION
289 289
290 OPTION 290 OPTION