Skip to content

__lsode_options__

builtin · libnexusinterp/corefcn/LSODE-opts.cc

: __lsode_options__ ()
: val = __lsode_options__ (key)
: __lsode_options__ (key, val)

Query or change the options used by the lsode solver.

With no arguments the option names and their current values are listed. With the single argument key the value of that option is returned, and with key and val the option is assigned. Names are not case sensitive and may be abbreviated when the abbreviation is unambiguous; every word of a multi-word name may be abbreviated on its own.

Available options:

"absolute tolerance"

Scalar, or a vector with one entry per state.

"relative tolerance"

Scalar; a negative assignment restores the default.

"integration method"

"stiff" (or "bdf") or "non-stiff" (or "adams"). It reads back as "stiff" or "non-stiff".

"initial step size"
"maximum step size"
"minimum step size"

Step size controls; a negative initial or maximum size lets the solver choose, and a negative minimum is stored as zero.

"maximum order"
"step limit"

Method order and bound on the number of steps in one call.

"jacobian type"

"full", "banded" or "diagonal".

"lower jacobian subdiagonals"
"upper jacobian subdiagonals"

Band widths used with the banded Jacobian type.