#include <stdio.h>#include <stdbool.h>#include "../include/var_struc.h"#include "../include/inter_process.h"函数 | |
| _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 apply the minmod limiter to the slope in the y-direction of two dimension. 更多... | |
| _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 apply the minmod limiter to the slope in the y-direction of two dimension.
| [in] | m | Number of the x-grids: n_x. |
| [in] | n | Number of the y-grids: n_y. |
| [in] | nt | Current plot time step for computing updates of conservative variables. |
| [in] | CV | Structure of cell variable data. |
| [in,out] | bfv_L | Fluid variables at left boundary. |
| [in,out] | bfv_R | Fluid variables at right boundary. |
| [in,out] | bfv_D | Fluid variables at downside boundary. |
| [in,out] | bfv_U | Fluid variables at upper boundary. |
| [in] | find_bound_y | Whether the boundary conditions in y-direction have been found. |
| [in] | Slope | Are there slopes? (true: 2nd-order / false: 1st-order) |
| [in] | t_c | Time of current time step. |
在文件 bound_cond_slope_limiter_y.c 第 27 行定义.