Skip to content

__dassl_options__

builtin · libnexusinterp/corefcn/DASSL-opts.cc

: __dassl_options__ ()
: val = __dassl_options__ (key)
: __dassl_options__ (key, val)

Query or change the options used by the dassl solver.

Called without arguments the option names and their present values are listed. Called with key alone the current value is returned, and with key and val the option is changed. Names are matched without regard to case and may be shortened as long as the result is unambiguous; every word of a multi-word name may be shortened independently.

Available options:

"absolute tolerance"
"relative tolerance"

Error tolerances, scalar or one entry per state.

"compute consistent initial condition"

Nonzero makes the solver correct the initial state so it satisfies the equations.

"enforce nonnegativity constraints"

Nonzero keeps all solution components nonnegative.

"initial step size"
"maximum step size"

Step size controls; a negative value lets the solver choose.

"maximum order"

Highest order of the method.

"step limit"

Upper bound on the number of steps taken in one call.