From 662817d8c786e5cc69d9f5e2cf6557c4cd240e77 Mon Sep 17 00:00:00 2001 From: emmerich Date: Wed, 21 Aug 2024 13:39:35 +0200 Subject: [PATCH] Fix Issue #27 --- src/simulation/MixingModels.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/simulation/MixingModels.hh b/src/simulation/MixingModels.hh index f2fd294..04574e9 100644 --- a/src/simulation/MixingModels.hh +++ b/src/simulation/MixingModels.hh @@ -843,8 +843,8 @@ std::tuple,std::vector,T> DiffusionMixingModel::getAna } } - auto [fConstant, segmentedResultConstant, a_0_Constant] = getAnalyticalSolutionConstant(channelLength, channelWidth, 1000, pecletNr, constantFlowSections); - auto [fFunction, segmentedResultFunction, a_0_Function] = getAnalyticalSolutionFunction(channelLength, channelWidth, 1000, pecletNr, functionFlowSections, fConstant); + auto [fConstant, segmentedResultConstant, a_0_Constant] = getAnalyticalSolutionConstant(channelLength, channelWidth, resolution, pecletNr, constantFlowSections); + auto [fFunction, segmentedResultFunction, a_0_Function] = getAnalyticalSolutionFunction(channelLength, channelWidth, resolution, pecletNr, functionFlowSections, fConstant); segmentedResultFunction.insert(segmentedResultFunction.end(), segmentedResultConstant.begin(), segmentedResultConstant.end());