67 FILE * file = fopen(filename,
"r");
69 printf(
"Failure to open ufl datafile: %s\n ", filename);
73 while (fgets(s, 500, file)) {
74 const int len = strlen(s) - 1;
80 if (ss.find(
"fdata") == 0) {
82 int j1 = ss.length() - j + 1;
83 fdata = ss.substr(j+1, j1);
85 }
else if (ss.find(
"dualfile") == 0) {
87 int j1 = ss.length() - j + 1;
90 }
else if (ss.find(
"dual_savefile") == 0) {
92 int j1 = ss.length() - j + 1;
95 }
else if (ss.find(
"int_savefile") == 0) {
97 int j1 = ss.length() - j + 1;
100 }
else if (ss.find(
"h_iter") == 0) {
101 int i = ss.find(
"=");