Skip to content

Instantly share code, notes, and snippets.

# Oregonator: stiff 3-variable oscillatory ODE system from chemical reactions,
# problem OREGO in Hairer&Wanner
import sys, petsc4py
petsc4py.init(sys.argv)
from petsc4py import PETSc
class Orego(object):
n = 3