CoolProp
6.6.0
An open-source fluid property and humid air property database
|
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
Definition at line 224 of file TabularBackends.h.
#include <TabularBackends.h>
Public Member Functions | |
PureFluidSaturationTableData () | |
void | build (shared_ptr< CoolProp::AbstractState > &AS) |
Build this table. More... | |
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. More... | |
void | pack () |
Take all the vectors that are in the class and pack them into the vectors map for easy unpacking using msgpack. More... | |
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. More... | |
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::AbstractState > | AS |
LIST_OF_SATURATION_VECTORS int | revision |
std::map< std::string, std::vector< double > > | vectors |
|
inline |
Definition at line 230 of file TabularBackends.h.
void CoolProp::PureFluidSaturationTableData::build | ( | shared_ptr< CoolProp::AbstractState > & | AS | ) |
Build this table.
Definition at line 111 of file TabularBackends.cpp.
|
inline |
Definition at line 408 of file TabularBackends.h.
|
inline |
Definition at line 420 of file TabularBackends.h.
|
inline |
Calculate the first derivative ALONG a saturation curve.
Of1 | The parameter that the derivative is to be taken of |
Wrt1 | The parameter that the derivative is to be taken with respect to |
Q | The vapor quality, 0 or 1 |
val | The value of the WRT parameter |
i | The index in the vectors to be used; must be > 2 and < len-2 |
Definition at line 536 of file TabularBackends.h.
|
inline |
Definition at line 393 of file TabularBackends.h.
|
inline |
Definition at line 261 of file TabularBackends.h.
|
inline |
Take all the vectors that are in the class and pack them into the vectors map for easy unpacking using msgpack.
Definition at line 387 of file TabularBackends.h.
|
inline |
Resize all the vectors.
Definition at line 378 of file TabularBackends.h.
|
inline |
Take all the vectors that are in the class and unpack them from the vectors map.
Definition at line 401 of file TabularBackends.h.
shared_ptr<CoolProp::AbstractState> CoolProp::PureFluidSaturationTableData::AS |
Definition at line 228 of file TabularBackends.h.
std::size_t CoolProp::PureFluidSaturationTableData::N |
Definition at line 227 of file TabularBackends.h.
LIST_OF_SATURATION_VECTORS int CoolProp::PureFluidSaturationTableData::revision |
Definition at line 243 of file TabularBackends.h.
std::map<std::string, std::vector<double> > CoolProp::PureFluidSaturationTableData::vectors |
Definition at line 244 of file TabularBackends.h.