Commits

Jed Brown committed 0430269

Fix statement of equations in example

Hg-commit: 14f2120be34bb714da2c4e37e2a329638b7c9482

Comments (0)

Files changed (1)

src/ts/examples/tutorials/ex22.c

 static const char help[] = "Time-dependent advection-reaction PDE in 1d. Demonstrates IMEX methods.\n";
 /*
-   u_t = a1*u_x = -k1*u + k2*v + s1
-   v_t = a2*v_x = k1*u - k2*v + s2
+   u_t + a1*u_x = -k1*u + k2*v + s1
+   v_t + a2*v_x = k1*u - k2*v + s2
    0 < x < 1;
    a1 = 1, k1 = 10^6, s1 = 0,
    a2 = 0, k2 = 2*k1, s2 = 1