CoolProp
6.6.1dev
An open-source fluid property and humid air property database
|
This structure holds the coefficients for one cell, the coefficients are stored in matrices and can be obtained by the get() function.
Definition at line 914 of file TabularBackends.h.
#include <TabularBackends.h>
Public Member Functions | |
CellCoeffs () | |
const std::vector< double > & | get (const parameters params) const |
Return a const reference to the desired matrix. More... | |
void | set (parameters params, const std::vector< double > &mat) |
Set one of the matrices in this class. More... | |
bool | valid () const |
Returns true if the cell coefficients seem to have been calculated properly. More... | |
void | set_valid () |
Call this function to set the valid flag to true. More... | |
void | set_invalid () |
Call this function to set the valid flag to false. More... | |
void | set_alternate (std::size_t i, std::size_t j) |
Set the neighboring (alternate) cell to be used if the cell is invalid. More... | |
void | get_alternate (std::size_t &i, std::size_t &j) const |
Get neighboring(alternate) cell to be used if this cell is invalid. More... | |
bool | has_valid_neighbor () const |
Returns true if cell is invalid and it has valid neighbor. More... | |
Public Attributes | |
double | dx_dxhat |
double | dy_dyhat |
std::vector< double > | T |
std::vector< double > | rhomolar |
std::vector< double > | hmolar |
std::vector< double > | p |
std::vector< double > | smolar |
std::vector< double > | umolar |
|
inline |
Definition at line 922 of file TabularBackends.h.
|
inline |
Return a const reference to the desired matrix.
Definition at line 932 of file TabularBackends.h.
|
inline |
Get neighboring(alternate) cell to be used if this cell is invalid.
Definition at line 994 of file TabularBackends.h.
|
inline |
Returns true if cell is invalid and it has valid neighbor.
Definition at line 1003 of file TabularBackends.h.
|
inline |
Set one of the matrices in this class.
Definition at line 951 of file TabularBackends.h.
|
inline |
Set the neighboring (alternate) cell to be used if the cell is invalid.
Definition at line 988 of file TabularBackends.h.
|
inline |
Call this function to set the valid flag to false.
Definition at line 984 of file TabularBackends.h.
|
inline |
Call this function to set the valid flag to true.
Definition at line 980 of file TabularBackends.h.
|
inline |
Returns true if the cell coefficients seem to have been calculated properly.
Definition at line 976 of file TabularBackends.h.
double CoolProp::CellCoeffs::dx_dxhat |
Definition at line 921 of file TabularBackends.h.
double CoolProp::CellCoeffs::dy_dyhat |
Definition at line 921 of file TabularBackends.h.
std::vector<double> CoolProp::CellCoeffs::hmolar |
Definition at line 930 of file TabularBackends.h.
std::vector<double> CoolProp::CellCoeffs::p |
Definition at line 930 of file TabularBackends.h.
std::vector<double> CoolProp::CellCoeffs::rhomolar |
Definition at line 930 of file TabularBackends.h.
std::vector<double> CoolProp::CellCoeffs::smolar |
Definition at line 930 of file TabularBackends.h.
std::vector<double> CoolProp::CellCoeffs::T |
Definition at line 930 of file TabularBackends.h.
std::vector<double> CoolProp::CellCoeffs::umolar |
Definition at line 930 of file TabularBackends.h.