mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add getMatrix() const
method needed for GPU solvers.
Somehow I missed testing with CUDA.
This commit is contained in:
@@ -1137,6 +1137,11 @@ protected:
|
||||
return noGhostMat_ ? *noGhostMat_ : *matrix_;
|
||||
}
|
||||
|
||||
const Matrix& getMatrix() const
|
||||
{
|
||||
return noGhostMat_ ? *noGhostMat_ : *matrix_;
|
||||
}
|
||||
|
||||
const Simulator& simulator_;
|
||||
mutable int iterations_;
|
||||
mutable bool converged_;
|
||||
|
Reference in New Issue
Block a user