mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use Well index for perf skin pressure
This commit is contained in:
@@ -481,11 +481,11 @@ void WellState::init(const std::vector<double>& cellPressures,
|
||||
if (global_num_perf_same)
|
||||
{
|
||||
auto * throughput_target = this->perfThroughput(newIndex);
|
||||
auto * pressure_target = &perf_skin_pressure_[connpos];
|
||||
auto * pressure_target = this->perfSkinPressure(newIndex);
|
||||
auto * velocity_target = &perf_water_velocity_[connpos];
|
||||
|
||||
const auto * throughput_src = prevState->perfThroughput(oldIndex);
|
||||
const auto * pressure_src = &prevState->perfSkinPressure()[oldPerf_idx_beg];
|
||||
const auto * pressure_src = prevState->perfSkinPressure(oldIndex);
|
||||
const auto * velocity_src = &prevState->perfWaterVelocity()[oldPerf_idx_beg];
|
||||
|
||||
for (int perf = 0; perf < num_perf_this_well; ++perf)
|
||||
|
||||
Reference in New Issue
Block a user