CoolProp  6.6.1dev
An open-source fluid property and humid air property database
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CoolProp::Poly2DFracResidual Class Reference

Detailed Description

Definition at line 398 of file PolyMath.h.

#include <PolyMath.h>

Inheritance diagram for CoolProp::Poly2DFracResidual:
CoolProp::Poly2DResidual CoolProp::FuncWrapper1DWithDeriv CoolProp::FuncWrapper1D CoolProp::Poly2DFracIntResidual

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)
 
virtual ~Poly2DFracResidual ()
 
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)
 
virtual ~Poly2DResidual ()
 
- Public Member Functions inherited from CoolProp::FuncWrapper1D
 FuncWrapper1D ()
 
virtual ~FuncWrapper1D ()
 
virtual bool input_not_in_range (double x)
 

Protected Member Functions

 Poly2DFracResidual ()
 
- Protected Member Functions inherited from CoolProp::Poly2DResidual
 Poly2DResidual ()
 

Protected Attributes

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

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() [1/2]

CoolProp::Poly2DFracResidual::Poly2DFracResidual ( )
protected

◆ Poly2DFracResidual() [2/2]

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)

Definition at line 905 of file PolyMath.cpp.

◆ ~Poly2DFracResidual()

virtual CoolProp::Poly2DFracResidual::~Poly2DFracResidual ( )
inlinevirtual

Definition at line 422 of file PolyMath.h.

Member Function Documentation

◆ call()

double CoolProp::Poly2DFracResidual::call ( double  target)
virtual

Reimplemented from CoolProp::Poly2DResidual.

Reimplemented in CoolProp::Poly2DFracIntResidual.

Definition at line 914 of file PolyMath.cpp.

◆ deriv()

double CoolProp::Poly2DFracResidual::deriv ( double  target)
virtual

Reimplemented from CoolProp::Poly2DResidual.

Reimplemented in CoolProp::Poly2DFracIntResidual.

Definition at line 920 of file PolyMath.cpp.

Member Data Documentation

◆ poly

Polynomial2DFrac CoolProp::Poly2DFracResidual::poly
protected

Object that evaluates the equation.

Definition at line 404 of file PolyMath.h.

◆ x_base

double CoolProp::Poly2DFracResidual::x_base
protected

Definition at line 402 of file PolyMath.h.

◆ x_exp

int CoolProp::Poly2DFracResidual::x_exp
protected

Definition at line 401 of file PolyMath.h.

◆ y_base

double CoolProp::Poly2DFracResidual::y_base
protected

Definition at line 402 of file PolyMath.h.

◆ y_exp

int CoolProp::Poly2DFracResidual::y_exp
protected

Definition at line 401 of file PolyMath.h.


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