This file is a set of functions to calculate interfacial fluxes and demanded variables according to the left and right state of the cell interface by certain solver. 更多...
#include <stdio.h>
#include <math.h>
#include "../include/Riemann_solver.h"
#include "../include/var_struc.h"
函数 | |
int | GRP_2D_flux (struct i_f_var *ifv, struct i_f_var *ifv_R, const double tau) |
This function calculate Eulerian fluxes of 2-D Euler equations by 2-D GRP solver. 更多... | |
This file is a set of functions to calculate interfacial fluxes and demanded variables according to the left and right state of the cell interface by certain solver.
在文件 flux_solver.c 中定义.
This function calculate Eulerian fluxes of 2-D Euler equations by 2-D GRP solver.
[in,out] | ifv | Structure pointer of interfacial evaluated variables and fluxes and left state. |
[in] | ifv_R | Structure pointer of interfacial right state. |
[in] | tau | The length of the time step. |
0 | Successful calculation. |
1 | <0.0 error. |
2 | NAN or INFinite error of mid[]. |
3 | NAN or INFinite error of dire[]. |
在文件 flux_solver.c 第 24 行定义.