Skip to content

Commit 254dcf0

Browse files
committed
WIP correct cell-refinement with all neighbors
1 parent 1c8eab2 commit 254dcf0

3 files changed

Lines changed: 363 additions & 123 deletions

File tree

opm/grid/cpgrid/CpGridData.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,12 +1784,7 @@ bool CpGridData::hasNNCs(const std::vector<int>& cellIndices) const
17841784
return hasNNC;
17851785
}
17861786

1787-
/*std::tuple< const std::shared_ptr<CpGridData>,
1788-
const std::vector<std::array<int,2>>, // parentBoundaryVertexIdx_to_correctedCellRefGridBoundaryVertexIdx
1789-
std::unordered_map<int,int>, // refinedBoundaryCornIdx_to_parentFaceIdx
1790-
std::vector<int>, // refinedFace_to_parentFace
1791-
std::vector<bool>> // coincideWithCoarseCorner*/
1792-
std::pair<std::shared_ptr<CpGridData>, Opm::Lgr::CellRefinementBoundaryInfo>
1787+
std::pair<std::shared_ptr<CpGridData>, Opm::Lgr::CellRefinementBoundaryInfo>
17931788
CpGridData::refineSingleCell(const std::array<int,3>& cells_per_dim,
17941789
const int& parent_idx,
17951790
std::vector<std::vector<std::pair<int, std::vector<int>>>>& faceInMarkedElemAndRefinedFaces) const

0 commit comments

Comments
 (0)