Skip to content
Snippets Groups Projects
Commit 0e32046f authored by Elias Pipping's avatar Elias Pipping
Browse files

[Cleanup] Sort headers

parent b462d889
No related branches found
No related tags found
No related merge requests found
...@@ -12,10 +12,10 @@ ...@@ -12,10 +12,10 @@
#include <dune/solvers/computeenergy.hh> #include <dune/solvers/computeenergy.hh>
#include <dune/tnnmg/problem-classes/bisection.hh> #include <dune/tnnmg/problem-classes/bisection.hh>
#include "ellipticenergy.hh"
#include "globalnonlinearity.hh" #include "globalnonlinearity.hh"
#include "minimisation.hh" #include "minimisation.hh"
#include "mydirectionalconvexfunction.hh" #include "mydirectionalconvexfunction.hh"
#include "ellipticenergy.hh"
/** \brief Base class for problems where each block can be solved with a /** \brief Base class for problems where each block can be solved with a
* modified gradient method */ * modified gradient method */
...@@ -165,8 +165,8 @@ template <class ConvexProblem> class MyBlockProblem { ...@@ -165,8 +165,8 @@ template <class ConvexProblem> class MyBlockProblem {
auto const blockEnd = (*col_it)[i].end(); auto const blockEnd = (*col_it)[i].end();
for (auto blockIt = (*col_it)[i].begin(); blockIt != blockEnd; for (auto blockIt = (*col_it)[i].begin(); blockIt != blockEnd;
++blockIt) ++blockIt)
if (linearization.truncation[row][i] or linearization if (linearization.truncation[row][i] ||
.truncation[col][blockIt.index()]) linearization.truncation[col][blockIt.index()])
*blockIt = 0.0; *blockIt = 0.0;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment