CCL Home Page
Up Directory CCL setfiles
/*
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 setfiles(root) char *root;
{
if (strlen(root) < 1) bail("No parameter file!");
parameters = (char *)malloc(strlen(root)+5);
strcpy (parameters, root); strcat (parameters,".p");
mechanism = (char *)malloc(strlen(root)+5);
strcpy (mechanism, root); strcat (mechanism,".m");
results = (char *)malloc(strlen(root)+5);
strcpy (results, root); strcat (results,".r");
Species = (char *)malloc(strlen(root)+5);
strcpy (Species, root); strcat (Species,".s");
select = (char *)malloc(strlen(root)+5);
strcpy (select, root); strcat (select,".e");
}
Modified: Tue May 14 16:00:00 1991 GMT
Page accessed 4896 times since Sat Apr 17 21:58:37 1999 GMT