HydroCODE_2D 0.1
This is a implementation of fully explict forward Euler scheme for 2-D Euler equations of motion on Eulerian coordinate
flux_solver.c 文件参考

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"
flux_solver.c 的引用(Include)关系图:

浏览源代码.

函数

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 中定义.

函数说明

◆ GRP_2D_flux()

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.

参数
[in,out]ifvStructure pointer of interfacial evaluated variables and fluxes and left state.
[in]ifv_RStructure pointer of interfacial right state.
[in]tauThe length of the time step.
返回
miscalculation indicator.
返回值
0Successful calculation.
1<0.0 error.
2NAN or INFinite error of mid[].
3NAN or INFinite error of dire[].

在文件 flux_solver.c24 行定义.

函数调用图:
这是这个函数的调用关系图: