mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
wbpCalcMap_: move to BlackoilWellModelGeneric
This commit is contained in:
@@ -425,14 +425,6 @@ template<class Scalar> class WellContributions;
|
|||||||
std::unique_ptr<RateConverterType> rateConverter_{};
|
std::unique_ptr<RateConverterType> rateConverter_{};
|
||||||
std::map<std::string, std::unique_ptr<AverageRegionalPressureType>> regionalAveragePressureCalculator_{};
|
std::map<std::string, std::unique_ptr<AverageRegionalPressureType>> regionalAveragePressureCalculator_{};
|
||||||
|
|
||||||
struct WBPCalcID
|
|
||||||
{
|
|
||||||
std::optional<typename std::vector<WellInterfacePtr>::size_type> openWellIdx_{};
|
|
||||||
std::size_t wbpCalcIdx_{};
|
|
||||||
};
|
|
||||||
|
|
||||||
std::vector<WBPCalcID> wbpCalcMap_{};
|
|
||||||
|
|
||||||
SimulatorReportSingle last_report_{};
|
SimulatorReportSingle last_report_{};
|
||||||
|
|
||||||
// Pre-step network solve at static reservoir conditions (group and well states might be updated)
|
// Pre-step network solve at static reservoir conditions (group and well states might be updated)
|
||||||
|
@@ -581,6 +581,14 @@ protected:
|
|||||||
std::vector<WellProdIndexCalculator<Scalar>> prod_index_calc_;
|
std::vector<WellProdIndexCalculator<Scalar>> prod_index_calc_;
|
||||||
mutable ParallelWBPCalculation<Scalar> wbpCalculationService_;
|
mutable ParallelWBPCalculation<Scalar> wbpCalculationService_;
|
||||||
|
|
||||||
|
struct WBPCalcID
|
||||||
|
{
|
||||||
|
std::optional<typename std::vector<WellInterfaceGeneric<Scalar>*>::size_type> openWellIdx_{};
|
||||||
|
std::size_t wbpCalcIdx_{};
|
||||||
|
};
|
||||||
|
|
||||||
|
std::vector<WBPCalcID> wbpCalcMap_{};
|
||||||
|
|
||||||
std::vector<int> pvt_region_idx_;
|
std::vector<int> pvt_region_idx_;
|
||||||
|
|
||||||
mutable std::unordered_set<std::string> closed_this_step_;
|
mutable std::unordered_set<std::string> closed_this_step_;
|
||||||
|
Reference in New Issue
Block a user