mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Ghost entries skipped for ilu apply and GL operator in AMG/CPR hierarchy.
This works since the ghost entries are the last entries
This commit is contained in:
committed by
Lisa Julia Nebel
parent
302503e172
commit
6c62753803
@@ -111,7 +111,7 @@ void FlexibleSolverInfo<Matrix,Vector,Comm>::create(const Matrix& matrix,
|
||||
if (parallel) {
|
||||
#if HAVE_MPI
|
||||
if (!wellOperator_) {
|
||||
using ParOperatorType = Dune::OverlappingSchwarzOperator<Matrix, Vector, Vector, Comm>;
|
||||
using ParOperatorType = Opm::GhostLastMatrixAdapter<Matrix, Vector, Vector, Comm>;
|
||||
auto pop = std::make_unique<ParOperatorType>(matrix, comm);
|
||||
using FlexibleSolverType = Dune::FlexibleSolver<ParOperatorType>;
|
||||
auto sol = std::make_unique<FlexibleSolverType>(*pop, comm, prm,
|
||||
|
||||
Reference in New Issue
Block a user