CCL Home Page
Up Directory CCL wr_results
/*
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.
*/

#include "rxn.h"
void wr_results(n,t,y) int n; double t, *y;
{
int i;
/* 
fprintf(Ywrite,"%12.3e ",t); 
for (i = 1; i<=n;i++) fprintf(Ywrite,"%14.6e ",y[i]);
fprintf(Ywrite,"\n");
*/
y[0] = t;
fwrite(y,sizeof(double),NS+1,Ywrite);
}
Modified: Fri May 31 16:00:00 1991 GMT
Page accessed 4037 times since Sat Apr 17 22:30:11 1999 GMT