Droplet Lagrangian Transient One-dimensional Reacting Code Implementation of both liquid and gas phase governing equations.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718
  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. }