Add weights argument to test for BlackoilAmg.

This commit is contained in:
Atgeirr Flø Rasmussen 2019-03-14 09:56:12 +01:00
parent 3bcc80cc5b
commit 13cd05fc19

View File

@ -303,7 +303,13 @@ void runBlackoilAmgLaplace()
smootherArgs.iterations = 1;
Opm::CPRParameter param;
Vector weights(b.size());
for (auto& elem : weights) {
elem = 1.0;
}
Opm::BlackoilAmg<Operator,ParSmoother,Criterion,Communication,0> amg(param,
weights,
fop, criterion,
smootherArgs,
comm);