CoolProp  6.6.1dev
An open-source fluid property and humid air property database
CubicsLibrary.h
Go to the documentation of this file.
1 
2 
3 #ifndef CUBICS_LIBRARY_H
4 #define CUBICS_LIBRARY_H
5 
6 #include <vector>
7 #include <string>
8 #include "CoolPropFluid.h"
9 
10 namespace CoolProp {
11 
12 namespace CubicLibrary {
13 
15 {
16  double Tc,
17  pc,
21  std::string name, // name of fluid
22  CAS, // CAS reference number of fluid
23  BibTeX; // BibTex key(s) for the values
24  std::vector<std::string> aliases;
25  std::string alpha_type;
26  std::vector<double> alpha_coeffs;
29 };
30 
34 std::string get_fluid_as_JSONstring(const std::string& identifier);
35 
39 CubicsValues get_cubic_values(const std::string& identifier);
40 
44 void add_fluids_as_JSON(const std::string& JSON);
45 
47 std::string get_cubic_fluids_schema();
48 
50 std::string get_cubic_fluids_list();
51 
52 } /* namespace CubicLibrary */
53 
54 } /* namespace CoolProp */
55 
56 #endif