From 63e29ab579d2666b7a8518a613be8120afc51b4b Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Fri, 5 Nov 2010 13:29:47 +0000 Subject: [PATCH] move the definition of HARMONIC_ENERGY_FD_GRADIENT into the application files [[Imported from SVN: r6500]] --- dune/gfe/harmonicenergystiffness.hh | 2 -- harmonicmaps-eoc.cc | 2 ++ harmonicmaps.cc | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dune/gfe/harmonicenergystiffness.hh b/dune/gfe/harmonicenergystiffness.hh index c2105b09..3fb31da5 100644 --- a/dune/gfe/harmonicenergystiffness.hh +++ b/dune/gfe/harmonicenergystiffness.hh @@ -1,8 +1,6 @@ #ifndef HARMONIC_ENERGY_LOCAL_STIFFNESS_HH #define HARMONIC_ENERGY_LOCAL_STIFFNESS_HH -//#define HARMONIC_ENERGY_FD_GRADIENT - #include <dune/common/fmatrix.hh> #include <dune/grid/common/quadraturerules.hh> diff --git a/harmonicmaps-eoc.cc b/harmonicmaps-eoc.cc index 5953cae0..8755788a 100644 --- a/harmonicmaps-eoc.cc +++ b/harmonicmaps-eoc.cc @@ -1,5 +1,7 @@ #include <config.h> +#define HARMONIC_ENERGY_FD_GRADIENT + #include <dune/common/bitsetvector.hh> #include <dune/common/configparser.hh> diff --git a/harmonicmaps.cc b/harmonicmaps.cc index 97baa03c..80627f7c 100644 --- a/harmonicmaps.cc +++ b/harmonicmaps.cc @@ -2,6 +2,8 @@ #include <fenv.h> +//#define HARMONIC_ENERGY_FD_GRADIENT + #define UNITVECTOR2 //#define UNITVECTOR3 //#define ROTATION2 -- GitLab