mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Since the support for threshold pressures running Norne with flow_mpi aborted error messages like ``` Program threw an exception: [/home/mblatt/DUNE-test/opm-autodiff/opm/autodiff/BlackoilModelBase_impl.hpp:383] Illegal size of threshold_pressures input ( 153924 ), must be equal to number of faces + nncs ( 78316 + 0 ). ``` This commit now distributes the threshold pressures (if present) just like the rest of the model properties and Norne does not abort here any more. Please note: 1. If there are NNCs flow_mpi will abort with an error. 2. We might want to resort to reading and calculating the threshold pressure (and maybe other properties) on distributed grids instead of using communication.