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

Detailed Description

A residual function for the rho(T,P) solver

Definition at line 186 of file FlashRoutines.h.

#include <FlashRoutines.h>

Inheritance diagram for CoolProp::solver_TP_resid:
CoolProp::FuncWrapper1DWithDeriv CoolProp::FuncWrapper1D

Public Member Functions

 solver_TP_resid (HelmholtzEOSMixtureBackend &HEOS, CoolPropDbl T, CoolPropDbl p)
 
double call (double rhomolar)
 
double deriv (double rhomolar)
 
- Public Member Functions inherited from CoolProp::FuncWrapper1D
 FuncWrapper1D ()
 
virtual ~FuncWrapper1D ()
 
virtual bool input_not_in_range (double x)
 

Public Attributes

HelmholtzEOSMixtureBackendHEOS
 
CoolPropDbl T
 
CoolPropDbl p
 
CoolPropDbl rhor
 
CoolPropDbl tau
 
CoolPropDbl R_u
 
CoolPropDbl delta
 
- Public Attributes inherited from CoolProp::FuncWrapper1D
int errcode
 
std::string errstring
 
Dictionary options
 
int iter
 

Constructor & Destructor Documentation

◆ solver_TP_resid()

CoolProp::solver_TP_resid::solver_TP_resid ( HelmholtzEOSMixtureBackend HEOS,
CoolPropDbl  T,
CoolPropDbl  p 
)
inline

Definition at line 192 of file FlashRoutines.h.

Member Function Documentation

◆ call()

double CoolProp::solver_TP_resid::call ( double  rhomolar)
inlinevirtual

Implements CoolProp::FuncWrapper1D.

Definition at line 200 of file FlashRoutines.h.

◆ deriv()

double CoolProp::solver_TP_resid::deriv ( double  rhomolar)
inlinevirtual

Implements CoolProp::FuncWrapper1DWithDeriv.

Definition at line 206 of file FlashRoutines.h.

Member Data Documentation

◆ delta

CoolPropDbl CoolProp::solver_TP_resid::delta

Definition at line 190 of file FlashRoutines.h.

◆ HEOS

HelmholtzEOSMixtureBackend* CoolProp::solver_TP_resid::HEOS

Definition at line 189 of file FlashRoutines.h.

◆ p

CoolPropDbl CoolProp::solver_TP_resid::p

Definition at line 190 of file FlashRoutines.h.

◆ R_u

CoolPropDbl CoolProp::solver_TP_resid::R_u

Definition at line 190 of file FlashRoutines.h.

◆ rhor

CoolPropDbl CoolProp::solver_TP_resid::rhor

Definition at line 190 of file FlashRoutines.h.

◆ T

CoolPropDbl CoolProp::solver_TP_resid::T

Definition at line 190 of file FlashRoutines.h.

◆ tau

CoolPropDbl CoolProp::solver_TP_resid::tau

Definition at line 190 of file FlashRoutines.h.


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