mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
incorperate the review comments/decisions for multi-region PVT
the largest change is that all classes below opm/core/props/pvt take the PVT region index as an argument, the higher-level ones (i.e., BlackoilProps*) take cell indices.
This commit is contained in:
parent
beed4544de
commit
8c8ed13c16
@ -139,7 +139,7 @@ namespace Opm
|
|||||||
props_.matrix(1, &p, &z[0], &c_[0], &A[0], dAdp);
|
props_.matrix(1, &p, &z[0], &c_[0], &A[0], dAdp);
|
||||||
|
|
||||||
std::vector<double> rho(np, 0.0);
|
std::vector<double> rho(np, 0.0);
|
||||||
props_.density(1, &A[0], &rho[0]);
|
props_.density(1, &A[0], &c_[0], &rho[0]);
|
||||||
|
|
||||||
return rho;
|
return rho;
|
||||||
}
|
}
|
||||||
|
@ -369,8 +369,6 @@ namespace Opm
|
|||||||
const UnstructuredGrid& G ,
|
const UnstructuredGrid& G ,
|
||||||
const double grav)
|
const double grav)
|
||||||
{
|
{
|
||||||
typedef Miscibility::NoMixing NoMix;
|
|
||||||
|
|
||||||
for (typename RMap::RegionId
|
for (typename RMap::RegionId
|
||||||
r = 0, nr = reg.numRegions();
|
r = 0, nr = reg.numRegions();
|
||||||
r < nr; ++r)
|
r < nr; ++r)
|
||||||
|
Loading…
Reference in New Issue
Block a user