Fully implicit Radau IIA collocation methods of orders 3, 5 and 9 for
stiff problems, after OrdinaryDiffEqFIRK. The stage system is solved in
the eigenbasis of the inverse Runge-Kutta matrix: one real and one or two
complex linear systems per Newton iteration, factorized once per step with
a fresh Jacobian. The simplified Newton iteration starts from the
collocation polynomial of the last step and stops on its convergence rate
estimate; the error estimate is Hairer's, smoothed through the real
block (smooth_est). The step size follows the predictive (Gustafsson)
controller with the factor reduced by the Newton iteration count.
RadauIIA5() is the method of Hairer and Wanner's RADAU5.
Usage
RadauIIA3(
autodiff = NULL,
extrapolant = "dense",
fast_convergence_cutoff = 1/5,
new_W_gamma_dt_cutoff = 1/5,
kappa = NULL,
maxiters = 10L,
step_limiter = NULL,
concrete_jac = NULL,
linsolve = NULL
)
RadauIIA5(
autodiff = NULL,
extrapolant = "dense",
fast_convergence_cutoff = 1/5,
new_W_gamma_dt_cutoff = 1/5,
kappa = NULL,
maxiters = 10L,
smooth_est = TRUE,
step_limiter = NULL,
concrete_jac = NULL,
linsolve = NULL
)
RadauIIA9(
autodiff = NULL,
extrapolant = "dense",
fast_convergence_cutoff = 1/5,
new_W_gamma_dt_cutoff = 1/5,
kappa = NULL,
maxiters = 10L,
smooth_est = TRUE,
step_limiter = NULL,
concrete_jac = NULL,
linsolve = NULL
)Arguments
- autodiff
Differentiation choice for the Jacobian when the problem has none (see
AutoForwardDiff()).- extrapolant
"dense"(the default: the previous collocation polynomial gives the starting values) or"constant"(zero starting values).- fast_convergence_cutoff
Rate below which the Newton iteration counts as fast.
- new_W_gamma_dt_cutoff
Stored only; the out of place methods factorize every step.
- kappa
Tolerance of the Newton stopping test (default 1/100;
RadauIIA3()always uses 1/100, as Julia).- maxiters
Maximum number of Newton iterations.
- step_limiter
Optional
function(u, integrator, p, t)applied after every accepted step.- concrete_jac, linsolve
Accepted for compatibility; dense LU factorizations are used.
- smooth_est
Whether the error estimate is smoothed through the real block.
Details
Two corrections to Julia: the out of place RadauIIA3 of Julia accepts a
step whose Newton iteration diverged; here a failed iteration fails the
step and retries with half the step, as Julia's in place method does. The
dense output always uses the collocation polynomial of its own step (with
extrapolant = "constant" Julia interpolates with zero stage values).