mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-05 22:13:00 -06:00
copy wellReservoirRates
This commit is contained in:
parent
8cece8641e
commit
a95459e6ff
@ -203,6 +203,12 @@ namespace Opm
|
||||
wellRates()[ idx ] = prevState->wellRates()[ oldidx ];
|
||||
}
|
||||
|
||||
// wellResrates
|
||||
for( int i=0, idx=newIndex*np, oldidx=oldIndex*np; i<np; ++i, ++idx, ++oldidx )
|
||||
{
|
||||
wellReservoirRates()[ idx ] = prevState->wellReservoirRates()[ oldidx ];
|
||||
}
|
||||
|
||||
// perfPhaseRates
|
||||
const int oldPerf_idx_beg = (*it).second[ 1 ];
|
||||
const int num_perf_old_well = (*it).second[ 2 ];
|
||||
|
Loading…
Reference in New Issue
Block a user