mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 09:22:13 -05:00
#3532 LGR export. Do not lookup PORO result during temp LGR creation/export
This commit is contained in:
1 parent
b316aff35a
commit
f495c38406
3 files changed
+6
-69
No files matched your search
@@ -209,16 +209,7 @@ void RicCreateTemporaryLgrFeature::createLgr(LgrInfo& lgrInfo, RigMainGrid* main
|
||||
|
||||
RigCell& cell = mainGrid->globalCellArray()[cellStartIndex + gridLocalCellIndex];
|
||||
cell.setGridLocalCellIndex(gridLocalCellIndex);
|
||||
|
||||
// Set parent cell
|
||||
if (mainCellIndex == -1)
|
||||
{
|
||||
cell.setParentCellIndex(cvf::UNDEFINED_SIZE_T);
|
||||
}
|
||||
else
|
||||
{
|
||||
cell.setParentCellIndex(mainCellIndex);
|
||||
}
|
||||
cell.setParentCellIndex(mainCellIndex);
|
||||
|
||||
// Corner coordinates
|
||||
{
|
||||
@@ -227,8 +218,10 @@ void RicCreateTemporaryLgrFeature::createLgr(LgrInfo& lgrInfo, RigMainGrid* main
|
||||
mainGrid->cellCornerVertices(mainCellIndex, vertices.data());
|
||||
|
||||
auto cellCounts = lgrInfo.sizesPerMainGridCell();
|
||||
auto lgrCoords =
|
||||
RigCellGeometryTools::createHexCornerCoords(vertices, cellCounts.i(), cellCounts.j(), cellCounts.k());
|
||||
auto lgrCoords = RigCellGeometryTools::createHexCornerCoords(vertices,
|
||||
cellCounts.i(),
|
||||
cellCounts.j(),
|
||||
cellCounts.k());
|
||||
|
||||
size_t subI = lgrI % lgrSizePerMainCell.i();
|
||||
size_t subJ = lgrJ % lgrSizePerMainCell.j();
|
||||
|
||||
Reference in new issue
Block a user