mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
reorganize (Std|MS)Well::computeWellPotentials
put shared parts in WellInterfaceGeneric::computeWellPotentials and WellInterfaceGeneric::checkNegativeWellPotentials
This commit is contained in:
@@ -214,6 +214,14 @@ protected:
|
||||
bool wellUnderZeroRateTarget(const SummaryState& summary_state,
|
||||
const WellState& well_state) const;
|
||||
|
||||
std::pair<bool,bool>
|
||||
computeWellPotentials(std::vector<double>& well_potentials,
|
||||
const WellState& well_state);
|
||||
|
||||
void checkNegativeWellPotentials(std::vector<double>& well_potentials,
|
||||
const bool checkOperability,
|
||||
DeferredLogger& deferred_logger);
|
||||
|
||||
// definition of the struct OperabilityStatus
|
||||
struct OperabilityStatus {
|
||||
bool isOperableAndSolvable() const {
|
||||
|
||||
Reference in New Issue
Block a user