Opm::PolymerInflowBasic Class Reference

Basic polymer injection behaviour class. More...

#include <PolymerInflow.hpp>

Inheritance diagram for Opm::PolymerInflowBasic:
Opm::PolymerInflowInterface

List of all members.

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.

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

Member Function Documentation

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


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

Generated on 26 Mar 2018 by  doxygen 1.6.1