From 109c022004c70eeb16b81386444ebe547f405e85 Mon Sep 17 00:00:00 2001
From: Thomas Fetzer <thomas.fetzer@iws.uni-stuttgart.de>
Date: Mon, 24 Apr 2017 14:20:05 +0200
Subject: [PATCH] [io][gnuplotinterface] Fix forgotten and related tests

(cherry picked from commit 0a63a89321ba4f5196dda909eecc39e5e91d83d7)
---
 .../2p/thermalconductivityspatialparams.hh                      | 2 +-
 .../mpnc/implicit/evaporationatmosphereproblem.hh               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/material/fluidmatrixinteractions/2p/thermalconductivityspatialparams.hh b/test/material/fluidmatrixinteractions/2p/thermalconductivityspatialparams.hh
index 46452b12e1..55701dc5a6 100644
--- a/test/material/fluidmatrixinteractions/2p/thermalconductivityspatialparams.hh
+++ b/test/material/fluidmatrixinteractions/2p/thermalconductivityspatialparams.hh
@@ -54,7 +54,7 @@ public:
         PlotThermalConductivityModel<TypeTag> plotThermalConductivityModel_(293.15, 1e5);
         std::string fileName = GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, std::string, Output, File);
         plotThermalConductivityModel_.addlambdaeffcurve(gnuplot, this->porosity_, this->rhoSolid_, this->lambdaSolid_,
-                                                        0.0, 1.0, fileName);
+                                                        0.0, 1.0, fileName + ".dat");
         gnuplot.plot("lambda_eff");
     }
 };
diff --git a/test/porousmediumflow/mpnc/implicit/evaporationatmosphereproblem.hh b/test/porousmediumflow/mpnc/implicit/evaporationatmosphereproblem.hh
index df742981f5..476e31f0ac 100644
--- a/test/porousmediumflow/mpnc/implicit/evaporationatmosphereproblem.hh
+++ b/test/porousmediumflow/mpnc/implicit/evaporationatmosphereproblem.hh
@@ -352,7 +352,7 @@ public:
         gnuplot_.setOption("set label 'at time " + stream.str() + "' at screen 0.15,0.90 left");
         gnuplot_.setDatafileSeparator(' ');
         std::string fileName = outputName_ + "plotOverLineIntoDepth.dat";
-        gnuplot_.addFileToPlot(fileName, fileName, " u 11:4 w l");
+        gnuplot_.addFileToPlot(fileName, "u 11:4 w l");
         gnuplot_.plot("plot");
     }
 
-- 
GitLab