mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
implement multi-region PVT
this requires the multi-region PVT patch for opm-core
This commit is contained in:
@@ -91,8 +91,10 @@ namespace Opm
|
||||
|
||||
/// Densities of stock components at surface conditions.
|
||||
/// \return Array of 3 density values.
|
||||
const double* BlackoilPropsAd::surfaceDensity() const
|
||||
const double* BlackoilPropsAd::surfaceDensity(int regionIdx) const
|
||||
{
|
||||
// this class only supports a single PVT region for now...
|
||||
assert(regionIdx == 0);
|
||||
return props_.surfaceDensity();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user