Skip to content

Commit 7883edf

Browse files
committed
WIP Remove old-approach
1 parent 53d7b5a commit 7883edf

4 files changed

Lines changed: 149 additions & 739 deletions

File tree

opm/grid/cpgrid/CpGridData.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1831,9 +1831,9 @@ CpGridData::refineSingleCell(const std::array<int,3>& cells_per_dim, int parent_
18311831

18321832
if(cellRefinementBoundaryInfo.parentCellhasSingleFacePerType) {
18331833

1834-
cellRefinementBoundaryInfo.boundaryRefinedFaceIdx_to_parentFaceIdx.resize(cellRefGrid.numFaces(), /* invalidIdx = */ -1);
1834+
cellRefinementBoundaryInfo.boundaryRefinedFaceIdx_to_parentFaceIdx.resize(cellRefGrid.numFaces(), -1);
18351835
Opm::Lgr::provideRefinementParentFaceIdxRelations(classifiedParentCellFaces,
1836-
/* parentGrid */ *this,
1836+
*this,
18371837
parentCellElem,
18381838
cells_per_dim,
18391839
cellRefinementBoundaryInfo,
@@ -1843,7 +1843,7 @@ CpGridData::refineSingleCell(const std::array<int,3>& cells_per_dim, int parent_
18431843

18441844
return {cellRefGrid_ptr, cellRefinementBoundaryInfo};
18451845
}
1846-
else { // Make cell-refinement aware of multiple parent-cell-faces of the same type (same tag and same orientation).
1846+
else { // Make cell-refinement aware of multiple parent-cell-faces of the same type (same tag and same orientation).
18471847
std::vector<std::shared_ptr<CpGridData>> correctedCellRefGridData;
18481848
std::shared_ptr<CpGridData> correctedCellRefGrid_ptr = std::make_shared<CpGridData>(correctedCellRefGridData); // ccobj_
18491849
auto& correctedCellRefGrid = *correctedCellRefGrid_ptr;

0 commit comments

Comments
 (0)