ISTLSolver: remove reference to ebos in comments

This commit is contained in:
Arne Morten Kvarving
2024-02-06 11:38:32 +01:00
parent 7a7d4435a4
commit 917f0bca72
2 changed files with 2 additions and 2 deletions

View File

@@ -320,7 +320,7 @@ std::unique_ptr<Matrix> blockJacobiAdjacency(const Grid& grid,
// update matrix entries for solvers.
if (firstcall) {
// ebos will not change the matrix object. Hence simply store a pointer
// model will not change the matrix object. Hence simply store a pointer
// to the original one with a deleter that does nothing.
// Outch! We need to be able to scale the linear system! Hence const_cast
matrix_ = const_cast<Matrix*>(&M);

View File

@@ -198,7 +198,7 @@ public:
#if HAVE_OPENCL
// update matrix entries for solvers.
if (firstcall && bdaBridge_) {
// ebos will not change the matrix object. Hence simply store a pointer
// model will not change the matrix object. Hence simply store a pointer
// to the original one with a deleter that does nothing.
// Outch! We need to be able to scale the linear system! Hence const_cast
// setup sparsity pattern for jacobi matrix for preconditioner (only used for openclSolver)