}
fprintf(stdout, "\n");
- ffclose(fp);
+ gmx_ffclose(fp);
}
static void regression_analysis(int n, gmx_bool bXYdy,
fprintf(fp, "&\n");
}
}
- ffclose(fp);
+ gmx_ffclose(fp);
}
static int real_comp(const void *a, const void *b)
double av, var, err;
real *tmp = NULL;
- fp = ffopen(avfile, "w");
+ fp = gmx_ffopen(avfile, "w");
if ((avbar_opt == avbarERROR) && (nset == 1))
{
avbar_opt = avbarNONE;
}
fprintf(fp, "\n");
}
- ffclose(fp);
+ gmx_ffclose(fp);
if (avbar_opt == avbar90)
{
sfree(fitsig);
sfree(ybs);
sfree(tbs);
- ffclose(fp);
+ gmx_ffclose(fp);
}
static void luzar_correl(int nn, real *time, int nset, real **val, real temp,
if (fitfile != NULL)
{
- out_fit = ffopen(fitfile, "w");
+ out_fit = gmx_ffopen(fitfile, "w");
if (bXYdy && nset >= 2)
{
do_fit(out_fit, 0, TRUE, n, t, val, npargs, ppa, oenv);
do_fit(out_fit, s, FALSE, n, t, val, npargs, ppa, oenv);
}
}
- ffclose(out_fit);
+ gmx_ffclose(out_fit);
}
printf(" std. dev. relative deviation of\n");
fprintf(out, "&\n");
}
}
- ffclose(out);
+ gmx_ffclose(out);
fprintf(stderr, "\r%d, time=%g\n", j-1, (j-1)*dt);
}
if (ccfile)