[feature] Make ILU use CRS for storing lower and upper triangular matrices.

Then the backwards in memory iteration for the upper triangular can be
avoided by storing the matrix blocks in the correct order.
This commit is contained in:
Robert Kloefkorn
2017-05-18 17:19:40 +02:00
parent bb5cfd98a2
commit a774128fb7
2 changed files with 269 additions and 54 deletions

View File

@@ -289,7 +289,8 @@ namespace Opm
}
}
typedef Dune::SeqILU0<Matrix, Vector, Vector> SeqPreconditioner;
//typedef Dune::SeqILU0<Matrix, Vector, Vector> SeqPreconditioner;
typedef ParallelOverlappingILU0<Matrix,Vector,Vector> SeqPreconditioner;
template <class Operator>
std::unique_ptr<SeqPreconditioner> constructPrecond(Operator& opA, const Dune::Amg::SequentialInformation&) const