Opm::Watercut Class Reference

A simple flow reporting utility, encapsulating the watercut curves. More...

#include <miscUtilities.hpp>

Public Member Functions

void push (double time, double fraction, double produced)
 Add a report point. More...
 
void write (std::ostream &os) const
 Write report to a stream. More...
 

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

◆ push()

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

◆ write()

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 files: