Added using namespace commands to get this to compile again.
This commit is contained in:
parent
2c6377a6af
commit
6c403a841e
7 changed files with 16 additions and 0 deletions
|
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
#include <cantera/IdealGasMix.h>
|
#include <cantera/IdealGasMix.h>
|
||||||
|
|
||||||
|
using namespace Cantera;
|
||||||
|
using namespace Cantera_CXX;
|
||||||
//-------------------------------------------------------------------
|
//-------------------------------------------------------------------
|
||||||
|
|
||||||
// utility functions for plotting
|
// utility functions for plotting
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "example_utils.h"
|
#include "example_utils.h"
|
||||||
using namespace Cantera;
|
using namespace Cantera;
|
||||||
|
using namespace Cantera_CXX;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
// Kinetics example. This is written as a function so that one
|
// Kinetics example. This is written as a function so that one
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,8 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "example_utils.h"
|
#include "example_utils.h"
|
||||||
|
|
||||||
|
using namespace Cantera;
|
||||||
|
using namespace Cantera_CXX;
|
||||||
/**
|
/**
|
||||||
* Same as kinetics_example1, except that it uses class GRI30 instead
|
* Same as kinetics_example1, except that it uses class GRI30 instead
|
||||||
* of class IdealGasMix.
|
* of class IdealGasMix.
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,9 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "example_utils.h"
|
#include "example_utils.h"
|
||||||
|
|
||||||
|
using namespace Cantera;
|
||||||
|
using namespace Cantera_CXX;
|
||||||
|
|
||||||
// Kinetics example. This is written as a function so that one
|
// Kinetics example. This is written as a function so that one
|
||||||
// driver program can run multiple examples.
|
// driver program can run multiple examples.
|
||||||
// The action taken depends on input parameter job:
|
// The action taken depends on input parameter job:
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
// #include <iostream>
|
// #include <iostream>
|
||||||
// using namespace std;
|
// using namespace std;
|
||||||
|
using namespace Cantera;
|
||||||
|
using namespace Cantera_CXX;
|
||||||
|
|
||||||
void writeRxnPathDiagram(double time, ReactionPathBuilder& b,
|
void writeRxnPathDiagram(double time, ReactionPathBuilder& b,
|
||||||
IdealGasMix& gas, ostream& logfile, ostream& outfile) {
|
IdealGasMix& gas, ostream& logfile, ostream& outfile) {
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,9 @@
|
||||||
#include "example_utils.h"
|
#include "example_utils.h"
|
||||||
#include <cantera/IdealGasMix.h>
|
#include <cantera/IdealGasMix.h>
|
||||||
|
|
||||||
|
using namespace Cantera;
|
||||||
|
using namespace Cantera_CXX;
|
||||||
|
|
||||||
template<class G, class V>
|
template<class G, class V>
|
||||||
void makeTransportDataLabels(const G& gas, V& names) {
|
void makeTransportDataLabels(const G& gas, V& names) {
|
||||||
int nsp = gas.nSpecies();
|
int nsp = gas.nSpecies();
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,9 @@
|
||||||
#include <cantera/equilibrium.h>
|
#include <cantera/equilibrium.h>
|
||||||
#include <cantera/IdealGasMix.h>
|
#include <cantera/IdealGasMix.h>
|
||||||
|
|
||||||
|
using namespace Cantera;
|
||||||
|
using namespace Cantera_CXX;
|
||||||
|
|
||||||
template<class G, class V>
|
template<class G, class V>
|
||||||
void makeTransportDataLabels(const G& gas, V& names) {
|
void makeTransportDataLabels(const G& gas, V& names) {
|
||||||
int nsp = gas.nSpecies();
|
int nsp = gas.nSpecies();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue