From a970fee1140852c518a79069dd8905b82b759a9e Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 15 Dec 2011 23:23:09 +0000 Subject: [PATCH] Simplify test. git-svn-id: https://svn.dealii.org/trunk@24832 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/hp/fe_nothing_17.cc | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/tests/hp/fe_nothing_17.cc b/tests/hp/fe_nothing_17.cc index 215853a627..8b24645d2c 100644 --- a/tests/hp/fe_nothing_17.cc +++ b/tests/hp/fe_nothing_17.cc @@ -37,28 +37,9 @@ #include -template -class MyFunction : public Function -{ - public: - MyFunction () : Function(2) {}; - - virtual double value (const Point &p, - const unsigned int) const - { double f=sin(p[0]*4); - if (dim>1) - f*=cos(p[1]*4); - if (dim>2) - f*=exp(p[2]*4); - return f; - }; -}; - - template void transfer(std::ostream &out) { - MyFunction function; Triangulation tria; GridGenerator::hyper_cube(tria); tria.refine_global(5-dim); -- 2.39.5