hydrocode_Radial_Lag 0.3
This is an implementation of fully explict forward Euler scheme for multi-D radially symmetric compressible flows on Lagrangian coordinate
inter_process.h 文件参考

This file is the header file of intermediate processes of finite volume scheme. 更多...

inter_process.h 的引用(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. 更多...
 
void minmod_limiter (const _Bool NO_h, const int m, const _Bool i_f_var_get, double s[], const double U[], const double UL, const double UR, const double HL,...)
 
void minmod_limiter_2D_x (const _Bool NO_h, const int m, const int i, const _Bool i_f_var_x_get, double **s, double **U, const double UL, const double UR, const double HL,...)
 
void minmod_limiter_radial (const int Ncell, const _Bool i_f_var_get, double s[], const double U[], struct radial_mesh_var *rmv)
 This function apply the minmod limiter to the slope in radially symmetric case. 更多...
 
void VIP_limiter_radial (const int Ncell, const _Bool i_f_var_get, double DmU[], double TmV[], const double UU[], struct radial_mesh_var *rmv)
 This function apply the VIP/minmod limiter to the slope of the fluid velocity in radially symmetric case. 更多...
 
_Bool bound_cond_slope_limiter (const _Bool NO_h, const int m, const int nt, struct cell_var_stru *CV, struct b_f_var *bfv_L, struct b_f_var *bfv_R, _Bool find_bound, const _Bool Slope, const double t_c,...)
 
_Bool bound_cond_slope_limiter_x (const int m, const int n, const int nt, struct cell_var_stru *CV, struct b_f_var *bfv_L, struct b_f_var *bfv_R, struct b_f_var *bfv_D, struct b_f_var *bfv_U, _Bool find_bound_x, const _Bool Slope, const double t_c)
 
_Bool bound_cond_slope_limiter_y (const int m, const int n, const int nt, struct cell_var_stru *CV, struct b_f_var *bfv_L, struct b_f_var *bfv_R, struct b_f_var *bfv_D, struct b_f_var *bfv_U, _Bool find_bound_y, const _Bool Slope, const double t_c)
 

详细描述

This file is the header file of intermediate processes of finite volume scheme.

This header file declares functions in the folder 'inter_process'.

在文件 inter_process.h 中定义.

函数说明

◆ bound_cond_slope_limiter()

_Bool bound_cond_slope_limiter ( const _Bool  NO_h,
const int  m,
const int  nt,
struct cell_var_stru CV,
struct b_f_var bfv_L,
struct b_f_var bfv_R,
_Bool  find_bound,
const _Bool  Slope,
const double  t_c,
  ... 
)

◆ bound_cond_slope_limiter_x()

_Bool bound_cond_slope_limiter_x ( const int  m,
const int  n,
const int  nt,
struct cell_var_stru CV,
struct b_f_var bfv_L,
struct b_f_var bfv_R,
struct b_f_var bfv_D,
struct b_f_var bfv_U,
_Bool  find_bound_x,
const _Bool  Slope,
const double  t_c 
)

◆ bound_cond_slope_limiter_y()

_Bool bound_cond_slope_limiter_y ( const int  m,
const int  n,
const int  nt,
struct cell_var_stru CV,
struct b_f_var bfv_L,
struct b_f_var bfv_R,
struct b_f_var bfv_D,
struct b_f_var bfv_U,
_Bool  find_bound_y,
const _Bool  Slope,
const double  t_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 行定义.

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

◆ minmod_limiter()

void minmod_limiter ( const _Bool  NO_h,
const int  m,
const _Bool  i_f_var_get,
double  s[],
const double  U[],
const double  UL,
const double  UR,
const double  HL,
  ... 
)

◆ minmod_limiter_2D_x()

void minmod_limiter_2D_x ( const _Bool  NO_h,
const int  m,
const int  i,
const _Bool  i_f_var_x_get,
double **  s,
double **  U,
const double  UL,
const double  UR,
const double  HL,
  ... 
)

◆ minmod_limiter_radial()

void minmod_limiter_radial ( const int  Ncell,
const _Bool  i_f_var_get,
double  s[],
const double  U[],
struct radial_mesh_var *  rmv 
)

This function apply the minmod limiter to the slope in radially symmetric case.

参数
[in]NcellNumber of the r-grids.
[in]i_f_var_getWhether the cell interfacial variables have been obtained.
  • true: interfacial variables at t_{n+1} are available, and then trivariate minmod3() function is used.
  • false: bivariate minmod2() function is used.
[in,out]s[]Spatial derivatives of the fluid variable are stored here.
[in]U[]Array to store fluid variable values.
[in]rmvStructure of radially symmetric meshing variable data.

在文件 slope_limiter_radial.c23 行定义.

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

◆ 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 行定义.

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

◆ VIP_limiter_radial()

void VIP_limiter_radial ( const int  Ncell,
const _Bool  i_f_var_get,
double  DmU[],
double  TmV[],
const double  UU[],
struct radial_mesh_var *  rmv 
)

This function apply the VIP/minmod limiter to the slope of the fluid velocity in radially symmetric case.

参数
[in]NcellNumber of the r-grids.
[in]i_f_var_getWhether the cell interfacial variables have been obtained.
  • true: interfacial variables at t_{n+1} are available, and then trivariate minmod3()/useVIPLimiter() functions are used.
  • false: bivariate minmod2()/useVIPLimiter() functions are used.
[in,out]DmU[]Radially spatial derivatives of the fluid velocity are stored here.
[in,out]TmV[]Transversely spatial derivatives of the fluid velocity are stored here.
[in]UU[]Array to store fluid velocity values.
[in]rmvStructure of radially symmetric meshing variable data.

在文件 slope_VIP_limiter_radial.c26 行定义.

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