From 53f0e35389cb74a0c94d15c4439d35bc0ff99af1 Mon Sep 17 00:00:00 2001 From: David Landa Marban Date: Wed, 15 Oct 2025 15:32:59 +0200 Subject: [PATCH] Implementing review --- opm/simulators/flow/GenericTracerModel.hpp | 2 +- opm/simulators/flow/GenericTracerModel_impl.hpp | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/opm/simulators/flow/GenericTracerModel.hpp b/opm/simulators/flow/GenericTracerModel.hpp index 11ced7abab..a026856a0c 100644 --- a/opm/simulators/flow/GenericTracerModel.hpp +++ b/opm/simulators/flow/GenericTracerModel.hpp @@ -139,7 +139,7 @@ protected: std::vector& b); Scalar currentConcentration_(const Well& eclWell, - const std::string& name, + const std::string& trName, const SummaryState& summaryState) const; //! \brief Tracer type index diff --git a/opm/simulators/flow/GenericTracerModel_impl.hpp b/opm/simulators/flow/GenericTracerModel_impl.hpp index 200498534f..0f25f891b9 100644 --- a/opm/simulators/flow/GenericTracerModel_impl.hpp +++ b/opm/simulators/flow/GenericTracerModel_impl.hpp @@ -208,9 +208,11 @@ enableSolTracers() const template Scalar GenericTracerModel:: -currentConcentration_(const Well& eclWell, const std::string& name, const SummaryState& summaryState) const +currentConcentration_(const Well& eclWell, const std::string& trName, const SummaryState& summaryState) const { - return eclWell.getTracerProperties().getConcentration(eclWell.name(), name, summaryState); + return eclWell.getTracerProperties().getConcentration(WellTracerProperties::Well { eclWell.name() }, + WellTracerProperties::Tracer { trName }, + summaryState); } template