CoolProp
Public Member Functions | Public Attributes | List of all members
CoolProp::PureFluidSaturationTableData Class Reference

Detailed Description

This class holds the data for a two-phase table that is log spaced in p.

It contains very few members or methods, mostly it just holds the data

#include <TabularBackends.h>

Public Member Functions

void build (shared_ptr< CoolProp::AbstractState > &AS)
 Build this table.
 
 MSGPACK_DEFINE (revision, vectors)
 
bool is_inside (parameters main, double mainval, parameters other, double val, std::size_t &iL, std::size_t &iV, CoolPropDbl &yL, CoolPropDbl &yV)
 
void resize (std::size_t N)
 Resize all the vectors.
 
void pack ()
 Take all the vectors that are in the class and pack them into the vectors map for easy unpacking using msgpack.
 
std::map< std::string, std::vector< double > >::iterator get_vector_iterator (const std::string &name)
 
void unpack ()
 Take all the vectors that are in the class and unpack them from the vectors map.
 
void deserialize (msgpack::object &deserialized)
 
double evaluate (parameters output, double p_or_T, double Q, std::size_t iL, std::size_t iV)
 
double first_saturation_deriv (parameters Of1, parameters Wrt1, int Q, double val, std::size_t i)
 Calculate the first derivative ALONG a saturation curve. More...
 

Public Attributes

std::size_t N
 
shared_ptr< CoolProp::AbstractStateAS
 
LIST_OF_SATURATION_VECTORS int revision
 
std::map< std::string, std::vector< double > > vectors
 

Member Function Documentation

§ first_saturation_deriv()

double CoolProp::PureFluidSaturationTableData::first_saturation_deriv ( parameters  Of1,
parameters  Wrt1,
int  Q,
double  val,
std::size_t  i 
)
inline

Calculate the first derivative ALONG a saturation curve.

Parameters
Of1The parameter that the derivative is to be taken of
Wrt1The parameter that the derivative is to be taken with respect to
QThe vapor quality, 0 or 1
valThe value of the WRT parameter
iThe index in the vectors to be used; must be > 2 and < len-2

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