This is a C file of the main function. 更多...
#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include "../include/var_struc.h"#include "../include/file_io.h"#include "../include/finite_volume.h"宏定义 | |
| #define | NODATPLOT |
| Switch whether to plot without Matrix data. 更多... | |
| #define | HDF5PLOT |
| Switch whether to plot with HDF5 data. 更多... | |
| #define | CV_INIT_MEM(v, N) |
| N memory allocations to the initial fluid variable 'v' in the structure cell_var_stru. 更多... | |
函数 | |
| int | main (int argc, char *argv[]) |
| This is the main function which constructs the main structure of the 1-D Lagrangian/Eulerian hydrocode. 更多... | |
变量 | |
| double | config [N_CONF] |
| Initial configuration data array. 更多... | |
This is a C file of the main function.
在文件 hydrocode.c 中定义.
| #define CV_INIT_MEM | ( | v, | |
| N | |||
| ) |
N memory allocations to the initial fluid variable 'v' in the structure cell_var_stru.
在文件 hydrocode.c 第 116 行定义.
| #define HDF5PLOT |
Switch whether to plot with HDF5 data.
在文件 hydrocode.c 第 108 行定义.
| #define NODATPLOT |
Switch whether to plot without Matrix data.
在文件 hydrocode.c 第 103 行定义.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
This is the main function which constructs the main structure of the 1-D Lagrangian/Eulerian hydrocode.
| [in] | argc | ARGument Counter. |
| [in] | argv | ARGument Values.
|
在文件 hydrocode.c 第 150 行定义.
| double config[N_CONF] |
Initial configuration data array.
在文件 hydrocode.c 第 111 行定义.