mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -06:00
227b7f49b7
The wells pointer might be null and we need to access its number of phases in the constructor to store it. With this commit we prevent that storage and simply ask the well struct whenever we need the number of phases. Of course the code using it needs to check that there are wells but that is done in most parts of the opm-simulators currently (MultiSegmentWells and Solvent are/might be an exception). |
||
---|---|---|
.. | ||
autodiff | ||
polymer | ||
simulators |