From 83391db4fe1fba2d91062816af71f04e49515deb Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Wed, 7 Nov 2012 23:41:58 +0000 Subject: [PATCH] Added back Cantera.h Note in the near future, we'll require that all Cantera code include this file so that the environment may be set up correctly. --- include/cantera/Cantera.h | 56 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 include/cantera/Cantera.h diff --git a/include/cantera/Cantera.h b/include/cantera/Cantera.h new file mode 100644 index 000000000..33e421886 --- /dev/null +++ b/include/cantera/Cantera.h @@ -0,0 +1,56 @@ +/** + * @file Cantera.h + * Basic include file to be used in all Cantera application environments. + */ + +/* + * $Revision: 923 $ + * $Date: 2012-01-03 10:05:28 -0700 (Tue, 03 Jan 2012) $ + */ + +// Copyright 2001 California Institute of Technology + +/* + * Note, this include should be the first include that code containing the + * Cantera namespace sees when in the Cantera application environment. + */ + +#ifndef CANTERA_H_INCL +#define CANTERA_H_INCL + +// If we are using this file, then we are in the Cantera Apps environment. +// Define a variable to signify this fact. +#ifndef CANTERA_APP +#define CANTERA_APP +#endif + +// define the presence of the Cantera_CXX namespace +namespace Cantera_CXX{ } + +// Include global typedefs and values for physical constants using SI units +#include "base/ct_defs.h" + +// some useful functions +#include "base/global.h" + +// the CanteraError exception class +#include "base/ctexceptions.h" + +// The Cantera logger class +#include "base/logger.h" + +// Include the timer +#include "base/clockWC.h" + +// Include routines for reading and writing XML files +#include "base/xml.h" + +// Include string utility routines +#include "base/stringUtils.h" + +// Include the array object +#include "base/Array.h" + +#endif + +