20 #ifndef OPM_COMP_WELL_STATES_HPP 21 #define OPM_COMP_WELL_STATES_HPP 27 #include <opm/simulators/wells/WellContainer.hpp> 28 #include <opm/simulators/wells/PerforationData.hpp> 30 #include <opm/output/data/Wells.hpp> 33 #include <flowexperimental/comp/wells/SingleCompWellState.hpp> 38 template <
typename Flu
idSystem>
42 using Scalar =
typename FluidSystem::Scalar;
46 explicit CompWellState(
const CompositionalConfig& comp_config);
48 void init(
const std::vector<Well>& wells_ecl,
49 const std::vector<Scalar>& cell_pressures,
50 const Scalar cell_temperature,
51 const std::vector<std::vector<Scalar>>& cell_mole_fractions,
52 const std::vector<std::vector<CompConnectionData> >& well_connection_data,
53 const SummaryState& sumary_state,
60 bool has(
const std::string& well_name)
const 61 {
return wells_.has(well_name); }
63 data::Wells report()
const;
68 wells_ = other.wells_;
74 const CompositionalConfig& comp_config_;
76 void base_init(
const std::vector<Well>& wells_ecl,
77 const std::vector<Scalar>& cell_pressures,
78 const Scalar temperature,
79 const std::vector<std::vector<Scalar>>& cell_mole_fractions,
80 const std::vector<std::vector<CompConnectionData> >& well_connection_data,
81 const SummaryState& summary_state);
83 void initSingleWell(
const Well& well,
84 const std::vector<Scalar>& cell_pressures,
85 const Scalar tempearture,
86 const std::vector<std::vector<Scalar>>& cell_mole_fractions,
87 const std::vector<CompConnectionData >& conn_data,
88 const SummaryState& summary_state);
90 void initSingleInjector(
const Well& well,
91 const std::vector<Scalar>& cell_pressures,
92 const Scalar temperature,
93 const std::vector<CompConnectionData>& conn_data,
94 const SummaryState& summary_state);
96 void initSingleProducer(
const Well& well,
97 const std::vector<Scalar>& cell_pressures,
98 const Scalar temperature,
99 const std::vector<std::vector<Scalar>>& cell_mole_fractions,
100 const std::vector<CompConnectionData>& conn_data,
101 const SummaryState& summary_state);
106 #include "CompWellState_impl.hpp" 108 #endif // OPM_COMP_WELL_STATES_HPP Definition: CompWellPrimaryVariables.hpp:32
Structs needed for tpfalinearizer and its gpuparams struct extracted to be defined in one place that ...
Definition: blackoilbioeffectsmodules.hh:45
Definition: CompWellState.hpp:39
Definition: WellContainer.hpp:46
Static data associated with a well perforation.
Definition: BlackoilWellModelRestart.hpp:41