CoolProp
Public Member Functions | Protected Attributes | List of all members
CoolProp::Poly2DFracResidual Class Reference
Inheritance diagram for CoolProp::Poly2DFracResidual:
Inheritance graph
[legend]
Collaboration diagram for CoolProp::Poly2DFracResidual:
Collaboration graph
[legend]

Public Member Functions

 Poly2DFracResidual (Polynomial2DFrac &poly, const Eigen::MatrixXd &coefficients, const double &in, const double &z_in, const int &axis, const int &x_exp, const int &y_exp, const double &x_base, const double &y_base)
 Residual of a polynomial divided by the independent variable. More...
 
double call (double target)
 
double deriv (double target)
 
- Public Member Functions inherited from CoolProp::Poly2DResidual
 Poly2DResidual (Polynomial2D &poly, const Eigen::MatrixXd &coefficients, const double &in, const double &z_in, const int &axis)
 Residual of a polynomial. More...
 
- Public Member Functions inherited from CoolProp::FuncWrapper1D
virtual bool input_not_in_range (double x)
 /brief A function for checking whether the input is in range; More...
 

Protected Attributes

int x_exp
 
int y_exp
 
double x_base
 
double y_base
 
Polynomial2DFrac poly
 Object that evaluates the equation.
 
- Protected Attributes inherited from CoolProp::Poly2DResidual
Eigen::MatrixXd coefficients
 
bool derIsSet
 
Eigen::MatrixXd coefficientsDer
 
int axis
 
double in
 the fixed input != targetDim
 
Polynomial2D poly
 Object that evaluates the equation.
 
double z_in
 Current output value.
 

Additional Inherited Members

- Public Attributes inherited from CoolProp::FuncWrapper1D
int errcode
 
std::string errstring
 
Dictionary options
 
int iter
 
- Protected Types inherited from CoolProp::Poly2DResidual
enum  dims { iX, iY }
 

Constructor & Destructor Documentation

◆ Poly2DFracResidual()

CoolProp::Poly2DFracResidual::Poly2DFracResidual ( Polynomial2DFrac poly,
const Eigen::MatrixXd &  coefficients,
const double &  in,
const double &  z_in,
const int &  axis,
const int &  x_exp,
const int &  y_exp,
const double &  x_base,
const double &  y_base 
)

Residual of a polynomial divided by the independent variable.

Parameters
polypolynomial object used to evaluate the calls
coefficients
indouble value that represents the current input in x (1st dimension) or y (2nd dimension)
z_indouble value that represents the current output in the 3rd dimension
axisunsigned integer value that represents the axis to solve for (0=x, 1=y)
x_expfirst exponent in x-direction
y_expfirst exponent in y-direction
x_basebase value for x (x = x_in - x_base)
y_basebase value for y (y = y_in - y_base)

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