mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
If a well is nominally connected in inactive cells, i.e., if its
connections have not been filtered down to the active connections
only, then 'allIndices' may not be a permutation of
0 .. allIndices.size()-1
Handle this case by sizing 'storageIndex_' according to the maximum
index value insted of 'allIndices.size()'.