From 0b7c6aed658f650a7ddbeaa682a834d93c4afb95 Mon Sep 17 00:00:00 2001
From: Oliver Sander <oliver.sander@tu-dresden.de>
Date: Tue, 2 Jan 2018 11:42:51 +0100
Subject: [PATCH] Print the current interpolation rule

I want the interpolation rule to appear in the log files.
It is to easy to use the wrong one by accident.
---
 src/harmonicmaps.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/harmonicmaps.cc b/src/harmonicmaps.cc
index cb9734e9..203595dc 100644
--- a/src/harmonicmaps.cc
+++ b/src/harmonicmaps.cc
@@ -212,6 +212,7 @@ int main (int argc, char *argv[]) try
     typedef TargetSpace::rebind<adouble>::other ATargetSpace;
     typedef LocalGeodesicFEFunction<dim, double, FEBasis::LocalView::Tree::FiniteElement, ATargetSpace> LocalInterpolationRule;
     //typedef GFE::LocalProjectedFEFunction<dim, double, FEBasis::LocalView::Tree::FiniteElement, ATargetSpace> LocalInterpolationRule;
+    std::cout << "Using local interpolation: " << className<LocalInterpolationRule>() << std::endl;
 
     // Assembler using ADOL-C
     std::shared_ptr<LocalGeodesicFEStiffness<FEBasis,ATargetSpace> > localEnergy;
-- 
GitLab