From be27e2388d51e3a760a79598a43c75e10682f0ae Mon Sep 17 00:00:00 2001 From: hnil Date: Thu, 18 Jan 2024 11:40:59 +0100 Subject: [PATCH] fixed name in cpp file --- opm/simulators/linalg/ISTLSolverEbos.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/opm/simulators/linalg/ISTLSolverEbos.cpp b/opm/simulators/linalg/ISTLSolverEbos.cpp index 056c90c85..cf27831a3 100644 --- a/opm/simulators/linalg/ISTLSolverEbos.cpp +++ b/opm/simulators/linalg/ISTLSolverEbos.cpp @@ -86,7 +86,7 @@ void FlexibleSolverInfo::create(const Matrix& matrix, bool parallel, const PropertyTree& prm, std::size_t pressureIndex, - std::function trueFunc, + std::function weightsCalculator, const bool forceSerial, [[maybe_unused]] Comm& comm) @@ -103,7 +103,7 @@ void FlexibleSolverInfo::create(const Matrix& matrix, if (basic_comm.size() > 1) { os << fmt::format("on MPI rank: {} ", basic_comm.rank()); } - // The static_cast of Matrix::block_type::rows is needed for fmt version 10. + // The static_cast of Matrix::block_type::rows is needed for fmt version 10. // TODO: Check if the cast is still needed in future versions. os << fmt::format("blocksize: {} size: {:7d} block nonzeroes: {:9d}", static_cast(Matrix::block_type::rows), matrix.N(), matrix.nonzeroes()); @@ -115,8 +115,6 @@ void FlexibleSolverInfo::create(const Matrix& matrix, } } - std::function weightsCalculator = trueFunc; - if (parallel) { #if HAVE_MPI if (!wellOperator_) {