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.");
23
void u0(uBlasVector& u)
29
void f(const uBlasVector& u, real t, uBlasVector& y)
32
y(1) = mu*(1.0 - u(0)*u(0))*u(1) - u(0);