This is a function of the minmod slope limiter in the x-direction of two dimension. 更多...
#include <stdio.h>
#include <stdarg.h>
#include "../include/var_struc.h"
#include "../include/tools.h"
函数 | |
void | minmod_limiter_2D_x (const _Bool NO_h, const int m, const int i, const _Bool find_bound_x, double **s, double **U, const double UL, const double UR, const double HL,...) |
This function apply the minmod limiter to the slope in the x-direction of two dimension. 更多... | |
This is a function of the minmod slope limiter in the x-direction of two dimension.
在文件 slope_limiter_2D_x.c 中定义.
void minmod_limiter_2D_x | ( | const _Bool | NO_h, |
const int | m, | ||
const int | i, | ||
const _Bool | find_bound_x, | ||
double ** | s, | ||
double ** | U, | ||
const double | UL, | ||
const double | UR, | ||
const double | HL, | ||
... | |||
) |
This function apply the minmod limiter to the slope in the x-direction of two dimension.
[in] | NO_h | Whether there are moving grid point coordinates.
|
[in] | m | Number of the x-grids. |
[in] | i | On the i-th line grid. |
[in] | find_bound_x | Whether the boundary conditions in x-direction have been found. |
[in,out] | s | x-spatial derivatives of the fluid variable are stored here. |
[in] | U | Array to store fluid variable values. |
[in] | UL | Fluid variable value at left boundary. |
[in] | UR | Fluid variable value at right boundary. |
[in] | HL | x-spatial grid length at left boundary OR fixed spatial grid length. |
[in] | ... | Variable parameter if NO_h is true.
|
在文件 slope_limiter_2D_x.c 第 32 行定义.