RushLarsenScheme

class dolfin.multistage.rushlarsenschemes.RushLarsenScheme(rhs_form, solution, time, order, generalized, generator=<function _rush_larsen_scheme_generator>)

Bases: dolfin.multistage.multistagescheme.MultiStageScheme

to_adm(perturbation)

Return another RushLarsenScheme that implements the adjoint linearisation of the ODE solver.

This takes bar{y_n+1} (the derivative of y_n+1 with respect to a parameter) and computes bar{y_n} (the derivative of y_n with respect to that parameter).

to_tlm(perturbation)

Return another RushLarsenScheme that implements the tangent linearisation of the ODE solver.

This takes dot{y_n} (the derivative of y_n with respect to a parameter) and computes dot{y_n+1} (the derivative of y_n+1 with respect to that parameter).