mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Prepare for extended models.
Let the code loop over number of components instead of phase Pass TypeTag as template parameter instead of all the properties.
This commit is contained in:
@@ -315,7 +315,7 @@ namespace Opm
|
||||
// Compute densities
|
||||
std::vector<double> cd =
|
||||
WellDensitySegmented::computeConnectionDensities(
|
||||
wells(), xw, fluid_->phaseUsage(),
|
||||
wells(), fluid_->phaseUsage(), xw.perfPhaseRates(),
|
||||
b_perf, rsmax_perf, rvmax_perf, surf_dens_perf);
|
||||
|
||||
const int nperf = wells().well_connpos[wells().number_of_wells];
|
||||
|
||||
Reference in New Issue
Block a user