mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 17:20:59 -06:00
Evaluate cell pressure in an existing cell rather than outside...
This commit is contained in:
parent
0ffaafc9ee
commit
43de7f5d23
@ -256,7 +256,7 @@ compute_flux(grid_t *G,
|
||||
if (c1 < 0) {
|
||||
dp = bc->bcval[f] - cpress[c2];
|
||||
} else {
|
||||
dp = cpress[c2] - bc->bcval[f];
|
||||
dp = cpress[c1] - bc->bcval[f];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user