MultiStageScheme

class dolfin.multistage.multistagescheme.MultiStageScheme(rhs_form, solution, t, bcs, a, b, c, order, generator=<function _butcher_scheme_generator at 0x50f3f50>)

Bases: dolfin.cpp.fem.MultiStageScheme

Base class for all MultiStageSchemes

dolfin_stage_forms()

Return the dolfin stage forms

dt()

Return the Constant used to describe time in the MultiStageScheme

last_stage()

Return the form describing the last stage

rhs_form()

Return the original rhs form

solution()

Return the solution Function

stage_solutions()

Return the stage solutions

t()

Return the Constant used to describe time in the MultiStageScheme

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).

ufl_stage_forms()

Return the ufl stage forms