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

Detailed Description

This class is the objective function for the one-dimensional solver used to find the first intersection with the L1*=0 contour.

Definition at line 3531 of file HelmholtzEOSMixtureBackend.cpp.

Inheritance diagram for CoolProp::OneDimObjective:
CoolProp::FuncWrapper1DWithTwoDerivs CoolProp::FuncWrapper1DWithDeriv CoolProp::FuncWrapper1D

Public Member Functions

 OneDimObjective (HelmholtzEOSMixtureBackend &HEOS, double delta0)
 
double call (double tau)
 
double deriv (double tau)
 
double second_deriv (double tau)
 
- Public Member Functions inherited from CoolProp::FuncWrapper1D
 FuncWrapper1D ()
 
virtual ~FuncWrapper1D ()
 
virtual bool input_not_in_range (double x)
 

Public Attributes

CoolProp::HelmholtzEOSMixtureBackendHEOS
 
const double delta
 
double _call
 
double _deriv
 
double _second_deriv
 
- Public Attributes inherited from CoolProp::FuncWrapper1D
int errcode
 
std::string errstring
 
Dictionary options
 
int iter
 

Constructor & Destructor Documentation

◆ OneDimObjective()

CoolProp::OneDimObjective::OneDimObjective ( HelmholtzEOSMixtureBackend HEOS,
double  delta0 
)
inline

Definition at line 3537 of file HelmholtzEOSMixtureBackend.cpp.

Member Function Documentation

◆ call()

double CoolProp::OneDimObjective::call ( double  tau)
inlinevirtual

Implements CoolProp::FuncWrapper1D.

Definition at line 3538 of file HelmholtzEOSMixtureBackend.cpp.

◆ deriv()

double CoolProp::OneDimObjective::deriv ( double  tau)
inlinevirtual

Implements CoolProp::FuncWrapper1DWithDeriv.

Definition at line 3544 of file HelmholtzEOSMixtureBackend.cpp.

◆ second_deriv()

double CoolProp::OneDimObjective::second_deriv ( double  tau)
inlinevirtual

Member Data Documentation

◆ _call

double CoolProp::OneDimObjective::_call

Definition at line 3536 of file HelmholtzEOSMixtureBackend.cpp.

◆ _deriv

double CoolProp::OneDimObjective::_deriv

Definition at line 3536 of file HelmholtzEOSMixtureBackend.cpp.

◆ _second_deriv

double CoolProp::OneDimObjective::_second_deriv

Definition at line 3536 of file HelmholtzEOSMixtureBackend.cpp.

◆ delta

const double CoolProp::OneDimObjective::delta

Definition at line 3535 of file HelmholtzEOSMixtureBackend.cpp.

◆ HEOS

CoolProp::HelmholtzEOSMixtureBackend& CoolProp::OneDimObjective::HEOS

Definition at line 3534 of file HelmholtzEOSMixtureBackend.cpp.


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