Rename mutable perfPhaseRates()

This commit is contained in:
Joakim Hove
2021-05-07 11:14:57 +02:00
parent aea80db23a
commit 846809ec29
4 changed files with 7 additions and 7 deletions

View File

@@ -2664,7 +2664,7 @@ namespace Opm
// store the perf pressure and rates
const int rate_start_offset = (first_perf_ + perf) * number_of_phases_;
for (int comp_idx = 0; comp_idx < num_components_; ++comp_idx) {
well_state.perfPhaseRates()[rate_start_offset + ebosCompIdxToFlowCompIdx(comp_idx)] = cq_s[comp_idx].value();
well_state.mutable_perfPhaseRates()[rate_start_offset + ebosCompIdxToFlowCompIdx(comp_idx)] = cq_s[comp_idx].value();
}
well_state.perfPress()[first_perf_ + perf] = perf_press.value();