The reference phase is always the oil phase. Removed explicit warning.

This commit is contained in:
Atgeirr Flø Rasmussen 2014-04-15 20:48:15 +02:00
parent de695f3cd5
commit 7a1d221da3

View File

@ -1534,7 +1534,7 @@ namespace {
// convert the pressure offsets to the capillary pressures
std::vector<ADB> pressure = fluid_.capPress(sw, so, sg, cells_);
for (int phaseIdx = 0; phaseIdx < BlackoilPhases::MaxNumPhases; ++phaseIdx) {
#warning "what's the reference phase??"
// The reference pressure is always the liquid phase (oil) pressure.
if (phaseIdx == BlackoilPhases::Liquid)
continue;
pressure[phaseIdx] = pressure[phaseIdx] - pressure[BlackoilPhases::Liquid];