Made checkRxnElementBalance global scoped, so that it could be used

in cads package.
This commit is contained in:
Harry Moffat 2004-04-23 19:55:34 +00:00
parent d5d4bacdd7
commit aaab5eb02c
2 changed files with 8 additions and 2 deletions

View file

@ -422,8 +422,8 @@ namespace Cantera {
* This function will check a specific reaction to see if it the
* elements balance.
*/
static void checkRxnElementBalance(Kinetics& kin,
const ReactionData &rdata) {
void checkRxnElementBalance(Kinetics& kin,
const ReactionData &rdata) {
int index, klocal, n, kp, kr, m, nel;
double kstoich;
map<string, double> bal, balr, balp;

View file

@ -93,6 +93,12 @@ namespace Cantera {
bool installReactionArrays(const XML_Node& parent, Kinetics& kin,
string default_phase, bool check_for_duplicates = false);
/***
* This function will check a specific reaction to see if it the
* elements balance.
*/
void checkRxnElementBalance(Kinetics& kin,
const ReactionData &rdata);
/**
* Extract the rate coefficient for a reaction from the xml node, kf.
* kf should point to a XML element named "rateCoeff".