Eliminate redundant standard library includes

This commit is contained in:
Ray Speth 2013-06-05 17:08:13 +00:00
parent be1e95576e
commit d253fc0d63
194 changed files with 54 additions and 617 deletions

View file

@ -1,8 +1,6 @@
#ifndef CXX_EDGE #ifndef CXX_EDGE
#define CXX_EDGE #define CXX_EDGE
#include <string>
#include "thermo.h" #include "thermo.h"
#include "kinetics/EdgeKinetics.h" #include "kinetics/EdgeKinetics.h"
#include "kinetics/importKinetics.h" #include "kinetics/importKinetics.h"

View file

@ -1,8 +1,6 @@
#ifndef CXX_GRI30H #ifndef CXX_GRI30H
#define CXX_GRI30H #define CXX_GRI30H
#include <string>
#include "thermo/IdealGasPhase.h" #include "thermo/IdealGasPhase.h"
#include "kinetics/GRI_30_Kinetics.h" #include "kinetics/GRI_30_Kinetics.h"
#include "kinetics/importKinetics.h" #include "kinetics/importKinetics.h"

View file

@ -1,8 +1,6 @@
#ifndef CXX_IDEALGASMIX #ifndef CXX_IDEALGASMIX
#define CXX_IDEALGASMIX #define CXX_IDEALGASMIX
#include <string>
#include "thermo/IdealGasPhase.h" #include "thermo/IdealGasPhase.h"
#include "kinetics/GasKinetics.h" #include "kinetics/GasKinetics.h"
#include "kinetics/importKinetics.h" #include "kinetics/importKinetics.h"

View file

@ -1,8 +1,6 @@
#ifndef CXX_INCOMPRESSIBLE #ifndef CXX_INCOMPRESSIBLE
#define CXX_INCOMPRESSIBLE #define CXX_INCOMPRESSIBLE
#include <string>
#include "thermo/ConstDensityThermo.h" #include "thermo/ConstDensityThermo.h"
#include "kinetics/importKinetics.h" #include "kinetics/importKinetics.h"

View file

@ -5,7 +5,6 @@
#ifndef CXX_INTERFACE #ifndef CXX_INTERFACE
#define CXX_INTERFACE #define CXX_INTERFACE
#include <string>
#include "thermo.h" #include "thermo.h"
#include "kinetics.h" #include "kinetics.h"

View file

@ -1,8 +1,6 @@
#ifndef CXX_METAL #ifndef CXX_METAL
#define CXX_METAL #define CXX_METAL
#include <string>
#include "thermo/MetalPhase.h" #include "thermo/MetalPhase.h"
#include "kinetics/importKinetics.h" #include "kinetics/importKinetics.h"

View file

@ -1,8 +1,6 @@
#ifndef CXX_PUREFLUID #ifndef CXX_PUREFLUID
#define CXX_PUREFLUID #define CXX_PUREFLUID
#include <string>
#include "thermo/PureFluidPhase.h" #include "thermo/PureFluidPhase.h"
#include "kinetics.h" #include "kinetics.h"
#include "base/stringUtils.h" #include "base/stringUtils.h"

View file

@ -12,6 +12,7 @@
#include "ctexceptions.h" #include "ctexceptions.h"
#include "utilities.h" #include "utilities.h"
#include <iostream>
#include <cstring> #include <cstring>
namespace Cantera namespace Cantera

View file

@ -10,7 +10,6 @@
#define CT_CTEXCEPTIONS_H #define CT_CTEXCEPTIONS_H
#include <exception> #include <exception>
#include <iostream>
#include <string> #include <string>
namespace Cantera namespace Cantera

View file

@ -9,8 +9,6 @@
#include "ct_defs.h" #include "ct_defs.h"
#include <iostream> #include <iostream>
#include <string>
#include <cstdlib>
namespace Cantera namespace Cantera
{ {

View file

@ -10,8 +10,6 @@
#include "cantera/base/Array.h" #include "cantera/base/Array.h"
#include "cantera/base/ctexceptions.h" #include "cantera/base/ctexceptions.h"
#include <vector>
#include <string>
#include <fstream> #include <fstream>
namespace Cantera namespace Cantera

View file

@ -10,13 +10,8 @@
#define CT_XML_H #define CT_XML_H
#include "ctexceptions.h" #include "ctexceptions.h"
#include "ct_defs.h"
#include "global.h" #include "global.h"
#include <string>
#include <vector>
#include <iostream>
//@{ //@{
#define XML_INDENT 4 #define XML_INDENT 4
//@} //@}

View file

@ -14,9 +14,6 @@
#include "cantera/equil/vcs_DoubleStarStar.h" #include "cantera/equil/vcs_DoubleStarStar.h"
#include "cantera/equil/vcs_SpeciesProperties.h" #include "cantera/equil/vcs_SpeciesProperties.h"
#include <vector>
#include <string>
// Forward reference for ThermoPhase object within the Cantera namespace // Forward reference for ThermoPhase object within the Cantera namespace
namespace Cantera namespace Cantera
{ {

View file

@ -14,7 +14,6 @@
#include "vcs_DoubleStarStar.h" #include "vcs_DoubleStarStar.h"
#include "vcs_IntStarStar.h" #include "vcs_IntStarStar.h"
#include "cantera/equil/vcs_defs.h" #include "cantera/equil/vcs_defs.h"
#include <vector>
#include <string> #include <string>
namespace VCSnonideal namespace VCSnonideal

View file

@ -22,8 +22,6 @@
* *
* ### -> to be eliminated * ### -> to be eliminated
*/ */
#include <vector>
#include <string>
#include "cantera/base/ct_defs.h" #include "cantera/base/ct_defs.h"
#include "cantera/equil/vcs_defs.h" #include "cantera/equil/vcs_defs.h"

View file

@ -9,9 +9,6 @@
#ifndef CT_AQUEOUSKINETICS_H #ifndef CT_AQUEOUSKINETICS_H
#define CT_AQUEOUSKINETICS_H #define CT_AQUEOUSKINETICS_H
#include <fstream>
#include <map>
#include "cantera/thermo/mix_defs.h" #include "cantera/thermo/mix_defs.h"
#include "Kinetics.h" #include "Kinetics.h"
@ -22,9 +19,6 @@
#include "FalloffMgr.h" #include "FalloffMgr.h"
#include "RateCoeffMgr.h" #include "RateCoeffMgr.h"
#include <cmath>
#include <cstdlib>
namespace Cantera namespace Cantera
{ {

View file

@ -9,9 +9,6 @@
#ifndef CT_GASKINETICS_H #ifndef CT_GASKINETICS_H
#define CT_GASKINETICS_H #define CT_GASKINETICS_H
#include <fstream>
#include <map>
#include "cantera/thermo/mix_defs.h" #include "cantera/thermo/mix_defs.h"
#include "Kinetics.h" #include "Kinetics.h"
@ -22,9 +19,6 @@
#include "FalloffMgr.h" #include "FalloffMgr.h"
#include "RateCoeffMgr.h" #include "RateCoeffMgr.h"
#include <cmath>
#include <cstdlib>
namespace Cantera namespace Cantera
{ {

View file

@ -8,9 +8,6 @@
#ifndef CT_IFACEKINETICS_H #ifndef CT_IFACEKINETICS_H
#define CT_IFACEKINETICS_H #define CT_IFACEKINETICS_H
#include <fstream>
#include <map>
#include "cantera/thermo/mix_defs.h" #include "cantera/thermo/mix_defs.h"
#include "Kinetics.h" #include "Kinetics.h"
@ -18,9 +15,6 @@
#include "RateCoeffMgr.h" #include "RateCoeffMgr.h"
#include "ReactionStoichMgr.h" #include "ReactionStoichMgr.h"
#include <cmath>
#include <cstdlib>
namespace Cantera namespace Cantera
{ {

View file

@ -15,8 +15,6 @@
#ifndef CT_IMPORTCTML_H #ifndef CT_IMPORTCTML_H
#define CT_IMPORTCTML_H #define CT_IMPORTCTML_H
#include <string>
#include "cantera/thermo/ThermoPhase.h" #include "cantera/thermo/ThermoPhase.h"
#include "Kinetics.h" #include "Kinetics.h"

View file

@ -15,8 +15,6 @@
#include "ImplicitSurfChem.h" #include "ImplicitSurfChem.h"
#include "cantera/kinetics/InterfaceKinetics.h" #include "cantera/kinetics/InterfaceKinetics.h"
#include <vector>
#include "cantera/base/Array.h" #include "cantera/base/Array.h"
//! @defgroup solvesp_methods Surface Problem Solver Methods //! @defgroup solvesp_methods Surface Problem Solver Methods

View file

@ -8,9 +8,6 @@
#ifndef CT_DAE_Solver_H #ifndef CT_DAE_Solver_H
#define CT_DAE_Solver_H #define CT_DAE_Solver_H
#include <vector>
#include "cantera/base/ct_defs.h"
#include "ResidJacEval.h" #include "ResidJacEval.h"
#include "cantera/base/global.h" #include "cantera/base/global.h"

View file

@ -10,7 +10,6 @@
#include "cantera/base/ct_defs.h" #include "cantera/base/ct_defs.h"
#include <iostream> #include <iostream>
#include <string>
namespace Cantera namespace Cantera
{ {

View file

@ -8,8 +8,6 @@
#ifndef CT_IDA_SOLVER_H #ifndef CT_IDA_SOLVER_H
#define CT_IDA_SOLVER_H #define CT_IDA_SOLVER_H
#include <vector>
#include "DAE_Solver.h" #include "DAE_Solver.h"
#include "cantera/base/ctexceptions.h" #include "cantera/base/ctexceptions.h"

View file

@ -17,7 +17,6 @@
* @defgroup solverGroup Solvers for Equation Systems * @defgroup solverGroup Solvers for Equation Systems
*/ */
#include <vector>
#include "ResidEval.h" #include "ResidEval.h"
namespace Cantera namespace Cantera

View file

@ -9,8 +9,6 @@
#ifndef CT_POLYFIT_H #ifndef CT_POLYFIT_H
#define CT_POLYFIT_H #define CT_POLYFIT_H
#include <vector>
#include "cantera/base/ct_defs.h" #include "cantera/base/ct_defs.h"
namespace Cantera namespace Cantera

View file

@ -17,7 +17,6 @@
* @defgroup solverGroup Solvers for Equation Systems * @defgroup solverGroup Solvers for Equation Systems
*/ */
#include <vector>
#include "cantera/base/Array.h" #include "cantera/base/Array.h"
#include "ResidEval.h" #include "ResidEval.h"

View file

@ -18,6 +18,8 @@
#include "OneDim.h" #include "OneDim.h"
#include "cantera/base/ctml.h" #include "cantera/base/ctml.h"
#include <cstdio>
namespace Cantera namespace Cantera
{ {

View file

@ -8,7 +8,6 @@
*/ */
#ifndef CT_GENERALSPECIESTHERMO_H #ifndef CT_GENERALSPECIESTHERMO_H
#define CT_GENERALSPECIESTHERMO_H #define CT_GENERALSPECIESTHERMO_H
#include <string>
#include "cantera/base/ct_defs.h" #include "cantera/base/ct_defs.h"
#include "SpeciesThermoMgr.h" #include "SpeciesThermoMgr.h"
#include "NasaPoly1.h" #include "NasaPoly1.h"

View file

@ -15,7 +15,6 @@
#include "cantera/base/ctexceptions.h" #include "cantera/base/ctexceptions.h"
#include "cantera/base/stringUtils.h" #include "cantera/base/stringUtils.h"
#include "SpeciesThermo.h" #include "SpeciesThermo.h"
#include <map>
namespace Cantera namespace Cantera
{ {

View file

@ -15,8 +15,6 @@
#include "cantera/base/global.h" #include "cantera/base/global.h"
#include "SpeciesThermoInterpType.h" #include "SpeciesThermoInterpType.h"
#include "SpeciesThermoMgr.h" #include "SpeciesThermoMgr.h"
#include <string>
#include <map>
namespace Cantera namespace Cantera
{ {

View file

@ -3,9 +3,6 @@
#include "cantera/base/ctexceptions.h" #include "cantera/base/ctexceptions.h"
#include <iostream>
#include <string>
namespace tpx namespace tpx
{ {

View file

@ -13,12 +13,6 @@
#include "TransportParams.h" #include "TransportParams.h"
#include "LiquidTransportParams.h" #include "LiquidTransportParams.h"
#include <vector>
#include <string>
#include <map>
#include <numeric>
#include <algorithm>
namespace Cantera namespace Cantera
{ {

View file

@ -6,15 +6,9 @@
#ifndef CT_LTPSPECIES_H #ifndef CT_LTPSPECIES_H
#define CT_LTPSPECIES_H #define CT_LTPSPECIES_H
// Cantera includes
#include "cantera/base/ct_defs.h"
#include "TransportBase.h" #include "TransportBase.h"
#include "cantera/base/FactoryBase.h" #include "cantera/base/FactoryBase.h"
// STL includes
#include <vector>
#include <string>
namespace Cantera namespace Cantera
{ {

View file

@ -5,14 +5,6 @@
#ifndef CT_LIQUIDTRAN_H #ifndef CT_LIQUIDTRAN_H
#define CT_LIQUIDTRAN_H #define CT_LIQUIDTRAN_H
// STL includes
#include <vector>
#include <string>
#include <map>
#include <numeric>
#include <algorithm>
// Cantera includes
#include "TransportBase.h" #include "TransportBase.h"
#include "cantera/numerics/DenseMatrix.h" #include "cantera/numerics/DenseMatrix.h"
#include "TransportParams.h" #include "TransportParams.h"

View file

@ -5,13 +5,6 @@
#ifndef CT_LIQUIDTRANSPORTDATA_H #ifndef CT_LIQUIDTRANSPORTDATA_H
#define CT_LIQUIDTRANSPORTDATA_H #define CT_LIQUIDTRANSPORTDATA_H
// STL includes
#include <vector>
#include <string>
// Cantera includes
#include "cantera/base/ct_defs.h"
#include "TransportBase.h" #include "TransportBase.h"
#include "cantera/base/FactoryBase.h" #include "cantera/base/FactoryBase.h"
#include "LTPspecies.h" #include "LTPspecies.h"

View file

@ -6,7 +6,6 @@
#ifndef CT_LIQUIDTRANSPORTPARAMS_H #ifndef CT_LIQUIDTRANSPORTPARAMS_H
#define CT_LIQUIDTRANSPORTPARAMS_H #define CT_LIQUIDTRANSPORTPARAMS_H
#include "cantera/base/ct_defs.h"
#include "TransportBase.h" #include "TransportBase.h"
#include "TransportParams.h" #include "TransportParams.h"
#include "LiquidTransportData.h" #include "LiquidTransportData.h"
@ -14,8 +13,6 @@
#include "cantera/base/xml.h" #include "cantera/base/xml.h"
#include "cantera/base/XML_Writer.h" #include "cantera/base/XML_Writer.h"
#include <vector>
namespace Cantera namespace Cantera
{ {

View file

@ -10,14 +10,6 @@
#ifndef CT_MIXTRAN_H #ifndef CT_MIXTRAN_H
#define CT_MIXTRAN_H #define CT_MIXTRAN_H
// STL includes
#include <vector>
#include <string>
#include <map>
#include <numeric>
#include <algorithm>
// Cantera includes
#include "GasTransport.h" #include "GasTransport.h"
#include "cantera/numerics/DenseMatrix.h" #include "cantera/numerics/DenseMatrix.h"

View file

@ -8,22 +8,6 @@
#ifndef CT_PECOSTRAN_H #ifndef CT_PECOSTRAN_H
#define CT_PECOSTRAN_H #define CT_PECOSTRAN_H
// STL includes
#include <vector>
#include <string>
#include <map>
#include <numeric>
#include <algorithm>
#include <iostream>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
// Cantera includes
#include "TransportBase.h" #include "TransportBase.h"
#include "cantera/numerics/DenseMatrix.h" #include "cantera/numerics/DenseMatrix.h"

View file

@ -7,16 +7,6 @@
#ifndef CT_SIMPLETRAN_H #ifndef CT_SIMPLETRAN_H
#define CT_SIMPLETRAN_H #define CT_SIMPLETRAN_H
// STL includes
#include <vector>
#include <string>
#include <map>
#include <numeric>
#include <algorithm>
// Cantera includes
#include "TransportBase.h" #include "TransportBase.h"
#include "cantera/numerics/DenseMatrix.h" #include "cantera/numerics/DenseMatrix.h"
#include "TransportParams.h" #include "TransportParams.h"

View file

@ -10,14 +10,6 @@
#ifndef CT_SOLIDTRAN_H #ifndef CT_SOLIDTRAN_H
#define CT_SOLIDTRAN_H #define CT_SOLIDTRAN_H
// STL includes
#include <vector>
#include <string>
#include <map>
#include <numeric>
#include <algorithm>
// Cantera includes
#include "LTPspecies.h" #include "LTPspecies.h"
#include "TransportBase.h" #include "TransportBase.h"
#include "cantera/numerics/DenseMatrix.h" #include "cantera/numerics/DenseMatrix.h"

View file

@ -6,12 +6,6 @@
#ifndef CT_SOLIDTRANSPORTDATA_H #ifndef CT_SOLIDTRANSPORTDATA_H
#define CT_SOLIDTRANSPORTDATA_H #define CT_SOLIDTRANSPORTDATA_H
// STL includes
#include <vector>
#include <string>
// Cantera includes
#include "cantera/base/ct_defs.h"
#include "cantera/transport/TransportBase.h" #include "cantera/transport/TransportBase.h"
#include "cantera/transport/TransportParams.h" #include "cantera/transport/TransportParams.h"
#include "cantera/base/FactoryBase.h" #include "cantera/base/FactoryBase.h"

View file

@ -8,10 +8,6 @@
#ifndef CT_TRANSPORTFACTORY_H #ifndef CT_TRANSPORTFACTORY_H
#define CT_TRANSPORTFACTORY_H #define CT_TRANSPORTFACTORY_H
// STL includes
#include <iostream>
#include <new>
// Cantera includes // Cantera includes
#include "cantera/base/ct_defs.h" #include "cantera/base/ct_defs.h"
#include "cantera/base/ct_thread.h" #include "cantera/base/ct_thread.h"

View file

@ -7,9 +7,6 @@
#ifndef CT_TRANSPORTPARAMS_H #ifndef CT_TRANSPORTPARAMS_H
#define CT_TRANSPORTPARAMS_H #define CT_TRANSPORTPARAMS_H
#include <vector>
#include "cantera/base/ct_defs.h"
#include "cantera/numerics/DenseMatrix.h" #include "cantera/numerics/DenseMatrix.h"
#include "TransportBase.h" #include "TransportBase.h"

View file

@ -5,14 +5,6 @@
#ifndef CT_WATERTRAN_H #ifndef CT_WATERTRAN_H
#define CT_WATERTRAN_H #define CT_WATERTRAN_H
// STL includes
#include <vector>
#include <string>
#include <map>
#include <numeric>
#include <algorithm>
// Cantera includes
#include "TransportBase.h" #include "TransportBase.h"
#include "cantera/numerics/DenseMatrix.h" #include "cantera/numerics/DenseMatrix.h"
#include "LiquidTransportParams.h" #include "LiquidTransportParams.h"

View file

@ -6,7 +6,6 @@
#ifndef CT_RESERVOIR_H #ifndef CT_RESERVOIR_H
#define CT_RESERVOIR_H #define CT_RESERVOIR_H
#include <iostream>
#include "ReactorBase.h" #include "ReactorBase.h"
namespace Cantera namespace Cantera

View file

@ -1,13 +1,5 @@
#include "cantera/IdealGasMix.h" // defines class IdealGasMix #include "cantera/IdealGasMix.h" // defines class IdealGasMix
#include <iostream>
#include <fstream>
#include <vector>
#include <map>
#include <numeric>
#include <string>
#include <algorithm>
using namespace Cantera; using namespace Cantera;
// The program is put into a function so that error handling code can // The program is put into a function so that error handling code can

View file

@ -1,9 +1,7 @@
// An open Rankine cycle // An open Rankine cycle
#include <string>
#include <map>
#include "cantera/PureFluid.h" // defines class Water #include "cantera/PureFluid.h" // defines class Water
#include <cstdio>
using namespace Cantera; using namespace Cantera;

View file

@ -20,12 +20,8 @@
* one another. * one another.
*/ */
#include <stdio.h>
#include <cstdlib>
#include <string.h>
#include <math.h> #include <math.h>
#include <float.h> #include <float.h>
#include <limits.h>
#include <algorithm> #include <algorithm>
#include "cantera/base/config.h" #include "cantera/base/config.h"
#ifndef _MSC_VER #ifndef _MSC_VER

View file

@ -2,10 +2,6 @@
* @file cti2ctml.cpp * @file cti2ctml.cpp
*/ */
#include <iostream>
#include <string>
#include <vector>
#include "cantera/base/ct_defs.h" #include "cantera/base/ct_defs.h"
#include "cantera/base/xml.h" #include "cantera/base/xml.h"
#include "cantera/base/ctml.h" #include "cantera/base/ctml.h"

View file

@ -10,11 +10,6 @@
* See file License.txt for licensing information. * See file License.txt for licensing information.
*/ */
#include <cmath>
#include <iostream>
#include <fstream>
#include "LogPrintCtrl.h" #include "LogPrintCtrl.h"
#include "cantera/base/global.h" #include "cantera/base/global.h"

View file

@ -10,12 +10,8 @@
* See file License.txt for licensing information. * See file License.txt for licensing information.
*/ */
#include <cmath>
#include <iostream>
#include <fstream>
#include "cantera/base/PrintCtrl.h" #include "cantera/base/PrintCtrl.h"
#include <cmath>
using namespace std; using namespace std;

View file

@ -6,8 +6,6 @@
#include "cantera/base/xml.h" #include "cantera/base/xml.h"
#include "units.h" #include "units.h"
#include <map>
#include <string>
#include <fstream> #include <fstream>
#include <functional> #include <functional>

View file

@ -5,11 +5,8 @@
#include "cantera/base/ct_thread.h" #include "cantera/base/ct_thread.h"
#include "cantera/base/logger.h" #include "cantera/base/logger.h"
#include <map>
#include <set> #include <set>
#include <memory> #include <memory>
#include <string>
#include <vector>
namespace Cantera namespace Cantera
{ {

View file

@ -12,9 +12,6 @@
#include "cantera/base/ct_defs.h" #include "cantera/base/ct_defs.h"
#include <stdexcept> #include <stdexcept>
#include <cmath>
#include <cstdlib>
#include <cstdio> #include <cstdio>
// We expect that there will be special casing based on the computer // We expect that there will be special casing based on the computer

View file

@ -14,9 +14,6 @@
#include <fstream> #include <fstream>
#include <sstream> #include <sstream>
#include <string>
#include <cstdlib>
#include <ctime>
using namespace Cantera; using namespace Cantera;
using namespace std; using namespace std;

View file

@ -13,10 +13,6 @@
#include "cantera/base/global.h" #include "cantera/base/global.h"
#include "cantera/base/stringUtils.h" #include "cantera/base/stringUtils.h"
#include <cctype>
#include <cstring>
#include <cstdlib>
using namespace std; using namespace std;
using namespace Cantera; using namespace Cantera;

View file

@ -20,12 +20,8 @@
#include "cantera/base/global.h" #include "cantera/base/global.h"
#include "cantera/base/ctml.h" #include "cantera/base/ctml.h"
#include <string>
#include <sstream> #include <sstream>
#include <cstdio> #include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cctype>
namespace Cantera namespace Cantera
{ {

View file

@ -15,8 +15,6 @@
#include "cantera/base/ctexceptions.h" #include "cantera/base/ctexceptions.h"
#include "cantera/base/ct_thread.h" #include "cantera/base/ct_thread.h"
#include <string>
namespace Cantera namespace Cantera
{ {

View file

@ -15,8 +15,6 @@ using namespace std;
#include "cantera/base/xml.h" #include "cantera/base/xml.h"
#include "cantera/base/global.h" #include "cantera/base/global.h"
#include "cantera/base/stringUtils.h" #include "cantera/base/stringUtils.h"
#include <ctype.h>
#include <cstdlib>
namespace Cantera namespace Cantera
{ {

View file

@ -4,9 +4,7 @@
#ifndef CT_CABINET_H #ifndef CT_CABINET_H
#define CT_CABINET_H #define CT_CABINET_H
#include <vector>
#include "cantera/base/stringUtils.h" #include "cantera/base/stringUtils.h"
#include "cantera/base/config.h"
#include "cantera/base/ctexceptions.h" #include "cantera/base/ctexceptions.h"
#include "clib_defs.h" #include "clib_defs.h"

View file

@ -7,6 +7,7 @@
#include "cantera/base/ct_defs.h" #include "cantera/base/ct_defs.h"
#include "cantera/base/global.h" #include "cantera/base/global.h"
#include "cantera/base/ctexceptions.h" #include "cantera/base/ctexceptions.h"
#include <iostream>
#ifdef _WIN32 #ifdef _WIN32
// Windows (MSVC or MinGW) // Windows (MSVC or MinGW)

View file

@ -13,6 +13,8 @@
#include "cantera/numerics/DenseMatrix.h" #include "cantera/numerics/DenseMatrix.h"
#include "Cabinet.h" #include "Cabinet.h"
#include <fstream>
using namespace std; using namespace std;
using namespace Cantera; using namespace Cantera;

View file

@ -2,13 +2,9 @@
* @file BasisOptimize.cpp Functions which calculation optimized basis of the * @file BasisOptimize.cpp Functions which calculation optimized basis of the
* stoichiometric coefficient matrix (see /ref equil functions) * stoichiometric coefficient matrix (see /ref equil functions)
*/ */
#include "cantera/base/ct_defs.h"
#include "cantera/base/global.h"
#include "cantera/thermo/ThermoPhase.h" #include "cantera/thermo/ThermoPhase.h"
#include "cantera/equil/MultiPhase.h" #include "cantera/equil/MultiPhase.h"
#include <cstring>
using namespace Cantera; using namespace Cantera;
using namespace std; using namespace std;

View file

@ -6,8 +6,6 @@
// Copyright 2001 California Institute of Technology // Copyright 2001 California Institute of Technology
#include <vector>
#include "cantera/equil/ChemEquil.h" #include "cantera/equil/ChemEquil.h"
#include "cantera/numerics/DenseMatrix.h" #include "cantera/numerics/DenseMatrix.h"
@ -26,7 +24,6 @@
using namespace std; using namespace std;
#include <cstdio> #include <cstdio>
#include <cstdlib>
int Cantera::ChemEquil_print_lvl = 0; int Cantera::ChemEquil_print_lvl = 0;

View file

@ -7,8 +7,6 @@
#include "cantera/base/global.h" #include "cantera/base/global.h"
#include "cantera/base/stringUtils.h" #include "cantera/base/stringUtils.h"
#include <math.h>
#include <iostream>
#include <cstdio> #include <cstdio>
using namespace std; using namespace std;

View file

@ -8,7 +8,6 @@
#define CT_PROP_CALC_H #define CT_PROP_CALC_H
#include "cantera/base/ct_defs.h" #include "cantera/base/ct_defs.h"
#include <string>
namespace Cantera namespace Cantera
{ {

View file

@ -16,19 +16,15 @@
#include "cantera/equil/vcs_solve.h" #include "cantera/equil/vcs_solve.h"
#include "cantera/base/ct_defs.h"
#include "cantera/thermo/mix_defs.h" #include "cantera/thermo/mix_defs.h"
#include "cantera/base/clockWC.h" #include "cantera/base/clockWC.h"
#include "cantera/base/stringUtils.h" #include "cantera/base/stringUtils.h"
#include "cantera/thermo/ThermoPhase.h"
#include "cantera/thermo/speciesThermoTypes.h" #include "cantera/thermo/speciesThermoTypes.h"
#include "cantera/thermo/IdealSolidSolnPhase.h" #include "cantera/thermo/IdealSolidSolnPhase.h"
#include "cantera/thermo/IdealMolalSoln.h" #include "cantera/thermo/IdealMolalSoln.h"
#include "cantera/equil/ChemEquil.h" #include "cantera/equil/ChemEquil.h"
#include "cantera/equil/vcs_SpeciesProperties.h" #include "cantera/equil/vcs_SpeciesProperties.h"
#include <string>
#include <vector>
#include <cstdio> #include <cstdio>
using namespace Cantera; using namespace Cantera;

View file

@ -7,10 +7,6 @@
#include "cantera/equil/vcs_species_thermo.h" #include "cantera/equil/vcs_species_thermo.h"
#include "cantera/equil/vcs_internal.h" #include "cantera/equil/vcs_internal.h"
#include <cstdio>
#include <cstdlib>
#include <cmath>
using namespace std; using namespace std;
namespace VCSnonideal namespace VCSnonideal

View file

@ -3,10 +3,6 @@
#include "cantera/equil/vcs_species_thermo.h" #include "cantera/equil/vcs_species_thermo.h"
#include "cantera/equil/vcs_VolPhase.h" #include "cantera/equil/vcs_VolPhase.h"
#include <cstdio>
#include <cstdlib>
#include <cmath>
namespace VCSnonideal namespace VCSnonideal
{ {
int VCS_SOLVE::vcs_TP(int ipr, int ip1, int maxit, double T_arg, double pres_arg) int VCS_SOLVE::vcs_TP(int ipr, int ip1, int maxit, double T_arg, double pres_arg)

View file

@ -15,10 +15,8 @@
#include "cantera/thermo/ThermoPhase.h" #include "cantera/thermo/ThermoPhase.h"
#include "cantera/thermo/mix_defs.h" #include "cantera/thermo/mix_defs.h"
#include <string>
#include <sstream> #include <sstream>
#include <cstdio> #include <cstdio>
#include <cstdlib>
namespace VCSnonideal namespace VCSnonideal
{ {

View file

@ -13,10 +13,6 @@
#include "cantera/equil/vcs_internal.h" #include "cantera/equil/vcs_internal.h"
#include "cantera/equil/vcs_VolPhase.h" #include "cantera/equil/vcs_VolPhase.h"
#include <cstdio>
#include <cstdlib>
#include <cmath>
namespace VCSnonideal namespace VCSnonideal
{ {

View file

@ -17,7 +17,6 @@
#include "cantera/equil/vcs_solve.h" #include "cantera/equil/vcs_solve.h"
#include "cantera/equil/equil.h" #include "cantera/equil/equil.h"
#include "cantera/base/ct_defs.h"
#include "cantera/base/stringUtils.h" #include "cantera/base/stringUtils.h"
#include "cantera/thermo/mix_defs.h" #include "cantera/thermo/mix_defs.h"
#include "cantera/thermo/speciesThermoTypes.h" #include "cantera/thermo/speciesThermoTypes.h"
@ -25,9 +24,6 @@
#include "cantera/thermo/IdealMolalSoln.h" #include "cantera/thermo/IdealMolalSoln.h"
#include "cantera/equil/ChemEquil.h" #include "cantera/equil/ChemEquil.h"
#include <string>
#include <vector>
using namespace std; using namespace std;
namespace Cantera namespace Cantera

View file

@ -14,10 +14,6 @@
#include "cantera/base/clockWC.h" #include "cantera/base/clockWC.h"
#include <cstdio>
#include <cstdlib>
#include <cmath>
namespace VCSnonideal namespace VCSnonideal
{ {

View file

@ -14,10 +14,6 @@
#include "cantera/base/stringUtils.h" #include "cantera/base/stringUtils.h"
#include "cantera/base/ctexceptions.h" #include "cantera/base/ctexceptions.h"
#include <cstdio>
#include <cstdlib>
#include <cmath>
namespace VCSnonideal namespace VCSnonideal
{ {
double VCS_SOLVE::vcs_nondim_Farad(int mu_units, double TKelvin) const double VCS_SOLVE::vcs_nondim_Farad(int mu_units, double TKelvin) const

View file

@ -9,10 +9,6 @@
#include "cantera/equil/vcs_VolPhase.h" #include "cantera/equil/vcs_VolPhase.h"
#include <cstdio> #include <cstdio>
#include <cstdlib>
#include <cmath>
#include <vector>
#include <cstring>
#include <algorithm> #include <algorithm>
using namespace std; using namespace std;

View file

@ -15,10 +15,6 @@
#include "cantera/equil/vcs_VolPhase.h" #include "cantera/equil/vcs_VolPhase.h"
#include "cantera/equil/vcs_SpeciesProperties.h" #include "cantera/equil/vcs_SpeciesProperties.h"
#include <cstdio>
#include <cstdlib>
#include <cmath>
namespace VCSnonideal namespace VCSnonideal
{ {
void VCS_SOLVE::vcs_SSPhase() void VCS_SOLVE::vcs_SSPhase()

View file

@ -17,8 +17,6 @@
#include "cantera/thermo/ThermoPhase.h" #include "cantera/thermo/ThermoPhase.h"
#include "cantera/thermo/MolalityVPSSTP.h" #include "cantera/thermo/MolalityVPSSTP.h"
#include <cstdlib>
#include <string>
#include <cstdio> #include <cstdio>
using namespace std; using namespace std;

View file

@ -20,9 +20,7 @@
#include "cantera/base/clockWC.h" #include "cantera/base/clockWC.h"
#include "cantera/base/ctexceptions.h" #include "cantera/base/ctexceptions.h"
#include <string>
#include <cstdio> #include <cstdio>
#include "math.h"
using namespace std; using namespace std;
namespace VCSnonideal { namespace VCSnonideal {

View file

@ -11,10 +11,6 @@
#include "cantera/equil/vcs_solve.h" #include "cantera/equil/vcs_solve.h"
#include "cantera/equil/vcs_internal.h" #include "cantera/equil/vcs_internal.h"
#include <cstdio>
#include <cstdlib>
#include <cmath>
namespace VCSnonideal namespace VCSnonideal
{ {
int VCS_SOLVE::vcs_rearrange() int VCS_SOLVE::vcs_rearrange()

View file

@ -8,10 +8,6 @@
#include "cantera/equil/vcs_internal.h" #include "cantera/equil/vcs_internal.h"
#include "cantera/equil/vcs_VolPhase.h" #include "cantera/equil/vcs_VolPhase.h"
#include <cstdio>
#include <cstdlib>
#include <cmath>
namespace VCSnonideal namespace VCSnonideal
{ {
static void print_space(int num) static void print_space(int num)

View file

@ -11,8 +11,6 @@
#include "cantera/equil/vcs_internal.h" #include "cantera/equil/vcs_internal.h"
#include <cstdio> #include <cstdio>
#include <cstdlib>
#include <cmath>
namespace VCSnonideal namespace VCSnonideal
{ {

View file

@ -13,8 +13,6 @@
#include "cantera/equil/vcs_VolPhase.h" #include "cantera/equil/vcs_VolPhase.h"
#include <cstdio> #include <cstdio>
#include <cstdlib>
#include <cmath>
namespace VCSnonideal namespace VCSnonideal
{ {

View file

@ -12,11 +12,6 @@
#include "cantera/equil/vcs_species_thermo.h" #include "cantera/equil/vcs_species_thermo.h"
#include "cantera/equil/vcs_solve.h" #include "cantera/equil/vcs_solve.h"
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <iostream>
using namespace std; using namespace std;
namespace VCSnonideal namespace VCSnonideal

View file

@ -19,10 +19,6 @@
#include "cantera/base/clockWC.h" #include "cantera/base/clockWC.h"
#include <string>
#include <cstdlib>
#include <math.h>
using namespace std; using namespace std;
namespace VCSnonideal namespace VCSnonideal

View file

@ -8,20 +8,17 @@
* U.S. Government retains certain rights in this software. * U.S. Government retains certain rights in this software.
*/ */
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cassert>
#include "cantera/equil/vcs_solve.h" #include "cantera/equil/vcs_solve.h"
#include "cantera/equil/vcs_internal.h" #include "cantera/equil/vcs_internal.h"
#include "cantera/equil/vcs_VolPhase.h" #include "cantera/equil/vcs_VolPhase.h"
#include "cantera/equil/vcs_species_thermo.h" #include "cantera/equil/vcs_species_thermo.h"
#include "cantera/base/ctexceptions.h"
#include "cantera/base/ctexceptions.h"
#include "cantera/base/clockWC.h" #include "cantera/base/clockWC.h"
#include "cantera/base/stringUtils.h" #include "cantera/base/stringUtils.h"
#include <cstdio>
using namespace std; using namespace std;
using namespace Cantera; using namespace Cantera;

View file

@ -9,11 +9,6 @@
* U.S. Government retains certain rights in this software. * U.S. Government retains certain rights in this software.
*/ */
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cassert>
#include "cantera/equil/vcs_solve.h" #include "cantera/equil/vcs_solve.h"
#include "cantera/equil/vcs_internal.h" #include "cantera/equil/vcs_internal.h"
#include "cantera/equil/vcs_VolPhase.h" #include "cantera/equil/vcs_VolPhase.h"

View file

@ -16,10 +16,6 @@
#include "cantera/base/ctexceptions.h" #include "cantera/base/ctexceptions.h"
#include "cantera/equil/vcs_internal.h" #include "cantera/equil/vcs_internal.h"
#include <cstdio>
#include <cstdlib>
#include <cmath>
using namespace std; using namespace std;
namespace VCSnonideal namespace VCSnonideal

View file

@ -7,13 +7,9 @@
* Contract DE-AC04-94AL85000 with Sandia Corporation, the * Contract DE-AC04-94AL85000 with Sandia Corporation, the
* U.S. Government retains certain rights in this software. * U.S. Government retains certain rights in this software.
*/ */
#include <cstdlib>
#include <cmath>
#include <cassert>
#include "cantera/equil/vcs_internal.h" #include "cantera/equil/vcs_internal.h"
#include <cstring> #include <cassert>
#include <cstdlib>
using namespace std; using namespace std;

View file

@ -16,7 +16,6 @@
#include "cantera/kinetics/RateCoeffMgr.h" #include "cantera/kinetics/RateCoeffMgr.h"
#include "cantera/base/stringUtils.h" #include "cantera/base/stringUtils.h"
#include <iostream>
using namespace std; using namespace std;
namespace Cantera namespace Cantera

View file

@ -7,8 +7,6 @@
#include "cantera/base/ctexceptions.h" #include "cantera/base/ctexceptions.h"
#include "cantera/base/stringUtils.h" #include "cantera/base/stringUtils.h"
#include <cmath>
namespace Cantera namespace Cantera
{ {

View file

@ -14,7 +14,6 @@
#include "cantera/kinetics/RateCoeffMgr.h" #include "cantera/kinetics/RateCoeffMgr.h"
#include "cantera/thermo/IdealGasPhase.h" #include "cantera/thermo/IdealGasPhase.h"
#include <iostream>
using namespace std; using namespace std;

View file

@ -13,7 +13,6 @@
#include "cantera/kinetics/ThirdBodyMgr.h" #include "cantera/kinetics/ThirdBodyMgr.h"
#include "cantera/kinetics/RateCoeffMgr.h" #include "cantera/kinetics/RateCoeffMgr.h"
#include <iostream>
using namespace std; using namespace std;
namespace Cantera namespace Cantera

View file

@ -10,9 +10,6 @@
#include "cantera/kinetics/Group.h" #include "cantera/kinetics/Group.h"
#include <algorithm>
#include <cmath>
namespace Cantera namespace Cantera
{ {

View file

@ -6,12 +6,12 @@
#include "cantera/kinetics/InterfaceKinetics.h" #include "cantera/kinetics/InterfaceKinetics.h"
#include "cantera/kinetics/EdgeKinetics.h" #include "cantera/kinetics/EdgeKinetics.h"
#include "cantera/thermo/SurfPhase.h"
#include "cantera/kinetics/ReactionData.h" #include "cantera/kinetics/ReactionData.h"
#include "cantera/kinetics/RateCoeffMgr.h" #include "cantera/kinetics/RateCoeffMgr.h"
#include "cantera/kinetics/ImplicitSurfChem.h" #include "cantera/kinetics/ImplicitSurfChem.h"
#include "cantera/thermo/SurfPhase.h"
#include <cstdio>
using namespace std; using namespace std;

View file

@ -15,7 +15,6 @@
#include "cantera/kinetics/ImplicitSurfChem.h" #include "cantera/kinetics/ImplicitSurfChem.h"
#include <iostream>
using namespace std; using namespace std;

View file

@ -13,7 +13,6 @@
#include "cantera/kinetics/importKinetics.h" #include "cantera/kinetics/importKinetics.h"
#include "cantera/thermo/mix_defs.h" #include "cantera/thermo/mix_defs.h"
#include <time.h>
#include <memory> #include <memory>
// Cantera includes // Cantera includes
@ -32,8 +31,6 @@
#include "cantera/base/xml.h" #include "cantera/base/xml.h"
#include "cantera/base/ctml.h" #include "cantera/base/ctml.h"
#include <cstdlib>
using namespace ctml; using namespace ctml;
using namespace std; using namespace std;

View file

@ -12,13 +12,7 @@
#include "cantera/base/clockWC.h" #include "cantera/base/clockWC.h"
#include "cantera/numerics/ctlapack.h" #include "cantera/numerics/ctlapack.h"
/* Standard include files */
#include <cstdio> #include <cstdio>
#include <cstdlib>
#include <cmath>
#include <vector>
using namespace std; using namespace std;
namespace Cantera namespace Cantera

View file

@ -11,8 +11,6 @@
#include "cantera/numerics/BEulerInt.h" #include "cantera/numerics/BEulerInt.h"
#include <iostream>
using namespace std; using namespace std;
namespace Cantera namespace Cantera

View file

@ -5,7 +5,6 @@
// Copyright 2001 California Institute of Technology // Copyright 2001 California Institute of Technology
#include "CVodeInt.h" #include "CVodeInt.h"
#include <iostream>
using namespace std; using namespace std;
// cvode includes // cvode includes

View file

@ -7,8 +7,6 @@
#include "cantera/numerics/IDA_Solver.h" #include "cantera/numerics/IDA_Solver.h"
#include "cantera/base/stringUtils.h" #include "cantera/base/stringUtils.h"
#include <iostream>
#if SUNDIALS_VERSION >= 24 #if SUNDIALS_VERSION >= 24
#include "sundials/sundials_types.h" #include "sundials/sundials_types.h"
#include "sundials/sundials_math.h" #include "sundials/sundials_math.h"

Some files were not shown because too many files have changed in this diff Show more