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