Esempio n. 1
0
 status_t DLL_EXPORT kin_getequilibriumconstants_(const integer* n, doublereal* kc) {
     try {
         Kinetics* k = _fkin(n);
         k->getEquilibriumConstants(kc);
         return 0;
     }
     catch (CanteraError) {handleError(); return -1;}
 }
Esempio n. 2
0
 status_t kin_getequilibriumconstants_(const integer* n, doublereal* kc)
 {
     try {
         Kinetics* k = _fkin(n);
         k->getEquilibriumConstants(kc);
     } catch (...) {
         return handleAllExceptions(-1, ERR);
     }
     return 0;
 }