Basic polymer injection behaviour class. More...
#include <PolymerInflow.hpp>
Public Member Functions | |
PolymerInflowBasic (const double starttime, const double endtime, const double amount) | |
Constructor. More... | |
virtual void | getInflowValues (const double step_start, const double step_end, std::vector< double > &poly_inflow_c) const |
Get inflow concentrations for all cells. More... | |
![]() | |
virtual | ~PolymerInflowInterface () |
Virtual destructor for subclassing. | |
Basic polymer injection behaviour class.
This class gives all injectors the same polymer concentration, during a single time interval. Amount and interval can be specified.
Opm::PolymerInflowBasic::PolymerInflowBasic | ( | const double | starttime, |
const double | endtime, | ||
const double | amount | ||
) |
Constructor.
[in] | starttime | Start time of injection in seconds. |
[in] | endtime | End time of injection in seconds. |
[in] | amount | Amount to be injected per second. |
|
virtual |
Get inflow concentrations for all cells.
[in] | step_start | Start of timestep. |
[in] | step_end | End of timestep. |
[out] | poly_inflow_c | Injection concentrations to use for timestep, per cell. Must be properly sized before calling. |
Implements Opm::PolymerInflowInterface.