-
- fd=open("pair_corr_func_aa.txt",
- O_WRONLY|O_CREAT|O_TRUNC,S_IRUSR|S_IWUSR);
- dprintf(fd,"# type a - type a bonds\n");
- for(i=0;i<slots;i++)
- dprintf(fd,"%f %f\n",i*dr,stat[slots+i]);
- close(fd);
-
- fd=open("pair_corr_func_bb.txt",
- O_WRONLY|O_CREAT|O_TRUNC,S_IRUSR|S_IWUSR);
- dprintf(fd,"# type a - type b bonds\n");
- for(i=0;i<slots;i++)
- dprintf(fd,"%f %f\n",i*dr,stat[2*slots+i]);
- close(fd);
-