Droplet Lagrangian Transient One-dimensional Reacting Code Implementation of both liquid and gas phase governing equations.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
219B

  1. #include<stdio.h>
  2. int main(){
  3. size_t N=10;
  4. double a[N];
  5. FILE *fp;
  6. fp=fopen("restart.bin","r");
  7. fread(a,sizeof(a),1,fp);
  8. fclose(fp);
  9. for (int i = 0; i < N; i++) {
  10. printf("%15.6e\n", a[i]);
  11. }
  12. return(0);
  13. }