ButcherMultiStageScheme

class dolfin.multistage.multistagescheme.ButcherMultiStageScheme(rhs_form, solution, time, bcs, a, b, c, order, generator=<function _butcher_scheme_generator>)

Bases: dolfin.multistage.multistagescheme.MultiStageScheme

Base class for all MultiStageSchemes

to_adm(adj)

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

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

to_tlm(perturbation)

Return another MultiStageScheme 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).