Opm::PolymerInflowBasic Class Reference

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. More...

#include <PolymerInflow.hpp>

Inheritance diagram for Opm::PolymerInflowBasic:
Inheritance graph

Public Member Functions

 PolymerInflowBasic (const double starttime, const double endtime, const double amount)
 
virtual void getInflowValues (const double step_start, const double step_end, std::vector< double > &poly_inflow_c) const
 

Detailed Description

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.

Constructor & Destructor Documentation

Opm::PolymerInflowBasic::PolymerInflowBasic ( const double  starttime,
const double  endtime,
const double  amount 
)

Constructor.

Parameters
[in]starttimeStart time of injection in seconds.
[in]endtimeEnd time of injection in seconds.
[in]amountAmount to be injected per second.

Member Function Documentation

virtual 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.

Parameters
[in]step_startStart of timestep.
[in]step_endEnd of timestep.
[out]poly_inflow_cInjection concentrations to use for timestep, per cell. Must be properly sized before calling.

Implements Opm::PolymerInflowInterface.


The documentation for this class was generated from the following file: