This site is version 0.0.1. Most of the code on this site is drafted by an agent and needs review. I apologize for the AI-speak, we are working on rewriting it!
viv-lang.org

Notebooks · lib/ode/gallery_robertson

Robertson's stiff kinetics, drawn

The first figure of vipyr's gallery example plot_ode_robertson.py, drawn in Viv: Robertson's three-species reaction (rates 0.04, 104 and 3 × 107) solved by Radau IIA from t = 0 to 1011 at rtol 10−8, through ode_solve in lib/ode/solve.viv with the Jacobian from grad. The middle species is drawn times 1e4. The end state is checked against the reference solution the IVP test set of Mazzia and Magherini (Bari) publishes, as vipyr's script checks it.

Look inside this program

  • Atlas

    The program’s map: every function and which calls which.

  • There’s no recorded run of this program yet.

Shift+Enter in a cell runs it and moves to the next. Running a cell runs every cell above it too, as one program.

[1]lines 13–58