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

Detailed Description

This class is used to trace the spinodal of the mixture, and is also used to calculate critical points

Definition at line 3562 of file HelmholtzEOSMixtureBackend.cpp.

Inheritance diagram for CoolProp::L0CurveTracer:
CoolProp::FuncWrapper1DWithDeriv CoolProp::FuncWrapper1D

Public Member Functions

 L0CurveTracer (HelmholtzEOSMixtureBackend &HEOS, double tau0, double delta0)
 
void get_tau_delta (const double theta, const double tau, const double delta, double &tau_new, double &delta_new)
 
double call (double theta)
 
double deriv (double theta)
 
void trace ()
 
- Public Member Functions inherited from CoolProp::FuncWrapper1D
 FuncWrapper1D ()
 
virtual ~FuncWrapper1D ()
 
virtual bool input_not_in_range (double x)
 

Public Attributes

CoolProp::HelmholtzEOSMixtureBackendHEOS
 
double delta
 
double tau
 
double M1_last
 The last value that the Mstar determinant had. More...
 
double theta_last
 The last value that the angle had. More...
 
double R_tau
 The radius for tau currently being used. More...
 
double R_delta
 The radius for delta currently being used. More...
 
double R_tau_tracer
 The radius for tau that should be used in the L1*=0 tracer (user-modifiable after instantiation) More...
 
double R_delta_tracer
 The radius for delta that should be used in the L1*=0 tracer (user-modifiable after instantiation) More...
 
std::vector< CoolProp::CriticalStatecritical_points
 
int N_critical_points
 
Eigen::MatrixXd Lstar
 
Eigen::MatrixXd adjLstar
 
Eigen::MatrixXd dLstardTau
 
Eigen::MatrixXd d2LstardTau2
 
Eigen::MatrixXd dLstardDelta
 
SpinodalData spinodal_values
 
bool find_critical_points
 If true, actually calculate the critical points, otherwise, skip evaluation of critical points but still trace the spinodal. More...
 
- Public Attributes inherited from CoolProp::FuncWrapper1D
int errcode
 
std::string errstring
 
Dictionary options
 
int iter
 

Constructor & Destructor Documentation

◆ L0CurveTracer()

CoolProp::L0CurveTracer::L0CurveTracer ( HelmholtzEOSMixtureBackend HEOS,
double  tau0,
double  delta0 
)
inline

Definition at line 3579 of file HelmholtzEOSMixtureBackend.cpp.

Member Function Documentation

◆ call()

double CoolProp::L0CurveTracer::call ( double  theta)
inlinevirtual

Implements CoolProp::FuncWrapper1D.

Definition at line 3602 of file HelmholtzEOSMixtureBackend.cpp.

◆ deriv()

double CoolProp::L0CurveTracer::deriv ( double  theta)
inlinevirtual

Implements CoolProp::FuncWrapper1DWithDeriv.

Definition at line 3618 of file HelmholtzEOSMixtureBackend.cpp.

◆ get_tau_delta()

void CoolProp::L0CurveTracer::get_tau_delta ( const double  theta,
const double  tau,
const double  delta,
double &  tau_new,
double &  delta_new 
)
inline

Definition at line 3594 of file HelmholtzEOSMixtureBackend.cpp.

◆ trace()

void CoolProp::L0CurveTracer::trace ( )
inline

Definition at line 3623 of file HelmholtzEOSMixtureBackend.cpp.

Member Data Documentation

◆ adjLstar

Eigen::MatrixXd CoolProp::L0CurveTracer::adjLstar

Definition at line 3575 of file HelmholtzEOSMixtureBackend.cpp.

◆ critical_points

std::vector<CoolProp::CriticalState> CoolProp::L0CurveTracer::critical_points

Definition at line 3573 of file HelmholtzEOSMixtureBackend.cpp.

◆ d2LstardTau2

Eigen::MatrixXd CoolProp::L0CurveTracer::d2LstardTau2

Definition at line 3575 of file HelmholtzEOSMixtureBackend.cpp.

◆ delta

double CoolProp::L0CurveTracer::delta

Definition at line 3566 of file HelmholtzEOSMixtureBackend.cpp.

◆ dLstardDelta

Eigen::MatrixXd CoolProp::L0CurveTracer::dLstardDelta

Definition at line 3575 of file HelmholtzEOSMixtureBackend.cpp.

◆ dLstardTau

Eigen::MatrixXd CoolProp::L0CurveTracer::dLstardTau

Definition at line 3575 of file HelmholtzEOSMixtureBackend.cpp.

◆ find_critical_points

bool CoolProp::L0CurveTracer::find_critical_points

If true, actually calculate the critical points, otherwise, skip evaluation of critical points but still trace the spinodal.

Definition at line 3578 of file HelmholtzEOSMixtureBackend.cpp.

◆ HEOS

CoolProp::HelmholtzEOSMixtureBackend& CoolProp::L0CurveTracer::HEOS

Definition at line 3565 of file HelmholtzEOSMixtureBackend.cpp.

◆ Lstar

Eigen::MatrixXd CoolProp::L0CurveTracer::Lstar

Definition at line 3575 of file HelmholtzEOSMixtureBackend.cpp.

◆ M1_last

double CoolProp::L0CurveTracer::M1_last

The last value that the Mstar determinant had.

Definition at line 3567 of file HelmholtzEOSMixtureBackend.cpp.

◆ N_critical_points

int CoolProp::L0CurveTracer::N_critical_points

Definition at line 3574 of file HelmholtzEOSMixtureBackend.cpp.

◆ R_delta

double CoolProp::L0CurveTracer::R_delta

The radius for delta currently being used.

Definition at line 3570 of file HelmholtzEOSMixtureBackend.cpp.

◆ R_delta_tracer

double CoolProp::L0CurveTracer::R_delta_tracer

The radius for delta that should be used in the L1*=0 tracer (user-modifiable after instantiation)

Definition at line 3572 of file HelmholtzEOSMixtureBackend.cpp.

◆ R_tau

double CoolProp::L0CurveTracer::R_tau

The radius for tau currently being used.

Definition at line 3569 of file HelmholtzEOSMixtureBackend.cpp.

◆ R_tau_tracer

double CoolProp::L0CurveTracer::R_tau_tracer

The radius for tau that should be used in the L1*=0 tracer (user-modifiable after instantiation)

Definition at line 3571 of file HelmholtzEOSMixtureBackend.cpp.

◆ spinodal_values

SpinodalData CoolProp::L0CurveTracer::spinodal_values

Definition at line 3576 of file HelmholtzEOSMixtureBackend.cpp.

◆ tau

double CoolProp::L0CurveTracer::tau

Definition at line 3566 of file HelmholtzEOSMixtureBackend.cpp.

◆ theta_last

double CoolProp::L0CurveTracer::theta_last

The last value that the angle had.

Definition at line 3568 of file HelmholtzEOSMixtureBackend.cpp.


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