From 63616fba9f6ffa4862f3e31f7b2e75d7c8be67de Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Sun, 30 Oct 2011 02:05:29 +0200 Subject: [PATCH] Rename parameter --- src/myblockproblem.hh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/myblockproblem.hh b/src/myblockproblem.hh index c54d8253..7be89165 100644 --- a/src/myblockproblem.hh +++ b/src/myblockproblem.hh @@ -86,24 +86,22 @@ class MyBlockProblem<ConvexProblemTypeTEMPLATE>::IterateObject { /** \brief Minimize a local problem using a scalar Gauss-Seidel method * \param[out] ui The solution - * \param i Block number + * \param m Block number * \param ignore Set of degrees of freedom to leave untouched * * \return The minimizer of the local functional in the variable ui */ void solveLocalProblem( - LocalVectorType& ui, int i, + LocalVectorType& ui, int m, const typename Dune::BitSetVector<block_size>::const_reference ignore) { // Note: problem.Am and problem.a will be ignored // Note: ignore is currently ignored (what's it used for anyway?) { - int const m = i; - LocalMatrixType const* localA = NULL; LocalVectorType localb(problem.f[m]); typename MatrixType::row_type::ConstIterator it; - typename MatrixType::row_type::ConstIterator end = problem.A[i].end(); + typename MatrixType::row_type::ConstIterator end = problem.A[m].end(); for (it = problem.A[m].begin(); it != end; ++it) { int const j = it.index(); if (j == m) -- GitLab