BUGFIX Make the wellVariables constant

The wellVariables where left out in makeConstantState()
With this fix norne runs
This commit is contained in:
Tor Harald Sandve 2016-08-12 14:31:25 +02:00
parent 5cd7468b51
commit 1754181761

View File

@ -951,6 +951,7 @@ namespace Opm {
ADB& pp = state.canonical_phase_pressures[canphase];
pp = ADB::constant(pp.value());
}
state.wellVariables = ADB::constant(state.wellVariables.value());
}
void setupLegacyState(SolutionState& state,