mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use cell depth calculated directly from the corners of the cell
This commit is contained in:
parent
aeb8807d89
commit
2a13275943
@ -143,7 +143,7 @@ namespace Opm
|
||||
|
||||
// Compute z coordinates
|
||||
for (int c = 0; c<numCells; ++c){
|
||||
z_[c] = Opm::UgGridHelpers::cellCentroidCoordinate(grid, c, 2);
|
||||
z_[c] = Opm::UgGridHelpers::cellCenterDepth(grid, c);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user