mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-08-13 11:34:48 -05:00
65a63b95a30a6d0fbc3a588527858bcd31ae93c8
This commit introduces a new public method, activeRegions(), that
retrieves those region IDs that contain at least one active cell.
We furthermore extend the cells() method to support lookup of
arbitrary region IDs. Non-active region IDs produce empty cell
ranges.
Intended use case is
for (const auto& reg : rmap.activeRegions()) {
const auto& c = rmap.cells(reg);
// use c
}
Languages
C++
79.4%
ECL
13.8%
Cuda
1.7%
Pawn
1.7%
CMake
1.4%
Other
1.9%