From f1b35dfceedeb07ed9459c0d335c06e9dfee4d75 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Sun, 25 Jan 2015 20:43:13 +0000
Subject: [PATCH] honour the resultPath variable when writing the solution to
 vtk

[[Imported from SVN: r10016]]
---
 src/harmonicmaps.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/harmonicmaps.cc b/src/harmonicmaps.cc
index bb4ad886..cdb65ce8 100644
--- a/src/harmonicmaps.cc
+++ b/src/harmonicmaps.cc
@@ -277,7 +277,7 @@ int main (int argc, char *argv[]) try
                (new VTKBasisGridFunction<FEBasis,EmbeddedVectorType>(feBasis, xEmbedded, "orientation"));
     vtkWriter.addVertexData(vtkVectorField);
 
-    vtkWriter.write("resultGrid");
+    vtkWriter.write(resultPath + "_" + energy + "_result");
 
     // //////////////////////////////////////////////////////////
     //   Recompute and compare against exact solution
-- 
GitLab