20 #ifndef OPM_BLACKOILPVT_HEADER_INCLUDED
21 #define OPM_BLACKOILPVT_HEADER_INCLUDED
26 #include <opm/parser/eclipse/Deck/Deck.hpp>
27 #include <boost/scoped_ptr.hpp>
36 void init(Opm::DeckConstPtr deck);
42 double B (
double press,
45 double dBdp(
double press,
48 double R (
double press,
51 double dRdp(
double press,
55 void getViscosity(
const std::vector<PhaseVec>& pressures,
56 const std::vector<CompVec>& surfvol,
57 std::vector<PhaseVec>& output)
const;
58 void B(
const std::vector<PhaseVec>& pressures,
59 const std::vector<CompVec>& surfvol,
60 std::vector<PhaseVec>& output)
const;
61 void dBdp(
const std::vector<PhaseVec>& pressures,
62 const std::vector<CompVec>& surfvol,
63 std::vector<PhaseVec>& output_B,
64 std::vector<PhaseVec>& output_dBdp)
const;
65 void R(
const std::vector<PhaseVec>& pressures,
66 const std::vector<CompVec>& surfvol,
67 std::vector<PhaseVec>& output)
const;
68 void dRdp(
const std::vector<PhaseVec>& pressures,
69 const std::vector<CompVec>& surfvol,
70 std::vector<PhaseVec>& output_R,
71 std::vector<PhaseVec>& output_dRdp)
const;
77 boost::scoped_ptr<MiscibilityProps> water_props_;
78 boost::scoped_ptr<MiscibilityProps> oil_props_;
79 boost::scoped_ptr<MiscibilityProps> gas_props_;
81 mutable std::vector<double> data1_;
82 mutable std::vector<double> data2_;
88 #endif // OPM_BLACKOILPVT_HEADER_INCLUDED
CompVec surfaceDensities() const
Definition: BlackoilFluid.hpp:31
Dune::FieldVector< Scalar, numComponents > CompVec
Definition: BlackoilDefs.hpp:40
double getViscosity(double press, const CompVec &surfvol, PhaseIndex phase) const
double dRdp(double press, const CompVec &surfvol, PhaseIndex phase) const
double B(double press, const CompVec &surfvol, PhaseIndex phase) const
double dBdp(double press, const CompVec &surfvol, PhaseIndex phase) const
double R(double press, const CompVec &surfvol, PhaseIndex phase) const
Definition: MiscibilityProps.hpp:46
Definition: BlackoilDefs.hpp:30
void init(Opm::DeckConstPtr deck)
Definition: BlackoilPVT.hpp:33
PhaseIndex
Definition: BlackoilDefs.hpp:37