Cantera  2.0
speciesThermoTypes.h
Go to the documentation of this file.
1 /**
2  * @file speciesThermoTypes.h
3  * Contains const definitions for types of species
4  * reference-state thermodynamics managers (see \ref spthermo)
5  */
6 // Copyright 2001 California Institute of Technology
7 
8 
9 #ifndef SPECIES_THERMO_TYPES_H
10 #define SPECIES_THERMO_TYPES_H
11 
12 #include "cantera/base/ct_defs.h"
13 #include "cantera/base/global.h"
15 
16 //! Constant Cp
17 #define CONSTANT_CP 1
18 
19 //! Polynomial
20 #define POLYNOMIAL_4 2
21 
22 //! Two regions of 7 coefficient NASA Polynomials
23 //! This is implemented in the class NasaPoly2 in NasaPoly2.h
24 #define NASA 4
25 
26 //! Two regions of 7 coefficient NASA Polynomials
27 //! This is implemented in the class NasaPoly2 in NasaPoly2.h
28 #define NASA2 4
29 
30 //! Two regions of Shomate Polynomials.
31 #define SHOMATE 8
32 
33 //! Two regions of Shomate Polynomials.
34 #define SHOMATE2 8
35 
36 //! Tiger Polynomials. Not implemented here.
37 #define TIGER 16
38 
39 //! Constant Cp thermo.
40 //! This is implemented in ConstCpPoly in constCpPoly.h for one species.
41 //! If the whole phase is constcp, SimpleThermo in SimpleThermo.h
42 //! implements this for the whole phase.
43 #define SIMPLE 32
44 
45 //! piecewise interpolation of mu0.
46 //! This is implemented in Mu0Poly in Mu0Poly.h
47 #define MU0_INTERP 64
48 
49 //! one region of Shomate Polynomials used in NIST database
50 //! This is implemented in the NIST database.
51 //! This is implemented in ShomatePoly in ShomatePoly.h
52 #define SHOMATE1 128
53 
54 //! 7 coefficient NASA Polynomials
55 //! This is implemented in the class NasaPoly1 in NasaPoly1.h
56 #define NASA1 256
57 
58 //! 9 coefficient NASA Polynomials
59 //! This is implemented in the class Nasa9Poly1 in Nasa9Poly1.h
60 #define NASA9 512
61 
62 //! 9 coefficient NASA Polynomials in multiple temperature regions
63 //! This is implemented in the class Nasa9PolyMultiTempRegion in Nasa9Poly1MultiTempRegion
64 #define NASA9MULTITEMP 513
65 
66 //! Surface Adsorbate Model for a species on a surface.
67 //! This is implemented in the class Adsorbate.
68 #define ADSORBATE 1024
69 
70 //! Type of reference state thermo which is a wrapper around a pressure dependent
71 //! standard state object. Basically, the reference state pressure isn't special.
72 //! A general object is called with the pressure set at the reference state.
73 #define PDSS_TYPE 37
74 
75 namespace Cantera
76 {
77 
78 //! Error for unknown thermo parameterization
80  //! Constructor
81  /*!
82  * @param thermotype Integer specifying the thermo parameterization
83  *
84  * @deprecated This class is unused?
85  */
86  DEPRECATED(UnknownThermoParam(int thermotype)) {
87  writelog(std::string("\n ### ERROR ### \n") +
88  "Unknown species thermo parameterization ("
89  + int2str(thermotype) + ")\n\n");
90  }
91 };
92 
93 
94 //! holds parameterization-dependent index information
95 /*!
96  * These are all integers.
97  * @deprecated This struct is unused.
98  */
100  DEPRECATED(ThermoIndexData()) {}
101  //! param
102  int param;
103  //! number of coefficients
105  //! coefficient for Tmin
107  //! coefficient for Tmax
109  //! reference pressure coefficient
111 };
112 
113 }
114 
115 #endif
116 
117