Opm::Watercut Class Reference

#include <miscUtilities.hpp>

Public Member Functions

void push (double time, double fraction, double produced)
 
void write (std::ostream &os) const
 

Detailed Description

A simple flow reporting utility, encapsulating the watercut curves.

Typically call push() after every timestep to build up report, then call write() to write report as a matrix with times in the first columns, water cut in the second column and cumulative production in the last column. Units used will be the same as is passed in, no conversion is done.

Member Function Documentation

void Opm::Watercut::push ( double  time,
double  fraction,
double  produced 
)

Add a report point.

Parameters
[in]timecurrent time in the simulation
[in]fractioncurrent water cut
[in]producedcurrent total cumulative production
void Opm::Watercut::write ( std::ostream &  os) const

Write report to a stream.

Parameters
[in,out]osoutput stream

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