Made checkRxnElementBalance global scoped, so that it could be used
in cads package.
This commit is contained in:
parent
d5d4bacdd7
commit
aaab5eb02c
2 changed files with 8 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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".
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue