mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
1307e0fdcf549e82b1fb223e06719fe1b8bf22fc
This is a demonstration of using the
GridPropertyAccess::Compressed<>
class template. We save (some) memory by not creating the zero
fall-back vector in assignPermeability(), preferring instead to use
the fall-back/default mechanism of ArrayPolicy::ExtractFromDeck<>.
While here, adjust vector<PermComponent>::reserve() capacity to
reflect actual requirements.
Languages
C++
79.4%
ECL
13.8%
Cuda
1.7%
Pawn
1.7%
CMake
1.4%
Other
1.9%