20 #ifndef OPM_POLYMERINFLOW_HEADER_INCLUDED
21 #define OPM_POLYMERINFLOW_HEADER_INCLUDED
23 #include <opm/core/utility/SparseVector.hpp>
24 #include <opm/parser/eclipse/Deck/Deck.hpp>
25 #include <opm/parser/eclipse/EclipseState/Schedule/Well.hpp>
26 #include <opm/parser/eclipse/EclipseState/Schedule/Schedule.hpp>
27 #include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
28 #include <opm/parser/eclipse/EclipseState/Schedule/WellPolymerProperties.hpp>
31 #include <unordered_map>
50 const double step_end,
51 std::vector<double>& poly_inflow_c)
const = 0;
76 const double step_end,
77 std::vector<double>& poly_inflow_c)
const;
108 std::vector<double>& poly_inflow_c)
const;
110 SparseVector<double> sparse_inflow_;
112 std::unordered_map<std::string, double> wellPolymerRate_;
113 void setInflowValues(
const Opm::EclipseState& eclipseState,
121 #endif // OPM_POLYMERINFLOW_HEADER_INCLUDED
Basic polymer injection behaviour class.
Definition: PolymerInflow.hpp:59
Polymer injection behaviour class using deck WPOLYMER.
Definition: PolymerInflow.hpp:88
PolymerInflowFromDeck(const Opm::EclipseState &eclipseState, const Wells &wells, const int num_cells, size_t currentStep)
Constructor.
Definition: PolymerInflow.cpp:102
virtual void getInflowValues(const double step_start, const double step_end, std::vector< double > &poly_inflow_c) const
Get inflow concentrations for all cells.
Definition: PolymerInflow.cpp:51
Interface for classes encapsulating polymer inflow information.
Definition: PolymerInflow.hpp:38
virtual ~PolymerInflowInterface()
Virtual destructor for subclassing.
Definition: PolymerInflow.hpp:42
PolymerInflowBasic(const double starttime, const double endtime, const double amount)
Constructor.
Definition: PolymerInflow.cpp:44
virtual void getInflowValues(const double, const double, std::vector< double > &poly_inflow_c) const
Get inflow concentrations for all cells.
Definition: PolymerInflow.cpp:142
virtual void getInflowValues(const double step_start, const double step_end, std::vector< double > &poly_inflow_c) const =0
Get inflow concentrations for all cells.