From 228ebc78b14dbca422338550807bf8277811ff75 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Mon, 3 Jul 2006 19:41:57 +0000 Subject: [PATCH] Added a couple of comments. --- Cantera/src/importCTML.cpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Cantera/src/importCTML.cpp b/Cantera/src/importCTML.cpp index fbb823efc..6940071b4 100755 --- a/Cantera/src/importCTML.cpp +++ b/Cantera/src/importCTML.cpp @@ -1167,15 +1167,20 @@ next: rdata.number = i; rdata.rxn_number = i; - + /* + * Read the rate coefficient data from the XML file. Trigger an + * exception for negative A unless specifically authorized. + */ getRateCoefficient(r.child("rateCoeff"), kin, rdata, negA); + /* * Check to see that the elements balance in the reaction. * Throw an error if they don't - */ - - if (validate_rxn) - checkRxnElementBalance(kin, rdata); + */ + if (validate_rxn) { + checkRxnElementBalance(kin, rdata); + } + /* * Ok we have read everything in about the reaction. Add it * to the kinetics object by calling the Kinetics member function,