From 01b70682e35c28f407ce4a6f017ac32f2b8e9d54 Mon Sep 17 00:00:00 2001 From: Dave Goodwin Date: Fri, 11 May 2007 17:17:30 +0000 Subject: [PATCH] *** empty log message *** --- Cantera/src/base/ct_defs.h | 1 + Cantera/src/thermo/ThermoFactory.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Cantera/src/base/ct_defs.h b/Cantera/src/base/ct_defs.h index 128d28e40..ff128bc87 100755 --- a/Cantera/src/base/ct_defs.h +++ b/Cantera/src/base/ct_defs.h @@ -30,6 +30,7 @@ #include #include #include +#include //! creates a pointer to the start of the raw data for a ctvector diff --git a/Cantera/src/thermo/ThermoFactory.cpp b/Cantera/src/thermo/ThermoFactory.cpp index a30978b31..157f68b3a 100644 --- a/Cantera/src/thermo/ThermoFactory.cpp +++ b/Cantera/src/thermo/ThermoFactory.cpp @@ -171,11 +171,13 @@ namespace Cantera { const XML_Node& th = xmlphase.child("thermo"); string model = th["model"]; ThermoPhase* t = newThermoPhase(model); +#ifdef WITH_ELECTROLYTES if (model == "HMW") { HMWSoln* p = (HMWSoln*)t; p->constructPhaseXML(xmlphase,""); } else +#endif importPhase(xmlphase, t); return t; }