From 1fdc4c39dce43a86bab11a4766151e046c7d62ea Mon Sep 17 00:00:00 2001 From: osae Date: Fri, 11 Sep 2015 11:47:27 +0200 Subject: [PATCH] Assure 4 vertices for each face of the grid. --- opm/core/grid/GridHelpers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/opm/core/grid/GridHelpers.cpp b/opm/core/grid/GridHelpers.cpp index afbaf9b4..e8d268a2 100644 --- a/opm/core/grid/GridHelpers.cpp +++ b/opm/core/grid/GridHelpers.cpp @@ -70,6 +70,7 @@ double cellCenterDepth(const UnstructuredGrid& grid, int cell_index) // Traverse the bottom and top cell-face for (int i=grid.cell_facepos[cell_index+1]-2; i