|
ISLEC
Version 4.2
|
Go to the documentation of this file. 36 if ((exp_fp = fopen (exp,
"r")) == NULL)
38 printf (
"Open Experimental Data File Error!!!\n");
50 printf (
"Load Experimental Data File Error!!!\n");
60 rv = fscanf (exp_fp,
"%lf\t%lf", &
expaw[i].T, &
expaw[i].P);
63 printf (
"Load Experimental Data File Error!!!\n");
73 rv = fscanf (exp_fp,
"\t%lf", &
expaw[i].component[j]);
77 printf (
"Load Experimental Data File Error!!!\n");
81 printf (
"%lf\t",
expaw[i].component[j]);
84 rv = fscanf (exp_fp,
"\t%d\t%lf\t%lf\n", &
expaw[i].index, &
expaw[i].value, &
expaw[i].sigma);
87 printf (
"Load Experimental Data File Error!!!\n");
91 printf (
"%d\t%lf\t%lf\n",
expaw[i].index,
expaw[i].value,
expaw[i].sigma);
98 printf (
"Load Experimental Data File Error!!!\n");
108 rv = fscanf (exp_fp,
"%lf\t%lf", &
expph[i].T, &
expph[i].P);
111 printf (
"Load Experimental Data File Error!!!\n");
115 printf (
"%lf\t%lf\t",
expph[i].T,
expph[i].P);
121 rv = fscanf (exp_fp,
"\t%lf", &
expph[i].component[j]);
125 printf (
"Load Experimental Data File Error!!!\n");
129 printf (
"%lf\t",
expph[i].component[j]);
132 rv = fscanf (exp_fp,
"\t%d\t%lf\t%lf\n", &
expph[i].index, &
expph[i].value, &
expph[i].sigma);
135 printf (
"Load Experimental Data File Error!!!\n");
139 printf (
"%d\t%lf\t%lf\n",
expph[i].index,
expph[i].value,
expph[i].sigma);
146 printf (
"Load Experimental Data File Error!!!\n");
157 rv = fscanf (exp_fp,
"%lf\t%lf", &
expsol[i].T, &
expsol[i].P);
160 printf (
"Load Experimental Data File Error!!!\n");
170 rv = fscanf (exp_fp,
"\t%lf", &
expsol[i].component[j]);
174 printf (
"Load Experimental Data File Error!!!\n");
178 printf (
"%lf\t",
expsol[i].component[j]);
181 rv = fscanf (exp_fp,
"\t%d", &
expsol[i].index);
184 printf (
"Load Experimental Data File Error!!!\n");
187 printf (
"%d\t",
expsol[i].index);
192 rv = fscanf (exp_fp,
"\t%lf", &
expsol[i].species[j]);
196 printf (
"Load Experimental Data File Error!!!\n");
200 printf (
"%lf\t",
expsol[i].species[j]);
203 rv = fscanf (exp_fp,
"\t%lf\t%lf\n", &
expsol[i].lnk, &
expsol[i].sigma);
206 printf (
"Load Experimental Data File Error!!!\n");