1
// Copyright (C) 2003-2008 Anders Logg.
2
// Licensed under the GNU LGPL Version 2.1.
5
// Last changed: 2008-10-07
9
using namespace dolfin;
11
class TestProblem3 : public ODE
15
TestProblem3() : ODE(2, 1.0)
17
message("A non-normal test problem, critically damped oscillation.");
26
void f(const double* u, double t, double* y)
28
y[0] = -1000*u[0] + 10000*u[1];