odesolvers_lists: Creating lists of ODE solvers

odesolvers_listsR Documentation

Creating lists of ODE solvers

Description

These constructors can be used for creating the solvers argument of the sample_manyconf() method of the OdeModel class. Each function here returns a list of OdeSolvers.

Usage

rk45_list(tols, max_num_steps = 1e+06)

bdf_list(tols, max_num_steps = 1e+08)

midpoint_list(num_steps)

rk4_list(num_steps)

Arguments

tols

A vector of length L of tolerance values.

max_num_steps

Maximum number of steps between output time points (one number, same for all solvers in the output list).

num_steps

A vector of length L of step amounts.

Functions

  • rk45_list(): Create a list of RK45 solvers with different tolerances.

  • bdf_list(): Create a list of BDF solvers with different tolerances.

  • midpoint_list(): Create a list of explicit midpoint solvers with different fixed number of steps.

  • rk4_list(): Create a list of RK4 solvers with different fixed number of steps.


jtimonen/odemodeling documentation built on Sept. 15, 2024, 4:29 a.m.