1
// Copyright (C) 2004-2006 Anders Logg.
2
// Licensed under the GNU LGPL Version 2.1.
5
// Last changed: 2006-08-21
10
using namespace dolfin;
12
class TestProblem6 : public ODE
16
TestProblem6() : ODE(2, 100.0)
18
message("Van der Pol's equation.");
29
void f(const double* u, double t, double* y)
32
y[1] = mu*(1.0 - u[0]*u[0])*u[1] - u[0];