20 #ifndef OPM_AUTODIFF_VFPPROPERTIES_HPP_
21 #define OPM_AUTODIFF_VFPPROPERTIES_HPP_
23 #include <opm/simulators/wells/VFPInjProperties.hpp>
24 #include <opm/simulators/wells/VFPProdProperties.hpp>
49 VFPProperties(
const std::vector<std::reference_wrapper<const VFPInjTable>>& inj_tables,
50 const std::vector<std::reference_wrapper<const VFPProdTable>>& prod_tables)
52 for (
const auto& vfpinj : inj_tables)
55 for (
const auto& vfpprod : prod_tables)
Definition: VFPInjProperties.hpp:33
void addTable(const VFPInjTable &new_table)
Takes no ownership of data.
Definition: VFPInjProperties.cpp:84
Class which linearly interpolates BHP as a function of rate, tubing head pressure,...
Definition: VFPProdProperties.hpp:37
void addTable(const VFPProdTable &new_table)
Takes no ownership of data.
Definition: VFPProdProperties.cpp:138
A thin wrapper class that holds one VFPProdProperties and one VFPInjProperties object.
Definition: VFPProperties.hpp:37
const VFPInjProperties * getInj() const
Returns the VFP properties for injection wells.
Definition: VFPProperties.hpp:62
VFPProperties(const std::vector< std::reference_wrapper< const VFPInjTable >> &inj_tables, const std::vector< std::reference_wrapper< const VFPProdTable >> &prod_tables)
Constructor Takes no ownership of data.
Definition: VFPProperties.hpp:49
const VFPProdProperties * getProd() const
Returns the VFP properties for production wells.
Definition: VFPProperties.hpp:69
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: BlackoilPhases.hpp:26