00001 /** 00002 * @file VPSSMgr_types.h 00003 * Contains const definitions for types of calculation managers 00004 * that are responsible for calculating the species standard 00005 * state thermodynamic managers and 00006 * reference-state thermodynamics managers 00007 * (see 00008 * class \link Cantera::VPSSMgr VPSSMgr\endlink). 00009 */ 00010 /* 00011 * $Author: hkmoffa $ 00012 * $Revision: 279 $ 00013 * $Date: 2009-12-05 14:08:43 -0500 (Sat, 05 Dec 2009) $ 00014 */ 00015 /* 00016 * Copywrite (2005) Sandia Corporation. Under the terms of 00017 * Contract DE-AC04-94AL85000 with Sandia Corporation, the 00018 * U.S. Government retains certain rights in this software. 00019 */ 00020 00021 #ifndef VPSSMGR_TYPES_H 00022 #define VPSSMGR_TYPES_H 00023 00024 //! Variable pressures SS calculator for ideal gas phases 00025 #define VPSSMGR_IDEALGAS 1 00026 00027 //! Variable pressure SS calculate for phases consisting all 00028 //! species having a constant molar volume property 00029 /*! 00030 * This fits most solids 00031 */ 00032 #define VPSSMGR_CONSTVOL 2 00033 00034 //! Variable pressure SS calculate for phases consisting of real water 00035 //! as the first species and species having a constant molar volume property 00036 #define VPSSMGR_WATER_CONSTVOL 11 00037 00038 //! Variable pressure SS calculate for phases consisting of real water 00039 //! as the first species and species obeying the HKFT standard state 00040 #define VPSSMGR_WATER_HKFT 12 00041 00042 //! Variable pressure SS calculate for phases consisting of completing 00043 //! general representations 00044 #define VPSSMGR_GENERAL 22 00045 00046 namespace Cantera { 00047 00048 //! Error for unknown thermo parameterization 00049 class UnknownVPSSMgr : public CanteraError { 00050 public: 00051 //! Constructor 00052 /*! 00053 * @param func String function id 00054 * @param thermotype Integer specifying the thermo parameterization 00055 * 00056 * @todo is this used 00057 */ 00058 UnknownVPSSMgr(std::string func, int thermotype) { 00059 CanteraError(func, std::string("\n ### ERROR ### \n") + 00060 "Unknown species thermo parameterization (" 00061 + int2str(thermotype) + ")\n\n"); 00062 } 00063 }; 00064 00065 00066 } 00067 00068 #endif 00069 00070