Basic polymer injection behaviour class. More...
#include <PolymerInflow.hpp>
Public Member Functions | |
PolymerInflowBasic (const double starttime, const double endtime, const double amount) | |
Constructor. | |
virtual void | getInflowValues (const double step_start, const double step_end, std::vector< double > &poly_inflow_c) const |
Get inflow concentrations for all cells. |
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. |
[in] | starttime | Start time of injection in seconds. |
[in] | endtime | End time of injection in seconds. |
[in] | amount | Amount to be injected per second. |
void Opm::PolymerInflowBasic::getInflowValues | ( | const double | step_start, | |
const double | step_end, | |||
std::vector< double > & | poly_inflow_c | |||
) | const [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.