2 % Wrapper for calling the ODE function routine
3 % in a format required by Matlab's ODE integrators
5 function P = KPP_ROOT_Fun_Chem(T, Y)
12 KPP_ROOT_Update_RCONST;
14 % This line calls the Matlab ODE function routine
15 P = KPP_ROOT_Fun( Y, FIX, RCONST );
17 % To call the mex routine instead, comment the line above and uncomment the following line:
18 % P = KPP_ROOT_mex_Fun( Y, FIX, RCONST );