mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #369 from blattms/pass-parallel-info-to-amg
[bugfix] Pass parallel information to AMG preconditioner within CPR.
This commit is contained in:
commit
1ea9ca4453
@ -564,7 +564,7 @@ createEllipticPreconditionerPointer(const M& Ae, double relax,
|
|||||||
smootherArgs.iterations = 1;
|
smootherArgs.iterations = 1;
|
||||||
smootherArgs.relaxationFactor = param_.cpr_relax_;
|
smootherArgs.relaxationFactor = param_.cpr_relax_;
|
||||||
|
|
||||||
amg_ = std::unique_ptr< AMG > (new AMG(*opAe_, criterion, smootherArgs ));
|
amg_ = std::unique_ptr< AMG > (new AMG(*opAe_, criterion, smootherArgs, comm ));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user