added: setters for the vappars in pvt classes
This commit is contained in:
@@ -306,6 +306,19 @@ public:
|
||||
static void setWaterPvt(std::shared_ptr<WaterPvt> pvtObj)
|
||||
{ waterPvt_ = pvtObj; }
|
||||
|
||||
static void setVapPars(const Scalar par1, const Scalar par2)
|
||||
{
|
||||
if (gasPvt_) {
|
||||
gasPvt_->setVapPars(par1, par2);
|
||||
}
|
||||
if (oilPvt_) {
|
||||
oilPvt_->setVapPars(par1, par2);
|
||||
}
|
||||
if (waterPvt_) {
|
||||
waterPvt_->setVapPars(par1, par2);
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Initialize the values of the reference densities
|
||||
*
|
||||
|
||||
@@ -104,6 +104,9 @@ public:
|
||||
salinity_.resize(numRegions);
|
||||
}
|
||||
|
||||
void setVapPars(const Scalar, const Scalar)
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Initialize the reference densities of all fluids for a given PVT region
|
||||
|
||||
@@ -92,6 +92,10 @@ public:
|
||||
salinity_.resize(numRegions);
|
||||
}
|
||||
|
||||
void setVapPars(const Scalar, const Scalar)
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Initialize the reference densities of all fluids for a given PVT region
|
||||
*/
|
||||
|
||||
@@ -88,6 +88,9 @@ public:
|
||||
salinity_.resize(numRegions);
|
||||
}
|
||||
|
||||
void setVapPars(const Scalar, const Scalar)
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Initialize the reference densities of all fluids for a given PVT region
|
||||
|
||||
@@ -68,6 +68,10 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void setVapPars(const Scalar, const Scalar)
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Set the water reference density [kg / m^3]
|
||||
*/
|
||||
|
||||
@@ -71,6 +71,10 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void setVapPars(const Scalar, const Scalar)
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Initialize the reference densities of all fluids for a given PVT region
|
||||
*/
|
||||
|
||||
@@ -70,6 +70,10 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void setVapPars(const Scalar, const Scalar)
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Set the water reference density [kg / m^3]
|
||||
*/
|
||||
|
||||
@@ -55,6 +55,10 @@ public:
|
||||
|
||||
void setNumRegions(size_t numRegions);
|
||||
|
||||
void setVapPars(const Scalar, const Scalar)
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Initialize the reference densities of all fluids for a given PVT region
|
||||
*/
|
||||
|
||||
@@ -63,6 +63,10 @@ public:
|
||||
|
||||
void setNumRegions(size_t numRegions);
|
||||
|
||||
void setVapPars(const Scalar, const Scalar)
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Initialize the reference densities of all fluids for a given PVT region
|
||||
*/
|
||||
|
||||
@@ -74,6 +74,11 @@ public:
|
||||
|
||||
void setNumRegions(size_t numRegions);
|
||||
|
||||
void setVapPars(const Scalar par1, const Scalar)
|
||||
{
|
||||
vapPar1_ = par1;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Initialize the reference densities of all fluids for a given PVT region
|
||||
*/
|
||||
|
||||
@@ -216,6 +216,11 @@ public:
|
||||
unsigned numRegions() const
|
||||
{ OPM_GAS_PVT_MULTIPLEXER_CALL(return pvtImpl.numRegions()); return 1; }
|
||||
|
||||
void setVapPars(const Scalar par1, const Scalar par2)
|
||||
{
|
||||
OPM_GAS_PVT_MULTIPLEXER_CALL(pvtImpl.setVapPars(par1, par2));
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Return the reference density which are considered by this PVT-object.
|
||||
*/
|
||||
|
||||
@@ -121,6 +121,11 @@ public:
|
||||
rhoRefO_.resize(numRegions);
|
||||
}
|
||||
|
||||
void setVapPars(const Scalar par1, const Scalar par2)
|
||||
{
|
||||
isothermalPvt_->setVapPars(par1, par2);
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Finish initializing the thermal part of the gas phase PVT properties.
|
||||
*/
|
||||
|
||||
@@ -79,6 +79,10 @@ public:
|
||||
gasReferenceDensity_.resize(numRegions);
|
||||
}
|
||||
|
||||
void setVapPars(const Scalar, const Scalar)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
* \brief Initialize the reference densities of all fluids for a given PVT region
|
||||
@@ -228,4 +232,4 @@ private:
|
||||
|
||||
} // end namspace Opm
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -72,6 +72,11 @@ public:
|
||||
|
||||
void setNumRegions(size_t numRegions);
|
||||
|
||||
void setVapPars(const Scalar, const Scalar par2)
|
||||
{
|
||||
vapPar2_ = par2;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Initialize the reference densities of all fluids for a given PVT region
|
||||
*/
|
||||
|
||||
@@ -170,6 +170,11 @@ public:
|
||||
unsigned numRegions() const
|
||||
{ OPM_OIL_PVT_MULTIPLEXER_CALL(return pvtImpl.numRegions()); return 1; }
|
||||
|
||||
void setVapPars(const Scalar par1, const Scalar par2)
|
||||
{
|
||||
OPM_OIL_PVT_MULTIPLEXER_CALL(pvtImpl.setVapPars(par1, par2));
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Return the reference density which are considered by this PVT-object.
|
||||
*/
|
||||
|
||||
@@ -124,6 +124,11 @@ public:
|
||||
rhoRefG_.resize(numRegions);
|
||||
}
|
||||
|
||||
void setVapPars(const Scalar par1, const Scalar par2)
|
||||
{
|
||||
isothermalPvt_->setVapPars(par1, par2);
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Finish initializing the thermal part of the oil phase PVT properties.
|
||||
*/
|
||||
|
||||
@@ -61,6 +61,10 @@ public:
|
||||
|
||||
void setNumRegions(size_t numRegions);
|
||||
|
||||
void setVapPars(const Scalar, const Scalar)
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Initialize the reference density of the solvent gas for a given PVT region
|
||||
*/
|
||||
|
||||
@@ -150,6 +150,11 @@ public:
|
||||
unsigned numRegions() const
|
||||
{ OPM_WATER_PVT_MULTIPLEXER_CALL(return pvtImpl.numRegions()); return 1; }
|
||||
|
||||
void setVapPars(const Scalar par1, const Scalar par2)
|
||||
{
|
||||
OPM_WATER_PVT_MULTIPLEXER_CALL(pvtImpl.setVapPars(par1, par2));
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Return the reference density which are considered by this PVT-object.
|
||||
*/
|
||||
|
||||
@@ -132,6 +132,11 @@ public:
|
||||
internalEnergyCurves_.resize(numRegions);
|
||||
}
|
||||
|
||||
void setVapPars(const Scalar par1, const Scalar par2)
|
||||
{
|
||||
isothermalPvt_->setVapPars(par1, par2);
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Finish initializing the thermal part of the water phase PVT properties.
|
||||
*/
|
||||
|
||||
@@ -74,6 +74,11 @@ public:
|
||||
|
||||
void setNumRegions(size_t numRegions);
|
||||
|
||||
void setVapPars(const Scalar par1, const Scalar)
|
||||
{
|
||||
vapPar1_ = par1;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Initialize the reference densities of all fluids for a given PVT region
|
||||
*/
|
||||
|
||||
@@ -79,6 +79,11 @@ public:
|
||||
|
||||
void setNumRegions(size_t numRegions);
|
||||
|
||||
void setVapPars(const Scalar par1, const Scalar)
|
||||
{
|
||||
vapPar1_ = par1;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Initialize the reference densities of all fluids for a given PVT region
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user