fixed name in cpp file

This commit is contained in:
hnil 2024-01-18 11:40:59 +01:00
parent 1900379343
commit be27e2388d

View File

@ -86,7 +86,7 @@ void FlexibleSolverInfo<Matrix,Vector,Comm>::create(const Matrix& matrix,
bool parallel, bool parallel,
const PropertyTree& prm, const PropertyTree& prm,
std::size_t pressureIndex, std::size_t pressureIndex,
std::function<Vector()> trueFunc, std::function<Vector()> weightsCalculator,
const bool forceSerial, const bool forceSerial,
[[maybe_unused]] Comm& comm) [[maybe_unused]] Comm& comm)
@ -103,7 +103,7 @@ void FlexibleSolverInfo<Matrix,Vector,Comm>::create(const Matrix& matrix,
if (basic_comm.size() > 1) { if (basic_comm.size() > 1) {
os << fmt::format("on MPI rank: {} ", basic_comm.rank()); 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. // TODO: Check if the cast is still needed in future versions.
os << fmt::format("blocksize: {} size: {:7d} block nonzeroes: {:9d}", os << fmt::format("blocksize: {} size: {:7d} block nonzeroes: {:9d}",
static_cast<int>(Matrix::block_type::rows), matrix.N(), matrix.nonzeroes()); static_cast<int>(Matrix::block_type::rows), matrix.N(), matrix.nonzeroes());
@ -115,8 +115,6 @@ void FlexibleSolverInfo<Matrix,Vector,Comm>::create(const Matrix& matrix,
} }
} }
std::function<Vector()> weightsCalculator = trueFunc;
if (parallel) { if (parallel) {
#if HAVE_MPI #if HAVE_MPI
if (!wellOperator_) { if (!wellOperator_) {