Cantera  2.0
VPSSMgr_types.h
Go to the documentation of this file.
1 /**
2  * @file VPSSMgr_types.h
3  * Contains const definitions for types of calculation managers
4  * that are responsible for calculating the species standard
5  * state thermodynamic managers and
6  * reference-state thermodynamics managers
7  * (see
8  * class \link Cantera::VPSSMgr VPSSMgr\endlink).
9  */
10 /*
11  * Copyright (2005) Sandia Corporation. Under the terms of
12  * Contract DE-AC04-94AL85000 with Sandia Corporation, the
13  * U.S. Government retains certain rights in this software.
14  */
15 
16 //! @deprecated remove include when UnknownVPSSMgr is removed
18 
19 #ifndef VPSSMGR_TYPES_H
20 #define VPSSMGR_TYPES_H
21 
22 //! Variable pressures SS calculator for ideal gas phases
23 #define VPSSMGR_IDEALGAS 1
24 
25 //! Variable pressure SS calculate for phases consisting all
26 //! species having a constant molar volume property
27 /*!
28  * This fits most solids
29  */
30 #define VPSSMGR_CONSTVOL 2
31 
32 //! Variable pressure SS calculate for phases consisting of real water
33 //! as the first species and species having a constant molar volume property
34 #define VPSSMGR_WATER_CONSTVOL 11
35 
36 //! Variable pressure SS calculate for phases consisting of real water
37 //! as the first species and species obeying the HKFT standard state
38 #define VPSSMGR_WATER_HKFT 12
39 
40 //! Variable pressure SS calculate for phases consisting of completing
41 //! general representations
42 #define VPSSMGR_GENERAL 22
43 
44 namespace Cantera
45 {
46 
47 //! Error for unknown thermo parameterization
49 {
50 public:
51  //! Constructor
52  /*!
53  * @param func String function id
54  * @param thermotype Integer specifying the thermo parameterization
55  *
56  * deprecated This class is unused
57  */
58  DEPRECATED(UnknownVPSSMgr(std::string func, int thermotype)) {
59  CanteraError(func, std::string("\n ### ERROR ### \n") +
60  "Unknown species thermo parameterization ("
61  + int2str(thermotype) + ")\n\n");
62  }
63 };
64 
65 
66 }
67 
68 #endif
69 
70