From 613bb85a4dfb2e0d48da6ed27bce45ecc69259c2 Mon Sep 17 00:00:00 2001 From: iasonmanolas Date: Fri, 16 Jul 2021 14:16:53 +0300 Subject: [PATCH] Added kinetic damping markers to the plots --- simulationhistoryplotter.hpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/simulationhistoryplotter.hpp b/simulationhistoryplotter.hpp index 371caec..7304715 100755 --- a/simulationhistoryplotter.hpp +++ b/simulationhistoryplotter.hpp @@ -152,7 +152,8 @@ struct SimulationResultsReporter { history.kineticEnergy, std::filesystem::path(graphsFolder) .append("KineticEnergyLog_" + graphSuffix + ".png") - .string()); + .string(), + history.redMarks); } if (!history.logResidualForces.empty()) { @@ -161,7 +162,8 @@ struct SimulationResultsReporter { history.logResidualForces, std::filesystem::path(graphsFolder) .append("ResidualForcesLog_" + graphSuffix + ".png") - .string()); + .string(), + history.redMarks); } if (!history.potentialEnergies.empty()) { @@ -170,7 +172,8 @@ struct SimulationResultsReporter { history.potentialEnergies, std::filesystem::path(graphsFolder) .append("PotentialEnergy_" + graphSuffix + ".png") - .string()); + .string(), + history.redMarks); } if (!history.residualForcesMovingAverage.empty()) { createPlot("Number of Iterations", @@ -178,7 +181,8 @@ struct SimulationResultsReporter { history.residualForcesMovingAverage, std::filesystem::path(graphsFolder) .append("ResidualForcesMovingAverage_" + graphSuffix + ".png") - .string()); + .string(), + history.redMarks); } // if (!history.residualForcesMovingAverageDerivativesLog.empty()) { // createPlot("Number of Iterations", @@ -194,7 +198,8 @@ struct SimulationResultsReporter { history.sumOfNormalizedDisplacementNorms, std::filesystem::path(graphsFolder) .append("SumOfNormalizedDisplacementNorms_" + graphSuffix + ".png") - .string()); + .string(), + history.redMarks); } } };