Avoid unnecessary extra matrix manipulation.

When using the ParallelOverlappingILU0 it is not necessary to fix the overlap rows.
This commit is contained in:
Atgeirr Flø Rasmussen 2020-10-10 10:09:23 +02:00
parent 65817c9068
commit 1c208e9a92

View File

@ -208,7 +208,7 @@ namespace Opm
}
rhs_ = &b;
if (isParallel()) {
if (isParallel() && prm_.get<std::string>("preconditioner.type") != "ParOverILU0") {
makeOverlapRowsInvalid(getMatrix());
}
prepareFlexibleSolver();