Facility for calculating phase densities based on the BlackoilPropertiesInterface. More...
#include <EquilibrationHelpers.hpp>
Public Member Functions | |
DensityCalculator (const BlackoilPropertiesInterface &props, const int c) | |
Constructor. More... | |
std::vector< double > | operator() (const double p, const double T, const std::vector< double > &z) const |
Compute phase densities of all phases at phase point given by (pressure, surface volume) tuple. More... | |
Facility for calculating phase densities based on the BlackoilPropertiesInterface.
Implements the crucial operator()(p,svol)
function that is expected by class EquilReg.
|
inline |
Constructor.
[in] | props | Implementation of the BlackoilPropertiesInterface. |
[in] | c | Single cell used as a representative cell in a PVT region. |
|
inline |
Compute phase densities of all phases at phase point given by (pressure, surface volume) tuple.
[in] | p | Fluid pressure. |
[in] | T | Temperature. |
[in] | z | Surface volumes of all phases. |