From 0e32046f28235bdf5f05e57f4b6cc45ac2bdf764 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Thu, 9 Jan 2014 23:26:16 +0100 Subject: [PATCH] [Cleanup] Sort headers --- dune/tectonic/myblockproblem.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dune/tectonic/myblockproblem.hh b/dune/tectonic/myblockproblem.hh index 5565d7fd..f2baf72a 100644 --- a/dune/tectonic/myblockproblem.hh +++ b/dune/tectonic/myblockproblem.hh @@ -12,10 +12,10 @@ #include <dune/solvers/computeenergy.hh> #include <dune/tnnmg/problem-classes/bisection.hh> +#include "ellipticenergy.hh" #include "globalnonlinearity.hh" #include "minimisation.hh" #include "mydirectionalconvexfunction.hh" -#include "ellipticenergy.hh" /** \brief Base class for problems where each block can be solved with a * modified gradient method */ @@ -165,8 +165,8 @@ template <class ConvexProblem> class MyBlockProblem { auto const blockEnd = (*col_it)[i].end(); for (auto blockIt = (*col_it)[i].begin(); blockIt != blockEnd; ++blockIt) - if (linearization.truncation[row][i] or linearization - .truncation[col][blockIt.index()]) + if (linearization.truncation[row][i] || + linearization.truncation[col][blockIt.index()]) *blockIt = 0.0; } } -- GitLab