Use quotes instead of angle brackets for non-system header #includes
This commit is contained in:
parent
ca4212cc57
commit
b3ae0c9208
44 changed files with 102 additions and 102 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#include <cantera/IdealGasMix.h> // defines class IdealGasMix
|
||||
#include <cantera/equilibrium.h> // chemical equilibrium
|
||||
#include <cantera/transport.h> // transport properties
|
||||
#include "cantera/IdealGasMix.h" // defines class IdealGasMix
|
||||
#include "cantera/equilibrium.h" // chemical equilibrium
|
||||
#include "cantera/transport.h" // transport properties
|
||||
|
||||
using namespace Cantera;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include <cantera/thermo.h>
|
||||
#include "cantera/thermo.h"
|
||||
|
||||
using namespace Cantera;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include <cantera/equilibrium.h>
|
||||
#include <cantera/thermo.h>
|
||||
#include "cantera/equilibrium.h"
|
||||
#include "cantera/thermo.h"
|
||||
|
||||
using namespace Cantera;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include <cantera/base/ctexceptions.h>
|
||||
#include "cantera/base/ctexceptions.h"
|
||||
|
||||
void demoprog()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,9 +24,9 @@
|
|||
#ifdef HAS_SUNDIALS
|
||||
|
||||
#ifdef SUNDIALS_VERSION_22
|
||||
#include <nvector_serial.h>
|
||||
#include "nvector_serial.h"
|
||||
#else
|
||||
#include <sundials/sundials_nvector.h>
|
||||
#include "sundials/sundials_nvector.h"
|
||||
|
||||
// These constants are defined internally in the ida package, ida.c
|
||||
#define IDA_NN 0
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include <cantera/IdealGasMix.h> // defines class IdealGasMix
|
||||
#include "cantera/IdealGasMix.h" // defines class IdealGasMix
|
||||
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/// @file AxiStagnBVP.cpp
|
||||
|
||||
#include <cantera/Cantera.h>
|
||||
#include "cantera/Cantera.h"
|
||||
#include "AxiStagnBVP.h"
|
||||
|
||||
AxiStagnBVP::AxiStagnBVP(int nsp, int np, double L) :
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/// @file AxiStagnBVP.h
|
||||
|
||||
#include <cantera/Cantera.h>
|
||||
#include "cantera/Cantera.h"
|
||||
#include "BoundaryValueProblem.h"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
#ifndef BVP_H
|
||||
#define BVP_H
|
||||
|
||||
#include <cantera/Cantera.h>
|
||||
#include <cantera/onedim.h>
|
||||
#include "cantera/Cantera.h"
|
||||
#include "cantera/onedim.h"
|
||||
|
||||
/// Namespace for the boundary value problem package.
|
||||
namespace BVP
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/// @file blasius.cpp
|
||||
/// The Blasius boundary layer
|
||||
|
||||
#include <cantera/Cantera.h>
|
||||
#include "cantera/Cantera.h"
|
||||
#include "BoundaryValueProblem.h"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
// igniter is a pulsed flow of atomic hydrogen. After the igniter is
|
||||
// turned off, the system approaches the steady burning solution."""
|
||||
|
||||
#include <cantera/zerodim.h>
|
||||
#include <cantera/IdealGasMix.h>
|
||||
#include "cantera/zerodim.h"
|
||||
#include "cantera/IdealGasMix.h"
|
||||
|
||||
using namespace Cantera;
|
||||
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@
|
|||
// provide a simplified interface to the Cantera header files. If you need
|
||||
// to include core headers directly, use the format "cantera/module/*.h".
|
||||
|
||||
#include <cantera/IdealGasMix.h> // defines class IdealGasMix
|
||||
#include <cantera/equilibrium.h> // chemical equilibrium
|
||||
#include <cantera/transport.h> // transport properties
|
||||
#include "cantera/IdealGasMix.h" // defines class IdealGasMix
|
||||
#include "cantera/equilibrium.h" // chemical equilibrium
|
||||
#include "cantera/transport.h" // transport properties
|
||||
|
||||
// All Cantera kernel names are in namespace Cantera. You can either
|
||||
// reference everything as Cantera::<name>, or include the following
|
||||
|
|
|
|||
|
|
@ -8,9 +8,9 @@
|
|||
#include "cantera/oneD/Sim1D.h"
|
||||
#include "cantera/oneD/Inlet1D.h"
|
||||
#include "cantera/oneD/StFlow.h"
|
||||
#include <cantera/IdealGasMix.h>
|
||||
#include <cantera/equilibrium.h>
|
||||
#include <cantera/transport.h>
|
||||
#include "cantera/IdealGasMix.h"
|
||||
#include "cantera/equilibrium.h"
|
||||
#include "cantera/transport.h"
|
||||
|
||||
using namespace Cantera;
|
||||
using std::cout;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef CT_EXAMPLE_UTILS_H
|
||||
#define CT_EXAMPLE_UTILS_H
|
||||
|
||||
#include <cantera/base/Array.h>
|
||||
#include <cantera/base/plots.h>
|
||||
#include "cantera/base/Array.h"
|
||||
#include "cantera/base/plots.h"
|
||||
|
||||
// Save the temperature, density, pressure, and mole fractions at one
|
||||
// time
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@
|
|||
//
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
||||
#include <cantera/zerodim.h>
|
||||
#include <cantera/IdealGasMix.h>
|
||||
#include <cantera/numerics.h>
|
||||
#include "cantera/zerodim.h"
|
||||
#include "cantera/IdealGasMix.h"
|
||||
#include "cantera/numerics.h"
|
||||
|
||||
#include <time.h>
|
||||
#include "example_utils.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include <string>
|
||||
#include <map>
|
||||
|
||||
#include <cantera/PureFluid.h> // defines class Water
|
||||
#include "cantera/PureFluid.h" // defines class Water
|
||||
|
||||
using namespace Cantera;
|
||||
using namespace std;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
|
||||
// add any other Cantera header files you need here
|
||||
#include <cantera/IdealGasMix.h>
|
||||
#include "cantera/IdealGasMix.h"
|
||||
|
||||
using namespace Cantera;
|
||||
using std::string;
|
||||
|
|
@ -45,12 +45,12 @@ IdealGasMix* _gasptr()
|
|||
#define WITH_TRANSPORT
|
||||
|
||||
#ifdef WITH_EQUIL
|
||||
#include <cantera/equilibrium.h>
|
||||
#include "cantera/equilibrium.h"
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef WITH_TRANSPORT
|
||||
#include <cantera/transport.h>
|
||||
#include "cantera/transport.h"
|
||||
|
||||
// store a pointer to a transport manager
|
||||
static Transport* _trans = 0;
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
#include <string.h>
|
||||
#include <iostream>
|
||||
|
||||
#include <clib/ct.h>
|
||||
#include <clib/ctonedim.h>
|
||||
#include <clib/ctxml.h>
|
||||
#include "clib/ct.h"
|
||||
#include "clib/ctonedim.h"
|
||||
#include "clib/ctxml.h"
|
||||
#include "ctmatutils.h"
|
||||
|
||||
using namespace std;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#include <clib/ct.h>
|
||||
#include "clib/ct.h"
|
||||
#include "ctmatutils.h"
|
||||
#include "mllogger.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#include "ctmatutils.h"
|
||||
#include <clib/ctreactor.h>
|
||||
#include <clib/ct.h>
|
||||
#include "clib/ctreactor.h"
|
||||
#include "clib/ct.h"
|
||||
|
||||
//const double Undef = -999.123;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#include "ctmatutils.h"
|
||||
#include <clib/ctfunc.h>
|
||||
#include <clib/ct.h>
|
||||
#include "clib/ctfunc.h"
|
||||
#include "clib/ct.h"
|
||||
|
||||
void funcmethods(int nlhs, mxArray* plhs[],
|
||||
int nrhs, const mxArray* prhs[])
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#include "ctmatutils.h"
|
||||
#include <clib/ct.h>
|
||||
#include "clib/ct.h"
|
||||
|
||||
void checkNArgs(const int n, const int nrhs)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
*/
|
||||
#include <iostream>
|
||||
|
||||
#include <clib/ctmultiphase.h>
|
||||
#include <clib/ct.h>
|
||||
#include "clib/ctmultiphase.h"
|
||||
#include "clib/ct.h"
|
||||
#include "ctmatutils.h"
|
||||
using namespace std;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#include <string>
|
||||
|
||||
#include "ctmatutils.h"
|
||||
#include <clib/ctonedim.h>
|
||||
#include "clib/ctonedim.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace Cantera;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
#include "ctmatutils.h"
|
||||
#include <clib/ct.h>
|
||||
#include "clib/ct.h"
|
||||
|
||||
void phasemethods(int nlhs, mxArray* plhs[],
|
||||
int nrhs, const mxArray* prhs[])
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* @file reactormethods.cpp
|
||||
*/
|
||||
|
||||
#include <clib/ctreactor.h>
|
||||
#include <clib/ct.h>
|
||||
#include "clib/ctreactor.h"
|
||||
#include "clib/ct.h"
|
||||
#include "ctmatutils.h"
|
||||
|
||||
void reactormethods(int nlhs, mxArray* plhs[],
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* @file reactornetmethods.cpp
|
||||
*/
|
||||
|
||||
#include <clib/ctreactor.h>
|
||||
#include <clib/ct.h>
|
||||
#include "clib/ctreactor.h"
|
||||
#include "clib/ct.h"
|
||||
#include "ctmatutils.h"
|
||||
|
||||
//const double Undef = -999.123;
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
#include <string>
|
||||
|
||||
#include "ctmatutils.h"
|
||||
#include <clib/ctsurf.h>
|
||||
#include <clib/ct.h>
|
||||
#include "clib/ctsurf.h"
|
||||
#include "clib/ct.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* @file thermomethods.cpp
|
||||
*/
|
||||
|
||||
#include <clib/ct.h>
|
||||
#include "clib/ct.h"
|
||||
#include "ctmatutils.h"
|
||||
|
||||
static void thermoset(int nlhs, mxArray* plhs[],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#include <fstream>
|
||||
|
||||
#include <clib/ct.h>
|
||||
#include "clib/ct.h"
|
||||
#include "ctmatutils.h"
|
||||
|
||||
void reportError();
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* @file wallmethods.cpp
|
||||
*/
|
||||
|
||||
#include <clib/ctreactor.h>
|
||||
#include <clib/ct.h>
|
||||
#include "clib/ctreactor.h"
|
||||
#include "clib/ct.h"
|
||||
#include "ctmatutils.h"
|
||||
|
||||
//const double Undef = -999.123;
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
* @file xmlmethods.cpp
|
||||
*/
|
||||
|
||||
#include <clib/ctxml.h>
|
||||
#include <clib/ct.h>
|
||||
#include "clib/ctxml.h"
|
||||
#include "clib/ct.h"
|
||||
#include "ctmatutils.h"
|
||||
|
||||
void reportError();
|
||||
|
|
|
|||
|
|
@ -14,27 +14,27 @@ using namespace std;
|
|||
|
||||
#ifdef SUNDIALS_VERSION_22
|
||||
|
||||
#include <sundials_types.h>
|
||||
#include <sundials_math.h>
|
||||
#include <cvodes.h>
|
||||
#include <cvodes_dense.h>
|
||||
#include <cvodes_diag.h>
|
||||
#include <cvodes_spgmr.h>
|
||||
#include <cvodes_band.h>
|
||||
#include <nvector_serial.h>
|
||||
#include "sundials_types.h"
|
||||
#include "sundials_math.h"
|
||||
#include "cvodes.h"
|
||||
#include "cvodes_dense.h"
|
||||
#include "cvodes_diag.h"
|
||||
#include "cvodes_spgmr.h"
|
||||
#include "cvodes_band.h"
|
||||
#include "nvector_serial.h"
|
||||
|
||||
#else
|
||||
|
||||
#if defined(SUNDIALS_VERSION_23) || defined (SUNDIALS_VERSION_24)
|
||||
#include <sundials/sundials_types.h>
|
||||
#include <sundials/sundials_math.h>
|
||||
#include <sundials/sundials_nvector.h>
|
||||
#include <nvector/nvector_serial.h>
|
||||
#include <cvodes/cvodes.h>
|
||||
#include <cvodes/cvodes_dense.h>
|
||||
#include <cvodes/cvodes_diag.h>
|
||||
#include <cvodes/cvodes_spgmr.h>
|
||||
#include <cvodes/cvodes_band.h>
|
||||
#include "sundials/sundials_types.h"
|
||||
#include "sundials/sundials_math.h"
|
||||
#include "sundials/sundials_nvector.h"
|
||||
#include "nvector/nvector_serial.h"
|
||||
#include "cvodes/cvodes.h"
|
||||
#include "cvodes/cvodes_dense.h"
|
||||
#include "cvodes/cvodes_diag.h"
|
||||
#include "cvodes/cvodes_spgmr.h"
|
||||
#include "cvodes/cvodes_band.h"
|
||||
|
||||
#else
|
||||
|
||||
|
|
|
|||
|
|
@ -14,9 +14,9 @@
|
|||
#include "cantera/base/ct_defs.h"
|
||||
|
||||
#ifdef SUNDIALS_VERSION_22
|
||||
#include <nvector_serial.h>
|
||||
#include "nvector_serial.h"
|
||||
#else
|
||||
#include <sundials/sundials_nvector.h>
|
||||
#include "sundials/sundials_nvector.h"
|
||||
#endif
|
||||
|
||||
namespace Cantera
|
||||
|
|
|
|||
|
|
@ -11,13 +11,13 @@
|
|||
#include <iostream>
|
||||
|
||||
#ifdef SUNDIALS_VERSION_24
|
||||
#include <sundials/sundials_types.h>
|
||||
#include <sundials/sundials_math.h>
|
||||
#include <ida/ida.h>
|
||||
#include <ida/ida_dense.h>
|
||||
#include <ida/ida_spgmr.h>
|
||||
#include <ida/ida_band.h>
|
||||
#include <nvector/nvector_serial.h>
|
||||
#include "sundials/sundials_types.h"
|
||||
#include "sundials/sundials_math.h"
|
||||
#include "ida/ida.h"
|
||||
#include "ida/ida_dense.h"
|
||||
#include "ida/ida_spgmr.h"
|
||||
#include "ida/ida_band.h"
|
||||
#include "nvector/nvector_serial.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@
|
|||
/////////////////////////////////////////////////////////////
|
||||
|
||||
#include "example_utils.h"
|
||||
#include <cantera/equilibrium.h>
|
||||
#include "cantera/equilibrium.h"
|
||||
|
||||
#include <cantera/IdealGasMix.h>
|
||||
#include "cantera/IdealGasMix.h"
|
||||
|
||||
using namespace Cantera;
|
||||
//-------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef CT_EXAMPLE_UTILS_H
|
||||
#define CT_EXAMPLE_UTILS_H
|
||||
|
||||
#include <cantera/base/Array.h>
|
||||
#include <cantera/base/plots.h>
|
||||
#include "cantera/base/Array.h"
|
||||
#include "cantera/base/plots.h"
|
||||
|
||||
// Save the temperature, density, pressure, and mole fractions at one
|
||||
// time
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
||||
#include <cantera/zerodim.h>
|
||||
#include <cantera/IdealGasMix.h>
|
||||
#include "cantera/zerodim.h"
|
||||
#include "cantera/IdealGasMix.h"
|
||||
#include "example_utils.h"
|
||||
using namespace Cantera;
|
||||
using namespace std;
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
||||
#include <cantera/GRI30.h>
|
||||
#include <cantera/zerodim.h>
|
||||
#include "cantera/GRI30.h"
|
||||
#include "cantera/zerodim.h"
|
||||
#include "example_utils.h"
|
||||
|
||||
using namespace Cantera;
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
//
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
||||
#include <cantera/zerodim.h>
|
||||
#include <cantera/IdealGasMix.h>
|
||||
#include "cantera/zerodim.h"
|
||||
#include "cantera/IdealGasMix.h"
|
||||
#include "example_utils.h"
|
||||
|
||||
using namespace Cantera;
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@
|
|||
//
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
||||
#include <cantera/zerodim.h>
|
||||
#include "cantera/zerodim.h"
|
||||
#include "example_utils.h"
|
||||
#include <cantera/reactionpaths.h>
|
||||
#include <cantera/IdealGasMix.h>
|
||||
#include "cantera/reactionpaths.h"
|
||||
#include "cantera/IdealGasMix.h"
|
||||
|
||||
// #include <iostream>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@
|
|||
//
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
||||
#include <cantera/transport.h>
|
||||
#include "cantera/transport.h"
|
||||
#include "example_utils.h"
|
||||
#include <cantera/IdealGasMix.h>
|
||||
#include "cantera/IdealGasMix.h"
|
||||
|
||||
using namespace Cantera;
|
||||
using std::cout;
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@
|
|||
//
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
||||
#include <cantera/transport.h>
|
||||
#include "cantera/transport.h"
|
||||
#include "example_utils.h"
|
||||
#include <cantera/equilibrium.h>
|
||||
#include <cantera/IdealGasMix.h>
|
||||
#include "cantera/equilibrium.h"
|
||||
#include "cantera/IdealGasMix.h"
|
||||
|
||||
using namespace Cantera;
|
||||
using std::cout;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
#include <string>
|
||||
#include <map>
|
||||
|
||||
#include <cantera/PureFluid.h> // defines class Water
|
||||
#include "cantera/PureFluid.h" // defines class Water
|
||||
|
||||
using namespace Cantera;
|
||||
using namespace std;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue