#include <stdio.h>
#include <math.h>
#include <stdlib.h>
Go to the source code of this file.
Definition at line 5 of file extract.c.
9 double z[14], L[14],
T;
13 f = fopen(
"cooltab_z03z3.dat",
"r");
15 printf (
"! File cooltab does not exists\n");
25 fscanf(f,
"%s %lf %lf %lf \n", label, z, z+1, z+2);
27 fout = fopen(
"cooltable.dat",
"w");
35 fscanf (f,
"%lf %lf %lf %lf", &T, L, L+1, L+2);
36 fprintf (fout,
"%12.6e %12.6e\n",T, L[1]*z[1]);