This is a function of the minmod slope limiter in one dimension. 更多...
#include <stdio.h>#include <stdarg.h>#include "../include/var_struc.h"#include "../include/tools.h"函数 | |
| void | minmod_limiter (const _Bool NO_h, const int m, const _Bool find_bound, double s[], const double U[], const double UL, const double UR, const double HL,...) |
| This function apply the minmod limiter to the slope in one dimension. 更多... | |
This is a function of the minmod slope limiter in one dimension.
在文件 slope_limiter.c 中定义.
| void minmod_limiter | ( | const _Bool | NO_h, |
| const int | m, | ||
| const _Bool | find_bound, | ||
| double | s[], | ||
| const double | U[], | ||
| const double | UL, | ||
| const double | UR, | ||
| const double | HL, | ||
| ... | |||
| ) |
This function apply the minmod limiter to the slope in one dimension.
| [in] | NO_h | Whether there are moving grid point coordinates.
|
| [in] | m | Number of the x-grids: n_x. |
| [in] | find_bound | Whether the boundary conditions have been found. |
| [in,out] | s[] | 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 | Spatial grid length at left boundary OR fixed spatial grid length. |
| [in] | ... | Variable parameter if NO_h is true.
|
在文件 slope_limiter.c 第 31 行定义.