The find_xml interface has been deprecated. Therefore, there were

changes needed in these files.
This commit is contained in:
Harry Moffat 2003-08-21 22:26:27 +00:00
parent 34ff876182
commit d10e8e5d29
5 changed files with 5 additions and 5 deletions

View file

@ -65,7 +65,7 @@ int equil_example1(int job) {
// create a gas mixture, and set its state
IdealGasMix gas("silane.xml");
IdealGasMix gas("silane.xml", "silane");
int nsp = gas.nSpecies();
int ntemps = 50; // number of temperatures

View file

@ -44,7 +44,7 @@ int kinetics_example1(int job) {
// create an ideal gas mixture that corresponds to GRI-Mech
// 3.0
IdealGasMix* gg = new IdealGasMix("gri30.xml");
IdealGasMix* gg = new IdealGasMix("gri30.xml", "gri30");
IdealGasMix& gas = *gg;
// set the state

View file

@ -94,7 +94,7 @@ int rxnpath_example1(int job) {
// create an ideal gas mixture that corresponds to GRI-Mech
// 3.0
IdealGasMix gas("gri30.xml");
IdealGasMix gas("gri30.xml", "gri30");
gas.setState_TPX(1001.0, OneAtm, "H2:2.0, O2:1.0, N2:4.0");
int nsp = gas.nSpecies();
cout << "number of species = " << nsp << endl;

View file

@ -55,7 +55,7 @@ int transport_example1(int job) {
// create a gas mixture, and set its state
IdealGasMix gas("gri30.xml");
IdealGasMix gas("gri30.xml", "gri30");
doublereal temp = 500.0;
doublereal pres = 2.0*OneAtm;
gas.setState_TPX(temp, pres, "H2:1.0, CH4:0.1");

View file

@ -56,7 +56,7 @@ int transport_example2(int job) {
// create a gas mixture, and set its state
IdealGasMix gas("gri30.xml");
IdealGasMix gas("gri30.xml", "gri30");
doublereal temp = 2000.0;
doublereal pres = 2.0*OneAtm;
gas.setState_TPX(temp, pres, "H2:1.0, O2:0.5, CH4:0.1, N2:0.2");