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

@@ -78,13 +78,13 @@ namespace Opm {
struct SimulatorData {
SimulatorData(int num_phases)
: rq(num_phases)
, rs(ADB::null())
, rv(ADB::null())
, rsSat(ADB::null())
, rvSat(ADB::null())
{
}
std::vector<ReservoirResidualQuant> rq;
ADB rs;
ADB rv;
ADB rsSat;
ADB rvSat;
};
/// Construct a solver. It will retain references to the