Loading [MathJax]/extensions/TeX/AMSsymbols.js
CoolProp  6.7.1dev
An open-source fluid property and humid air property database
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Classes | Typedefs | Enumerations | Functions
CoolProp::Plot Namespace Reference

Namespaces

 Detail
 

Classes

struct  Range
 
class  Isoline
 
class  PropertyPlot
 

Typedefs

using Isolines = std::vector< Isoline >
 

Enumerations

enum class  Scale { Lin , Log }
 
enum class  TPLimits { None , Def , Achp , Orc }
 

Functions

std::vector< double > generate_values_in_range (Scale scale, const Range &range, int count)
 Generate a list of count equally (linearly or logarithmically) spaced values in a given range. More...
 
std::vector< double > generate_values_in_range (CoolProp::parameters type, const Range &range, int count)
 Generate a list of count equally spaced values in a given range, spaced either linearly or logarithmically based on the parameter type. More...
 

Typedef Documentation

◆ Isolines

using CoolProp::Plot::Isolines = typedef std::vector<Isoline>

Definition at line 63 of file CoolPropPlot.h.

Enumeration Type Documentation

◆ Scale

enum CoolProp::Plot::Scale
strong
Enumerator
Lin 
Log 

Definition at line 10 of file CoolPropPlot.h.

◆ TPLimits

Enumerator
None 
Def 
Achp 
Orc 

Definition at line 82 of file CoolPropPlot.h.

Function Documentation

◆ generate_values_in_range() [1/2]

std::vector< double > CoolProp::Plot::generate_values_in_range ( CoolProp::parameters  type,
const Range range,
int  count 
)

Generate a list of count equally spaced values in a given range, spaced either linearly or logarithmically based on the parameter type.

Parameters
typeThe parameter type to generate values for (usually one of the supported isoline keys, e.g. CoolProp::iP or CoolProp::iT)
rangeThe minimum and maximum values of generated list of values (inclusive)
countThe number of values to generate

Definition at line 129 of file CoolPropPlot.cpp.

◆ generate_values_in_range() [2/2]

std::vector< double > CoolProp::Plot::generate_values_in_range ( Scale  scale,
const Range range,
int  count 
)

Generate a list of count equally (linearly or logarithmically) spaced values in a given range.

Parameters
scaleThe spacing of the values
rangeThe minimum and maximum values of generated list of values (inclusive)
countThe number of values to generate

Definition at line 122 of file CoolPropPlot.cpp.