mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-02 20:30:55 -06:00
Correct a comment
This commit is contained in:
1 parent
847f9f496e
commit
0f4df22ea0
1 file changed
+1
-1
@@ -336,7 +336,7 @@ extractCPRPressureMatrix(PressureMatrix& jacobian,
|
||||
if (nperf != 0)
|
||||
cell_weights /= nperf;
|
||||
else {
|
||||
// Edge case: the well has no active perforations on this rank (duneC_.size==0).
|
||||
// duneC_.size==0, which can happen e.g. if a well has no active perforations on this rank.
|
||||
// Add positive weight to diagonal to regularize Jacobian (other row entries are 0).
|
||||
// Row's variable has no observable effect, since there are no perforations.
|
||||
cell_weights = 1.;
|
||||
|
||||
Reference in new issue
Block a user