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

Detailed Description

This structure holds the coefficients for one cell, the coefficients are stored in matrices and can be obtained by the get() function.

#include <TabularBackends.h>

Public Member Functions

const std::vector< double > & get (const parameters params) const
 Return a const reference to the desired matrix.
 
void set (parameters params, const std::vector< double > &mat)
 Set one of the matrices in this class.
 
bool valid () const
 Returns true if the cell coefficients seem to have been calculated properly.
 
void set_valid ()
 Call this function to set the valid flag to true.
 
void set_invalid ()
 Call this function to set the valid flag to false.
 
void set_alternate (std::size_t i, std::size_t j)
 Set the neighboring (alternate) cell to be used if the cell is invalid.
 
void get_alternate (std::size_t &i, std::size_t &j) const
 Get neighboring(alternate) cell to be used if this cell is invalid.
 
bool has_valid_neighbor () const
 Returns true if cell is invalid and it has valid neighbor.
 

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
 

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