Skip to content
Snippets Groups Projects
Commit 2574c43c authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[test][spline] Set gnuplot.setOpenPlotWindow(false) to avoid gnuplot timeout

parent 5bd42649
No related branches found
No related tags found
1 merge request!2273[test][spline] Set gnuplot.setOpenPlotWindow(false) to avoid gnuplot timeout
......@@ -85,6 +85,7 @@ int main(int argc, char** argv)
const auto resultDerivPlot = eval([&](const double x) { return spline.evalDerivative(x); }, plotPoints);
Dumux::GnuplotInterface<double> gnuplot(false);
gnuplot.setOpenPlotWindow(false);
gnuplot.addDataSetToPlot(plotPoints, refPlot, "reference");
gnuplot.addDataSetToPlot(plotPoints, refDerivPlot, "reference_derivative");
gnuplot.addDataSetToPlot(plotPoints, resultPlot, "spline");
......
......@@ -115,6 +115,7 @@ int main(int argc, char** argv)
const auto resultDerivPlot = eval([&](const double x) { return spline.evalDerivative(x); }, plotPoints);
Dumux::GnuplotInterface<double> gnuplot(/*persist=*/false);
gnuplot.setOpenPlotWindow(false);
gnuplot.addDataSetToPlot(plotPoints, refPlot, "exp_reference");
gnuplot.addDataSetToPlot(plotPoints, refDerivPlot, "exp_reference_derivative");
gnuplot.addDataSetToPlot(plotPoints, resultPlot, "monotspline");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment