From cd21b7d87c21ac180d8e0599da8e3c3e3ed10ded Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Mon, 5 Nov 2012 18:52:25 +0000 Subject: [PATCH] go back to a trivial problem for testing [[Imported from SVN: r8967]] --- harmonicmaps-eoc.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/harmonicmaps-eoc.cc b/harmonicmaps-eoc.cc index c36e413e..693a16ca 100644 --- a/harmonicmaps-eoc.cc +++ b/harmonicmaps-eoc.cc @@ -2,9 +2,9 @@ //#define HARMONIC_ENERGY_FD_GRADIENT //#define HARMONIC_ENERGY_FD_INNER_GRADIENT -#define THIRD_ORDER +//#define THIRD_ORDER //#define SECOND_ORDER -const int order = 3; +const int order = 1; #include <dune/common/bitsetvector.hh> #include <dune/common/parametertree.hh> @@ -64,9 +64,9 @@ struct DirichletFunction double angle = 0.5 * M_PI * x[0]; angle *= -4*x[1]*(x[1]-1); out = 0; - out[0] = std::cos(angle); - out[1] = std::sin(angle); - +// out[0] = std::cos(angle); +// out[1] = std::sin(angle); + out[2] = 1; } }; -- GitLab