IRKC() integrates a SplitODEProblem() du/dt = f1(u, p, t) + f2(u, p, t): each of its Chebyshev stages solves the stiff part f1 implicitly
(modified Newton, with the Jacobian of f1: SplitFunction(f1, f2, jac = J1), else finite differences) and takes the mildly stiff part f2
explicitly. Second order, with an error estimate of first order and the
integral controller (gamma = 0.8).
Arguments
- eigen_est
An upper bound on the spectral radius of the Jacobian of
f2: a number or a functionfunction(u, p, t). By default the nonlinear power iteration onf2estimates it every step.- autodiff
As for
ImplicitEuler(): how the Jacobian off1is formed when none is given.
Details
As in OrdinaryDiffEq, the cache fixes the number of stages at 50 (its
smallest and largest degree are both 50), so every step takes 50 stages
whatever the spectral radius of f2; the radius, by the power iteration
on f2 every step or from eigen_est, only enters the stage count
formula. sol$stats$nf2 counts the evaluations of f2.