mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fix test_blackoil_amg
This commit is contained in:
parent
41ff0da2b4
commit
e12b959def
@ -303,13 +303,8 @@ void runBlackoilAmgLaplace()
|
|||||||
smootherArgs.iterations = 1;
|
smootherArgs.iterations = 1;
|
||||||
Opm::CPRParameter param;
|
Opm::CPRParameter param;
|
||||||
|
|
||||||
Vector weights(b.size());
|
|
||||||
for (auto& elem : weights) {
|
|
||||||
elem = 1.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
Opm::BlackoilAmg<Operator,ParSmoother,Criterion,Communication,0> amg(param,
|
Opm::BlackoilAmg<Operator,ParSmoother,Criterion,Communication,0> amg(param,
|
||||||
weights,
|
{},
|
||||||
fop, criterion,
|
fop, criterion,
|
||||||
smootherArgs,
|
smootherArgs,
|
||||||
comm);
|
comm);
|
||||||
|
Loading…
Reference in New Issue
Block a user