mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-16 01:01:55 -06:00
Update for new surfaceDensity() interface.
This commit is contained in:
parent
b2bf88e689
commit
bbf1862023
@ -951,9 +951,9 @@ namespace {
|
||||
const std::vector<PhasePresence>& cond,
|
||||
const std::vector<int>& cells) const
|
||||
{
|
||||
const double* rhos = fluid_.surfaceDensity();
|
||||
ADB b = fluidReciprocFVF(phase, p, T, cond, cells);
|
||||
ADB rho = V::Constant(p.size(), 1, rhos[phase]) * b;
|
||||
const V rhos = fluid_.surfaceDensity(phase, cells);
|
||||
const ADB b = fluidReciprocFVF(phase, p, T, cond, cells);
|
||||
const ADB rho = rhos * b;
|
||||
return rho;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user