WellState.hpp
Go to the documentation of this file.
64 static const uint64_t event_mask = ScheduleEvents::WELL_STATUS_CHANGE + ScheduleEvents::PRODUCTION_UPDATE + ScheduleEvents::INJECTION_UPDATE;
Definition: ALQState.hpp:30 Class encapsulating some information about parallel wells. Definition: ParallelWellInfo.hpp:186 Definition: SingleWellState.hpp:42 Definition: WellContainer.hpp:46 Definition: WellState.hpp:62 data::Wells report(const int *globalCellIdxMap, const std::function< bool(const int)> &wasDynamicallyClosed) const bool isInjectionGrup(const std::string &name) const Definition: WellState.hpp:166 std::string globalIdxToWellName(const int index) Definition: WellState.hpp:244 void initWellStateMSWell(const std::vector< Well > &wells_ecl, const WellState *prev_well_state) init the MS well related. const SingleWellState< Scalar > & well(const std::string &well_name) const Definition: WellState.hpp:312 SingleWellState< Scalar > & well(std::size_t well_index) Definition: WellState.hpp:317 const SingleWellState< Scalar > & well(std::size_t well_index) const Definition: WellState.hpp:307 const SingleWellState< Scalar > & operator[](std::size_t well_index) const Definition: WellState.hpp:287 void reportConnections(std::vector< data::Connection > &connections, const PhaseUsage &pu, std::size_t well_index, const int *globalCellIdxMap) const const std::vector< Scalar > & currentWellRates(const std::string &wellName) const bool operator==(const WellState &) const int gliftGetAlqIncreaseCount(const std::string &name) Definition: WellState.hpp:216 const ParallelWellInfo< Scalar > & parallelWellInfo(std::size_t well_index) const void setALQ(const std::string &name, Scalar value) Definition: WellState.hpp:186 SingleWellState< Scalar > & well(const std::string &well_name) Definition: WellState.hpp:322 bool wellIsOwned(std::size_t well_index, const std::string &wellName) const int numPhases() const The number of phases present. Definition: WellState.hpp:261 static void calculateSegmentRates(const std::vector< std::vector< int > > &segment_inlets, const std::vector< std::vector< int > > &segment_perforations, const std::vector< Scalar > &perforation_rates, const int np, const int segment, std::vector< Scalar > &segment_rates) void openWell(int well_index) void gliftSetDebugCounter(int value) Definition: WellState.hpp:196 std::optional< std::size_t > index(const std::string &well_name) const Definition: WellState.hpp:282 bool wellIsOwned(const std::string &wellName) const const std::vector< Scalar > & wellRates(std::size_t well_index) const Definition: WellState.hpp:274 void communicateGroupRates(const Parallel::Communication &comm) int wellNameToGlobalIdx(const std::string &name) Definition: WellState.hpp:239 SingleWellState< Scalar > & operator[](std::size_t well_index) Definition: WellState.hpp:297 static WellState serializationTestObject(const ParallelWellInfo< Scalar > &pinfo) const std::string & name(std::size_t well_index) const Definition: WellState.hpp:277 bool hasWellRates(const std::string &wellName) const Definition: WellState.hpp:127 void updateWellsDefaultALQ(const Schedule &schedule, const int report_step, const SummaryState &summary_state) void setCurrentWellRates(const std::string &wellName, const std::vector< Scalar > &new_rates) Definition: WellState.hpp:117 void updateStatus(int well_index, WellStatus status) SingleWellState< Scalar > & operator[](const std::string &well_name) Definition: WellState.hpp:302 const SingleWellState< Scalar > & operator[](const std::string &well_name) const Definition: WellState.hpp:292 bool gliftCheckAlqOscillation(const std::string &name) const Definition: WellState.hpp:206 bool isProductionGrup(const std::string &name) const Definition: WellState.hpp:171 void init(const std::vector< Scalar > &cellPressures, const std::vector< Scalar > &cellTemperatures, const Schedule &schedule, const std::vector< Well > &wells_ecl, const std::vector< std::reference_wrapper< ParallelWellInfo< Scalar > > > ¶llel_well_info, const int report_step, const WellState *prevState, const std::vector< std::vector< PerforationData< Scalar > > > &well_perf_data, const SummaryState &summary_state) int gliftGetAlqDecreaseCount(const std::string &name) Definition: WellState.hpp:211 void gatherVectorsOnRoot(const std::vector< data::Connection > &from_connections, std::vector< data::Connection > &to_connections, const Parallel::Communication &comm) const WellState(const ParallelWellInfo< Scalar > &pinfo) void stopWell(int well_index) void gliftUpdateAlqIncreaseCount(const std::string &name, bool increase) Definition: WellState.hpp:221 void shutWell(int well_index) std::vector< Scalar > & wellRates(std::size_t well_index) One rate per well and phase. Definition: WellState.hpp:272 void resize(const std::vector< Well > &wells_ecl, const std::vector< std::reference_wrapper< ParallelWellInfo< Scalar > > > ¶llel_well_info, const Schedule &schedule, const bool handle_ms_well, const std::size_t numCells, const std::vector< std::vector< PerforationData< Scalar > > > &well_perf_data, const SummaryState &summary_state) void updateGlobalIsGrup(const Parallel::Communication &comm) Dune::Communication< MPIComm > Communication Definition: ParallelCommunication.hpp:30 Definition: blackoilboundaryratevector.hh:37 Static data associated with a well perforation. Definition: PerforationData.hpp:30 Definition: BlackoilPhases.hpp:46 |