CCL Home Page
Up Directory CCL rates
/*
The permission is granted to use the software as is and redistribute it in
its original and complete form. If you find this program useful and publish
results obtained by it, please cite the program as:
Michael Whitbeck, Desert Research Institute, 1991, "REACT - Program to solve
kinetic equations for chemical systems". Version 1.00, this code is
available from the authors or from Dr. Whitbeck.
*/

/*
 rates
*/

#include 
#include "rxn.h"

void rates(y) double *y;
{
int i,j,m;
float x;
for (i=1; i<= NR; i++) {
  x = R[i].k;
  j = 1;
  while ((m = R[i].s[j++])) x *= y[m];
  R[i].rate = x;
  }
}

Modified: Tue May 14 16:00:00 1991 GMT
Page accessed 4909 times since Sat Apr 17 21:58:35 1999 GMT