restart flow

This commit is contained in:
chflo
2016-01-05 12:39:02 +01:00
parent 2c9a727844
commit 399b4f11c4
5 changed files with 79 additions and 4 deletions

View File

@@ -169,6 +169,13 @@ namespace Opm
}
}
template <class State>
void resize(const Wells* wells, const State& state) {
const WellStateFullyImplicitBlackoil dummy_state; //Init with an empty previous state only resizes
init(wells, state, dummy_state) ;
}
/// One rate per phase and well connection.
std::vector<double>& perfPhaseRates() { return perfphaserates_; }
const std::vector<double>& perfPhaseRates() const { return perfphaserates_; }