nelson.ode.options.CVODESNonstiff
Options object for the optional CVODES Adams solver.
📝Syntax
options = nelson.ode.options.CVODESNonstiff()
options = nelson.ode.options.CVODESNonstiff(name, value)
📄Description

nelson.ode.options.CVODESNonstiff creates an options object for the 'cvodesnonstiff' solver value used by the ode object workflow.

Option group Names Purpose
Steps and tolerances InitialStep, MaxStep, MinStep, RelTol, AbsTol, MaxOrder Control adaptive Adams integration.
Output Refine, OutputFcn, OutputSelection Select returned points and optional output callbacks.
Linear algebra LinearSolver, Preconditioner Choose dense, iterative, or available sparse support and preconditioning.
Availability 'cvodesnonstiff' Uses the optional Adams backend when it is compiled and enabled.

This solver value is available only when Nelson is built with the optional SUNDIALS backend. It uses CVODES with the Adams method for nonstiff standard ODE problems.

Supported options include InitialStep, MaxStep, MinStep, RelTol, AbsTol, Refine, NormControl, OutputFcn, OutputSelection, Vectorization, MaxOrder, LinearSolver, and Preconditioner. OutputFcn is called on the output points returned by the backend. LinearSolver accepts dense, iterative, and optional sparse direct SUNDIALS values when the corresponding library is available. Preconditioner accepts 'auto', 'none', 'jacobi', 'banded', or 'ilu0'. With a sparse JPattern, 'ilu0' builds a compact sparse incomplete LU preconditioner without a dense workspace.

💡Examples
Create a nonstiff CVODES problem.
options = nelson.ode.options.CVODESNonstiff('RelTol', 1e-6);
problem = ode('ODEFcn', @(t,y) -y, 'InitialValue', 1, ...
  'SolverOptions', options);
result = solve(problem, 0, 1)
🔗See Also
odenelson.ode.options.CVODESStiffnelson.ode.options.IDAS
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub