[samples] Introduce cantera/core.h header

This commit is contained in:
Ingmar Schoegl
2022-04-05 10:43:31 -05:00
committed by Bryan Weber
parent 7de930701a
commit b228a517e7
3 changed files with 24 additions and 0 deletions

18
include/cantera/core.h Normal file
View File

@@ -0,0 +1,18 @@
/**
* @file core.h
*
* Support for Cantera core calculations from C++ application programs. This
* header file includes a minimal set of headers needed to create and use objects
* that evaluate thermo properties, chemical kinetics and transport properties.
*/
#ifndef CT_INCL_CORE_H
#define CT_INCL_CORE_H
// #include "cantera/base/global.h"
#include "cantera/base/Solution.h"
#include "cantera/thermo/ThermoPhase.h"
#include "cantera/kinetics/Kinetics.h"
#include "cantera/transport/TransportBase.h"
#endif

View File

@@ -11,6 +11,9 @@
#ifndef CT_INCL_ONEDIM_H
#define CT_INCL_ONEDIM_H
// Cantera core
#include "cantera/core.h"
#include "oneD/Sim1D.h"
#include "oneD/Domain1D.h"
#include "oneD/Boundary1D.h"

View File

@@ -6,6 +6,9 @@
#ifndef CT_INCL_ZERODIM_H
#define CT_INCL_ZERODIM_H
// Cantera core
#include "cantera/core.h"
// reactor network
#include "cantera/zeroD/ReactorNet.h"