Prevent copying of a matrix.

This commit is contained in:
Markus Blatt 2015-02-04 22:38:10 +01:00
parent b73f1c86fc
commit 70d5d18560

View File

@ -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