mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
The revised depth correction algorithm requires per-cell depth information (in SourceDataSpan::Item::Depth) for the reservoir contributions so honour this requirement. This is potentially a somewhat wasteful approach since the cell centre depth is constant throughout a simulation, but it's a simple strategy that does not require large API and synchronisation changes, so we nevertheless stick to this as a first implementation. We will reduce the amount of communication if this becomes a bottleneck.