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... | |
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.
void Opm::Watercut::push | ( | double | time, |
double | fraction, | ||
double | produced | ||
) |
Add a report point.
[in] | time | current time in the simulation |
[in] | fraction | current water cut |
[in] | produced | current total cumulative production |
void Opm::Watercut::write | ( | std::ostream & | os | ) | const |
Write report to a stream.
[in,out] | os | output stream |