Add suport for GVPT keyword

This commit is contained in:
Sveinung Rundhovde
2017-12-15 12:29:49 +01:00
parent ffb85c98bf
commit 42befdfa4c
2 changed files with 6 additions and 0 deletions

View File

@@ -641,6 +641,8 @@ static const std::unordered_map< std::string, ofun > funs = {
duration ) },
{ "GLPT", mul( sum( rate< rt::wat, producer >, rate< rt::oil, producer > ),
duration ) },
{ "GVPT", mul( sum( sum( rate< rt::reservoir_water, producer >, rate< rt::reservoir_oil, producer > ),
rate< rt::reservoir_gas, producer > ), duration ) },
{ "WWPRH", production_history< Phase::WATER > },
{ "WOPRH", production_history< Phase::OIL > },