CoolProp  6.6.0
An open-source fluid property and humid air property database
Public Member Functions | Public Attributes | List of all members
CoolProp::TabularDataSet Class Reference

Detailed Description

This class contains the data for one set of Tabular data including single-phase and two-phase data.

Definition at line 1009 of file TabularBackends.h.

#include <TabularBackends.h>

Public Member Functions

 TabularDataSet ()
 
void write_tables (const std::string &path_to_tables)
 Write the tables to files on the computer. More...
 
void load_tables (const std::string &path_to_tables, shared_ptr< CoolProp::AbstractState > &AS)
 Load the tables from file. More...
 
void build_tables (shared_ptr< CoolProp::AbstractState > &AS)
 Build the tables (single-phase PH, single-phase PT, phase envelope, etc.) More...
 
void build_coeffs (SinglePhaseGriddedTableData &table, std::vector< std::vector< CellCoeffs >> &coeffs)
 Build the \(a_{i,j}\) coefficients for bicubic interpolation. More...
 

Public Attributes

bool tables_loaded
 
LogPHTable single_phase_logph
 
LogPTTable single_phase_logpT
 
PureFluidSaturationTableData pure_saturation
 
PackablePhaseEnvelopeData phase_envelope
 
std::vector< std::vector< CellCoeffs > > coeffs_ph
 
std::vector< std::vector< CellCoeffs > > coeffs_pT
 

Constructor & Destructor Documentation

◆ TabularDataSet()

CoolProp::TabularDataSet::TabularDataSet ( )
inline

Definition at line 1019 of file TabularBackends.h.

Member Function Documentation

◆ build_coeffs()

void CoolProp::TabularDataSet::build_coeffs ( SinglePhaseGriddedTableData table,
std::vector< std::vector< CellCoeffs >> &  coeffs 
)

Build the \(a_{i,j}\) coefficients for bicubic interpolation.

Definition at line 1326 of file TabularBackends.cpp.

◆ build_tables()

void CoolProp::TabularDataSet::build_tables ( shared_ptr< CoolProp::AbstractState > &  AS)

Build the tables (single-phase PH, single-phase PT, phase envelope, etc.)

Definition at line 1280 of file TabularBackends.cpp.

◆ load_tables()

void CoolProp::TabularDataSet::load_tables ( const std::string &  path_to_tables,
shared_ptr< CoolProp::AbstractState > &  AS 
)

Load the tables from file.

Definition at line 1264 of file TabularBackends.cpp.

◆ write_tables()

void CoolProp::TabularDataSet::write_tables ( const std::string &  path_to_tables)

Write the tables to files on the computer.

Definition at line 1256 of file TabularBackends.cpp.

Member Data Documentation

◆ coeffs_ph

std::vector<std::vector<CellCoeffs> > CoolProp::TabularDataSet::coeffs_ph

Definition at line 1017 of file TabularBackends.h.

◆ coeffs_pT

std::vector<std::vector<CellCoeffs> > CoolProp::TabularDataSet::coeffs_pT

Definition at line 1017 of file TabularBackends.h.

◆ phase_envelope

PackablePhaseEnvelopeData CoolProp::TabularDataSet::phase_envelope

Definition at line 1016 of file TabularBackends.h.

◆ pure_saturation

PureFluidSaturationTableData CoolProp::TabularDataSet::pure_saturation

Definition at line 1015 of file TabularBackends.h.

◆ single_phase_logph

LogPHTable CoolProp::TabularDataSet::single_phase_logph

Definition at line 1013 of file TabularBackends.h.

◆ single_phase_logpT

LogPTTable CoolProp::TabularDataSet::single_phase_logpT

Definition at line 1014 of file TabularBackends.h.

◆ tables_loaded

bool CoolProp::TabularDataSet::tables_loaded

Definition at line 1012 of file TabularBackends.h.


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