mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add weights argument to test for BlackoilAmg.
This commit is contained in:
parent
3bcc80cc5b
commit
13cd05fc19
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user