mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Evaluate cell pressure in an existing cell rather than outside...
This commit is contained in:
@@ -256,7 +256,7 @@ compute_flux(grid_t *G,
|
|||||||
if (c1 < 0) {
|
if (c1 < 0) {
|
||||||
dp = bc->bcval[f] - cpress[c2];
|
dp = bc->bcval[f] - cpress[c2];
|
||||||
} else {
|
} else {
|
||||||
dp = cpress[c2] - bc->bcval[f];
|
dp = cpress[c1] - bc->bcval[f];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user