Update WellState::thp()

This commit is contained in:
Joakim Hove
2021-05-14 08:12:42 +02:00
parent 3ec7feba75
commit 6af03f4a6a
6 changed files with 12 additions and 12 deletions

View File

@@ -84,8 +84,8 @@ public:
double bhp(std::size_t well_index) const { return bhp_[well_index]; }
/// One thp pressure per well.
std::vector<double>& thp() { return thp_; }
const std::vector<double>& thp() const { return thp_; }
void update_thp(std::size_t well_index, double value) { thp_[well_index] = value; }
double thp(std::size_t well_index) const { return thp_[well_index]; }
/// One temperature per well.
std::vector<double>& temperature() { return temperature_; }