Merge pull request #87 from osae/hysteresis

Hysteresis.
This commit is contained in:
Atgeirr Flø Rasmussen
2014-03-04 10:30:07 +01:00
5 changed files with 28 additions and 5 deletions

View File

@@ -1004,6 +1004,15 @@ namespace Opm
}
return adbCapPressures;
}
/// Saturation update for hysteresis behavior.
/// \param[in] cells Array of n cell indices to be associated with the saturation values.
void BlackoilPropsAdFromDeck::updateSatHyst(const std::vector<double>& saturation,
const std::vector<int>& cells)
{
const int n = cells.size();
satprops_->updateSatHyst(n, cells.data(), saturation.data());
}
} // namespace Opm