Runs first iterations of two-phase test case plausibly
This commit is contained in:
parent
404929fe34
commit
c8d5174113
@ -322,8 +322,8 @@ namespace Opm
|
||||
this->compute_R_(n, p, T, z, cells, &R_[0]);
|
||||
}
|
||||
const auto& pu = phaseUsage();
|
||||
bool oil_and_gas = pu.phase_pos[BlackoilPhases::Liquid] &&
|
||||
pu.phase_pos[BlackoilPhases::Vapour];
|
||||
bool oil_and_gas = pu.phase_used[BlackoilPhases::Liquid] &&
|
||||
pu.phase_used[BlackoilPhases::Vapour];
|
||||
const int o = pu.phase_pos[BlackoilPhases::Liquid];
|
||||
const int g = pu.phase_pos[BlackoilPhases::Vapour];
|
||||
|
||||
|
@ -94,7 +94,7 @@ namespace Opm
|
||||
}
|
||||
else {
|
||||
//Set to ridiculous value on purpose: should never be used
|
||||
pu.phase_pos[i] = -1;
|
||||
pu.phase_pos[i] = 2000000000;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user