This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |