There are some functions to check whether fluid variables are within the value range. 更多...
函数 | |
| int | ifvar_check (struct i_f_var *ifv_L, struct i_f_var *ifv_R, const int dim) |
| This function checks whether interfacial fluid variables are within the value range. 更多... | |
| int | star_dire_check (double *mid, double *dire, const int dim) |
| This function checks whether fluid variables of mid[] and dire[] are within the value range. 更多... | |
There are some functions to check whether fluid variables are within the value range.
在文件 fluid_var_check.c 中定义.
This function checks whether interfacial fluid variables are within the value range.
| [in] | ifv_L | Structure pointer of interfacial left state. |
| [in] | ifv_R | Structure pointer of interfacial right state. |
| [in] | dim | Spatial dimension. |
| 0 | Successful calculation. |
| 1 | < 0.0 error. |
| 2 | NAN or INFinite error of Slope. |
在文件 fluid_var_check.c 第 21 行定义.
| int star_dire_check | ( | double * | mid, |
| double * | dire, | ||
| const int | dim | ||
| ) |
This function checks whether fluid variables of mid[] and dire[] are within the value range.
| [in] | mid | Intermediate Riemann solutions at t-axis OR in star region. |
| [in] | dire | Temporal derivative of fluid variables. |
| [in] | dim | Spatial dimension. |
| 0 | Successful calculation. |
| 1 | < 0.0 error of mid[]. |
| 2 | NAN or INFinite error of mid[]. |
| 3 | NAN or INFinite error of dire[]. |
在文件 fluid_var_check.c 第 65 行定义.