Cantera  2.0
Hydrogen.h
1 #ifndef TPX_HYDROGEN_H
2 #define TPX_HYDROGEN_H
3 
4 #include "cantera/tpx/Sub.h"
5 
6 namespace tpx
7 {
8 
9 class hydrogen : public Substance
10 {
11 public:
12  hydrogen() {
13  m_name = "hydrogen";
14  m_formula = "H2";
15  }
16  virtual ~hydrogen() {}
17 
18  double MolWt();
19  double Tcrit();
20  double Pcrit();
21  double Vcrit();
22  double Tmin();
23  double Tmax();
24  char* name();
25  char* formula();
26 
27  double Pp();
28  double up();
29  double sp();
30  double Psat();
31 
32 private:
33  double ldens();
34  double C(int i, double rt, double rt2);
35  double Cprime(int i, double rt, double rt2, double rt3);
36  double I(int i, double egrho);
37  double H(int i, double egrho);
38  double W(int i, double egrho);
39  double icv(int i, double x, double xlg);
40 };
41 
42 }
43 
44 #endif // ! HYDROGEN_H