CoolProp
6.6.1dev
An open-source fluid property and humid air property database
|
This class holds the single-phase data for a log(p)-h gridded table.
Definition at line 819 of file TabularBackends.h.
#include <TabularBackends.h>
Public Member Functions | |
LogPHTable () | |
void | set_limits () |
void | deserialize (msgpack::object &deserialized) |
Public Member Functions inherited from CoolProp::SinglePhaseGriddedTableData | |
SinglePhaseGriddedTableData () | |
void | build (shared_ptr< CoolProp::AbstractState > &AS) |
Build this table. More... | |
MSGPACK_DEFINE (revision, matrices, xmin, xmax, ymin, ymax) | |
void | resize (std::size_t Nx, std::size_t Ny) |
Resize all the matrices. More... | |
void | make_axis_vectors (void) |
Make vectors for the x-axis values and the y-axis values. More... | |
void | make_good_neighbors (void) |
Make matrices of good neighbors if the current value for i,j corresponds to a bad node. More... | |
void | pack () |
Take all the matrices that are in the class and pack them into the matrices map for easy unpacking using msgpack. More... | |
std::map< std::string, std::vector< std::vector< double > > >::iterator | get_matrices_iterator (const std::string &name) |
void | unpack () |
Take all the matrices that are in the class and pack them into the matrices map for easy unpacking using msgpack. More... | |
bool | native_inputs_are_in_range (double x, double y) |
Check that the native inputs (the inputs the table is based on) are in range. More... | |
void | find_native_nearest_neighbor (double x, double y, std::size_t &i, std::size_t &j) |
Find the nearest neighbor for native inputs (the inputs the table is based on) Does not check whether this corresponds to a valid node or not Use bisection since it is faster than calling a logarithm (surprising, but true) More... | |
void | find_nearest_neighbor (parameters givenkey, double givenval, parameters otherkey, double otherval, std::size_t &i, std::size_t &j) |
Find the nearest neighbor for one (given) variable native, one variable non-native. More... | |
void | find_native_nearest_good_neighbor (double x, double y, std::size_t &i, std::size_t &j) |
void | find_native_nearest_good_cell (double x, double y, std::size_t &i, std::size_t &j) |
const std::vector< std::vector< double > > & | get (parameters key) |
Additional Inherited Members | |
Public Attributes inherited from CoolProp::SinglePhaseGriddedTableData | |
std::size_t | Nx |
std::size_t | Ny |
CoolProp::parameters | xkey |
CoolProp::parameters | ykey |
shared_ptr< CoolProp::AbstractState > | AS |
std::vector< double > | xvec |
std::vector< double > | yvec |
std::vector< std::vector< std::size_t > > | nearest_neighbor_i |
std::vector< std::vector< std::size_t > > | nearest_neighbor_j |
bool | logx |
bool | logy |
double | xmin |
double | ymin |
double | xmax |
double | ymax |
LIST_OF_MATRICES int | revision |
std::map< std::string, std::vector< std::vector< double > > > | matrices |
|
inline |
Definition at line 822 of file TabularBackends.h.
|
inline |
Definition at line 847 of file TabularBackends.h.
|
inlinevirtual |
Implements CoolProp::SinglePhaseGriddedTableData.
Definition at line 828 of file TabularBackends.h.