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

Detailed Description

Definition at line 427 of file PolyMath.h.

#include <PolyMath.h>

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

Public Member Functions

 Poly2DFracIntResidual (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, const int &int_axis)
 
virtual ~Poly2DFracIntResidual ()
 
double call (double target)
 
double deriv (double target)
 
- Public Member Functions inherited from 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)
 
virtual ~Poly2DFracResidual ()
 
- 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

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

Protected Attributes

int int_axis
 
- Protected Attributes inherited from CoolProp::Poly2DFracResidual
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

◆ Poly2DFracIntResidual() [1/2]

CoolProp::Poly2DFracIntResidual::Poly2DFracIntResidual ( )
protected

◆ Poly2DFracIntResidual() [2/2]

CoolProp::Poly2DFracIntResidual::Poly2DFracIntResidual ( 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,
const int &  int_axis 
)

Residual of an integrated polynomial divided by the independent variable

Parameters
polypolynomial object used to evaluate the calls
coefficientsvector of 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)
int_axisaxis for the integration (0=x, 1=y)

Definition at line 926 of file PolyMath.cpp.

◆ ~Poly2DFracIntResidual()

virtual CoolProp::Poly2DFracIntResidual::~Poly2DFracIntResidual ( )
inlinevirtual

Definition at line 448 of file PolyMath.h.

Member Function Documentation

◆ call()

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

Reimplemented from CoolProp::Poly2DFracResidual.

Definition at line 933 of file PolyMath.cpp.

◆ deriv()

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

Reimplemented from CoolProp::Poly2DFracResidual.

Definition at line 939 of file PolyMath.cpp.

Member Data Documentation

◆ int_axis

int CoolProp::Poly2DFracIntResidual::int_axis
protected

Definition at line 431 of file PolyMath.h.


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