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

There are some functions to check whether fluid variables are within the value range. 更多...

#include <stdio.h>
#include <math.h>
#include "../include/var_struc.h"
fluid_var_check.c 的引用(Include)关系图:

浏览源代码.

函数

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

函数说明

◆ ifvar_check()

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.

参数
[in]ifv_LStructure pointer of interfacial left state.
[in]ifv_RStructure pointer of interfacial right state.
[in]dimSpatial dimension.
返回
miscalculation indicator.
返回值
0Successful calculation.
1< 0.0 error.
2NAN or INFinite error of Slope.

在文件 fluid_var_check.c21 行定义.

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

◆ star_dire_check()

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]midIntermediate Riemann solutions at t-axis OR in star region.
[in]direTemporal derivative of fluid variables.
[in]dimSpatial dimension.
返回
miscalculation indicator.
返回值
0Successful calculation.
1< 0.0 error of mid[].
2NAN or INFinite error of mid[].
3NAN or INFinite error of dire[].

在文件 fluid_var_check.c65 行定义.

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