jcaiuwyo / cantera

Automatically exported from code.google.com/p/cantera
0 stars 0 forks source link

Matlab Kinetics class is missing methods #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The Matlab toolbox has no interface for the Kinetics methods 
"getFwdRateConstants" and "getRevRateConstants".

Original issue reported on code.google.com by yarmond on 6 Nov 2012 at 3:27

GoogleCodeExporter commented 9 years ago
Attached please find a patch to add two functions to the Matlab interface to 
return the forward and reverse rate constants. In the file kineticsmethods.cpp, 
two jobs have been added to support these functions. Method 
kin_getRevRateConstants requires 4 inputs, but for input doIrrerversible, I was 
unsure what to specify. These functions give identical output as the Python 
interface for the included h2o2.xml mechanism. 

Bryan

Original comment by bryan.w....@gmail.com on 5 Jan 2014 at 6:06

Attachments:

GoogleCodeExporter commented 9 years ago
The above patch is based on r2644.

Original comment by bryan.w....@gmail.com on 5 Jan 2014 at 6:12

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2658.

Original comment by yarmond on 6 Jan 2014 at 6:46

GoogleCodeExporter commented 9 years ago
Hi,
  I use a windows based Cantera toolbox in Matlab. In the toolbox i cannot find the kineticsmethods.cpp file. Is it there in the windows installation. I can only find the MEX file ctmethods (not the cpp file). Please let me know how I can modify kineticsmethods. Thanks.

sayak banerjee 

Original comment by sayakban...@gmail.com on 22 Mar 2014 at 5:55