mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
BlackoilWellModel: add some accessors
This commit is contained in:
parent
1dfe2fb3f4
commit
27ec1eb390
@ -389,6 +389,14 @@ template<class Scalar> class WellContributions;
|
||||
|
||||
void setupDomains(const std::vector<Domain>& domains);
|
||||
|
||||
const SparseTable<int>& well_local_cells() const
|
||||
{
|
||||
return well_local_cells_;
|
||||
}
|
||||
auto begin() const { return well_container_.begin(); }
|
||||
auto end() const { return well_container_.end(); }
|
||||
bool empty() const { return well_container_.empty(); }
|
||||
|
||||
protected:
|
||||
Simulator& simulator_;
|
||||
|
||||
@ -411,8 +419,9 @@ template<class Scalar> class WellContributions;
|
||||
createTypedWellPointer(const int wellID,
|
||||
const int time_step) const;
|
||||
|
||||
WellInterfacePtr createWellForWellTest(const std::string& well_name, const int report_step, DeferredLogger& deferred_logger) const;
|
||||
|
||||
WellInterfacePtr createWellForWellTest(const std::string& well_name,
|
||||
const int report_step,
|
||||
DeferredLogger& deferred_logger) const;
|
||||
|
||||
const ModelParameters param_;
|
||||
std::size_t global_num_cells_{};
|
||||
|
@ -208,6 +208,11 @@ public:
|
||||
const std::map<std::string, double>& wellOpenTimes() const { return well_open_times_; }
|
||||
const std::map<std::string, double>& wellCloseTimes() const { return well_close_times_; }
|
||||
|
||||
const std::map<std::string, int>& well_domain() const
|
||||
{
|
||||
return well_domain_;
|
||||
}
|
||||
|
||||
bool reportStepStarts() const { return report_step_starts_; }
|
||||
|
||||
bool shouldBalanceNetwork(const int reportStepIndex,
|
||||
|
Loading…
Reference in New Issue
Block a user