This file is the header file of intermediate processes of finite volume scheme. 更多...
#include "../include/var_struc.h"
函数 | |
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 中定义.
_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 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 行定义.
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.
[in] | Ncell | Number of the r-grids. |
[in] | i_f_var_get | Whether the cell interfacial variables have been obtained. |
[in,out] | s[] | Spatial derivatives of the fluid variable are stored here. |
[in] | U[] | Array to store fluid variable values. |
[in] | rmv | Structure of radially symmetric meshing variable data. |
在文件 slope_limiter_radial.c 第 23 行定义.
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 行定义.
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] | Ncell | Number of the r-grids. |
[in] | i_f_var_get | Whether the cell interfacial variables have been obtained. |
[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] | rmv | Structure of radially symmetric meshing variable data. |
在文件 slope_VIP_limiter_radial.c 第 26 行定义.