This is a set of functions which control the readout of one-dimensional data. 更多...
#include <math.h>#include <string.h>#include <stdio.h>#include <stdlib.h>#include <time.h>#include "../include/var_struc.h"#include "../include/file_io.h"宏定义 | |
| #define | PRINT_NC(v, v_print) | 
| Print out fluid variable 'v' with array data element 'v_print'.  更多... | |
函数 | |
| void | file_1D_write (const int m, const int N, const struct cell_var_stru CV, double *X[], const double *cpu_time, const char *problem, const double time_plot[]) | 
| This function write the 1-D solution into output '.dat' files.  更多... | |
This is a set of functions which control the readout of one-dimensional data.
在文件 file_1D_out.c 中定义.
| #define PRINT_NC | ( | v, | |
| v_print | |||
| ) | 
Print out fluid variable 'v' with array data element 'v_print'.
在文件 file_1D_out.c 第 19 行定义.
| void file_1D_write | ( | const int | m, | 
| const int | N, | ||
| const struct cell_var_stru | CV, | ||
| double * | X[], | ||
| const double * | cpu_time, | ||
| const char * | problem, | ||
| const double | time_plot[] | ||
| ) | 
This function write the 1-D solution into output '.dat' files.
| [in] | m | The number of spatial points in the output data. | 
| [in] | N | The number of time steps in the output data. | 
| [in] | CV | Structure of grid variable data in computational grid cells. | 
| [in] | X[] | Array of the coordinate data. | 
| [in] | cpu_time | Array of the CPU time recording. | 
| [in] | problem | Name of the numerical results for the test problem. | 
| [in] | time_plot | Array of the plotting time recording. | 
在文件 file_1D_out.c 第 49 行定义.