CoolProp  4.2.5
An open-source fluid property and humid air property database
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
SaturationFunctionOfPressureResids Class Reference
Inheritance diagram for SaturationFunctionOfPressureResids:
FuncWrapperND

Public Member Functions

 SaturationFunctionOfPressureResids (Fluid *pFluid, double p, double R, double rhoc, double Tc)
 
 ~SaturationFunctionOfPressureResids ()
 
void calculate_parameters (double deltaV, double deltaL, double tau)
 
double J (char Q)
 
double J_delta (char Q)
 
double J_tau (char Q)
 
double K (char Q)
 
double K_delta (char Q)
 
double K_tau (char Q)
 
std::vector< double > call (std::vector< double > x)
 
std::vector< std::vector
< double > > 
Jacobian (std::vector< double > x)
 
- Public Member Functions inherited from FuncWrapperND
 FuncWrapperND ()
 
virtual ~FuncWrapperND ()
 

Detailed Description

A wrapper class to do the calculations to get densities and saturation temperature as a function of pressure for pure fluids This class has been deprecated as it is in general 4 times slower than the method below that is based on the secant solver

Definition at line 2914 of file FluidClass.cpp.

Constructor & Destructor Documentation

SaturationFunctionOfPressureResids::SaturationFunctionOfPressureResids ( Fluid pFluid,
double  p,
double  R,
double  rhoc,
double  Tc 
)
inline

Definition at line 2922 of file FluidClass.cpp.

SaturationFunctionOfPressureResids::~SaturationFunctionOfPressureResids ( )
inline

Definition at line 2929 of file FluidClass.cpp.

Member Function Documentation

void SaturationFunctionOfPressureResids::calculate_parameters ( double  deltaV,
double  deltaL,
double  tau 
)
inline

Definition at line 2931 of file FluidClass.cpp.

std::vector<double> SaturationFunctionOfPressureResids::call ( std::vector< double >  x)
inlinevirtual

Implements FuncWrapperND.

Definition at line 2987 of file FluidClass.cpp.

double SaturationFunctionOfPressureResids::J ( char  Q)
inline

Definition at line 2944 of file FluidClass.cpp.

double SaturationFunctionOfPressureResids::J_delta ( char  Q)
inline

Definition at line 2951 of file FluidClass.cpp.

double SaturationFunctionOfPressureResids::J_tau ( char  Q)
inline

Definition at line 2958 of file FluidClass.cpp.

std::vector<std::vector<double> > SaturationFunctionOfPressureResids::Jacobian ( std::vector< double >  x)
inlinevirtual

Reimplemented from FuncWrapperND.

Definition at line 3003 of file FluidClass.cpp.

double SaturationFunctionOfPressureResids::K ( char  Q)
inline

Definition at line 2965 of file FluidClass.cpp.

double SaturationFunctionOfPressureResids::K_delta ( char  Q)
inline

Definition at line 2972 of file FluidClass.cpp.

double SaturationFunctionOfPressureResids::K_tau ( char  Q)
inline

Definition at line 2979 of file FluidClass.cpp.


The documentation for this class was generated from the following file: