Fixed bug where rsSat/rvSat were never set

This commit is contained in:
babrodtk
2016-09-14 15:41:47 +02:00
parent fbc47cc186
commit f7e3185546
4 changed files with 19 additions and 17 deletions

View File

@@ -132,8 +132,8 @@ namespace Opm {
struct SimulatorData {
SimulatorData(int num_phases);
std::vector<ReservoirResidualQuant> rq;
ADB rs;
ADB rv;
ADB rsSat;
ADB rvSat;
};
typedef typename ModelTraits<Implementation>::ReservoirState ReservoirState;
@@ -323,7 +323,7 @@ namespace Opm {
bool use_threshold_pressure_;
V threshold_pressures_by_connection_;
SimulatorData sd_;
mutable SimulatorData sd_;
std::vector<PhasePresence> phaseCondition_;
// Well Model