mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-01 13:29:08 -06:00
Prevent copying of a matrix.
This commit is contained in:
parent
b73f1c86fc
commit
70d5d18560
@ -80,7 +80,7 @@ namespace Opm
|
|||||||
/// \tparam P The type of the parallel information.
|
/// \tparam P The type of the parallel information.
|
||||||
/// \param parallelInformation the information about the parallelization.
|
/// \param parallelInformation the information about the parallelization.
|
||||||
template<int category=Dune::SolverCategory::sequential, class O, class P>
|
template<int category=Dune::SolverCategory::sequential, class O, class P>
|
||||||
void constructPreconditionerAndSolve(O& opA, DuneMatrix istlAe,
|
void constructPreconditionerAndSolve(O& opA, DuneMatrix& istlAe,
|
||||||
Vector& x, Vector& istlb,
|
Vector& x, Vector& istlb,
|
||||||
const P& parallelInformation,
|
const P& parallelInformation,
|
||||||
Dune::InverseOperatorResult& result) const
|
Dune::InverseOperatorResult& result) const
|
||||||
|
Loading…
Reference in New Issue
Block a user