mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fixed bug in gauss seidel gravity solver.
This commit is contained in:
@@ -998,7 +998,7 @@ namespace Opm
|
||||
{
|
||||
nbcell[0] = -1;
|
||||
gf[0] = 0.0;
|
||||
if (cell > 0) {
|
||||
if (pos > 0) {
|
||||
nbcell[0] = cells[pos - 1];
|
||||
gf[0] = -gravflux[pos - 1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user