From d8765a0ea14b602e87c69fb796bd47a20456cc34 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Tue, 27 Jan 2015 13:42:17 +0000 Subject: [PATCH] Remove more old instrumentation code [[Imported from SVN: r10022]] --- src/harmonicmaps.cc | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/harmonicmaps.cc b/src/harmonicmaps.cc index ae21febc..45decd8e 100644 --- a/src/harmonicmaps.cc +++ b/src/harmonicmaps.cc @@ -51,18 +51,6 @@ const int blocksize = TargetSpace::TangentVector::dimension; using namespace Dune; -BlockVector<TargetSpace::CoordinateType> -computeEmbeddedDifference(const std::vector<TargetSpace>& a, const std::vector<TargetSpace>& b) -{ - assert(a.size() == b.size()); - - BlockVector<TargetSpace::CoordinateType> difference(a.size()); - - for (size_t i=0; i<a.size(); i++) - difference[i] = a[i].globalCoordinates() - b[i].globalCoordinates(); - - return difference; -} int main (int argc, char *argv[]) try { @@ -102,7 +90,6 @@ int main (int argc, char *argv[]) try const int baseIterations = parameterSet.get<int>("baseIt"); const double mgTolerance = parameterSet.get<double>("mgTolerance"); const double baseTolerance = parameterSet.get<double>("baseTolerance"); - const bool instrumented = parameterSet.get<bool>("instrumented"); std::string resultPath = parameterSet.get("resultPath", ""); // /////////////////////////////////////// @@ -209,7 +196,7 @@ int main (int argc, char *argv[]) try mu, nu1, nu2, baseIterations, baseTolerance, - instrumented); + false); // instrumented // ///////////////////////////////////////////////////// // Solve! -- GitLab