Merge pull request #834 from akva2/fix_regression_pr_833

fix output of gas phase
This commit is contained in:
Atgeirr Flø Rasmussen 2016-09-21 10:54:29 +02:00 committed by GitHub
commit ec955690cd

View File

@ -240,7 +240,7 @@ namespace Opm
}
if( pu.phase_used[BlackoilPhases::Vapour] ) {
wellrates.set( rt::wat, wv[ wellrate_index + pu.phase_pos[BlackoilPhases::Vapour] ] );
wellrates.set( rt::gas, wv[ wellrate_index + pu.phase_pos[BlackoilPhases::Vapour] ] );
}
const double bhp = this->bhp()[ w ];