mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Adding functions for pressure system manipulation to well models.
Also add well-aware operator and transfer policy. This will be used for CPR with custom operators.
This commit is contained in:
committed by
Atgeirr Flø Rasmussen
parent
0bb293aeb0
commit
f3acfcde0b
@@ -74,7 +74,7 @@ testSolver(const Opm::PropertyTree& prm, const std::string& matrix_filename, con
|
||||
|
||||
using SeqOperatorType = Dune::MatrixAdapter<Matrix, Vector, Vector>;
|
||||
SeqOperatorType op(matrix);
|
||||
Dune::FlexibleSolver<Matrix, Vector> solver(op, prm, wc, 1);
|
||||
Dune::FlexibleSolver<SeqOperatorType> solver(op, prm, wc, 1);
|
||||
Vector x(rhs.size());
|
||||
Dune::InverseOperatorResult res;
|
||||
solver.apply(x, rhs, res);
|
||||
|
||||
Reference in New Issue
Block a user