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

Detailed Description

Definition at line 9 of file IdealCurves.h.

#include <IdealCurves.h>

Inheritance diagram for CoolProp::CurveTracer:
CoolProp::FuncWrapper1D CoolProp::BoyleCurveTracer CoolProp::IdealCurveTracer CoolProp::JouleInversionCurveTracer CoolProp::JouleThomsonCurveTracer

Public Types

enum  OBJECTIVE_TYPE { OBJECTIVE_INVALID = 0 , OBJECTIVE_CIRCLE , OBJECTIVE_T }
 

Public Member Functions

 CurveTracer (AbstractState *AS, double p0, double T0)
 
void init ()
 
virtual double objective (void)=0
 
virtual double starting_direction ()
 
double call (double t)
 
void TPcoords (double t, double lnT, double lnp, double &T, double &p)
 
void trace (std::vector< double > &T, std::vector< double > &p)
 
- Public Member Functions inherited from CoolProp::FuncWrapper1D
 FuncWrapper1D ()
 
virtual ~FuncWrapper1D ()
 
virtual bool input_not_in_range (double x)
 

Public Attributes

AbstractStateAS
 
double p0
 
double T0
 
double lnT
 
double lnp
 
double rho_guess
 
std::vector< double > T
 
std::vector< double > p
 
OBJECTIVE_TYPE obj
 
- Public Attributes inherited from CoolProp::FuncWrapper1D
int errcode
 
std::string errstring
 
Dictionary options
 
int iter
 

Member Enumeration Documentation

◆ OBJECTIVE_TYPE

Enumerator
OBJECTIVE_INVALID 
OBJECTIVE_CIRCLE 
OBJECTIVE_T 

Definition at line 15 of file IdealCurves.h.

Constructor & Destructor Documentation

◆ CurveTracer()

CoolProp::CurveTracer::CurveTracer ( AbstractState AS,
double  p0,
double  T0 
)
inline

Definition at line 22 of file IdealCurves.h.

Member Function Documentation

◆ call()

double CoolProp::CurveTracer::call ( double  t)
inlinevirtual

Implements CoolProp::FuncWrapper1D.

Definition at line 38 of file IdealCurves.h.

◆ init()

void CoolProp::CurveTracer::init ( )
inline

Definition at line 25 of file IdealCurves.h.

◆ objective()

virtual double CoolProp::CurveTracer::objective ( void  )
pure virtual

◆ starting_direction()

virtual double CoolProp::CurveTracer::starting_direction ( )
inlinevirtual

Definition at line 34 of file IdealCurves.h.

◆ TPcoords()

void CoolProp::CurveTracer::TPcoords ( double  t,
double  lnT,
double  lnp,
double &  T,
double &  p 
)
inline

Definition at line 56 of file IdealCurves.h.

◆ trace()

void CoolProp::CurveTracer::trace ( std::vector< double > &  T,
std::vector< double > &  p 
)
inline

Definition at line 62 of file IdealCurves.h.

Member Data Documentation

◆ AS

AbstractState* CoolProp::CurveTracer::AS

Definition at line 12 of file IdealCurves.h.

◆ lnp

double CoolProp::CurveTracer::lnp

Definition at line 13 of file IdealCurves.h.

◆ lnT

double CoolProp::CurveTracer::lnT

Definition at line 13 of file IdealCurves.h.

◆ obj

OBJECTIVE_TYPE CoolProp::CurveTracer::obj

Definition at line 21 of file IdealCurves.h.

◆ p

std::vector<double> CoolProp::CurveTracer::p

Definition at line 14 of file IdealCurves.h.

◆ p0

double CoolProp::CurveTracer::p0

Definition at line 13 of file IdealCurves.h.

◆ rho_guess

double CoolProp::CurveTracer::rho_guess

Definition at line 13 of file IdealCurves.h.

◆ T

std::vector<double> CoolProp::CurveTracer::T

Definition at line 14 of file IdealCurves.h.

◆ T0

double CoolProp::CurveTracer::T0

Definition at line 13 of file IdealCurves.h.


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