HydroCODE_2D 0.1
This is a implementation of fully explict forward Euler scheme for 2-D Euler equations of motion on Eulerian coordinate
slope_limiter_2D_x.c 文件参考

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"
slope_limiter_2D_x.c 的引用(Include)关系图:

浏览源代码.

函数

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 中定义.

函数说明

◆ minmod_limiter_2D_x()

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_hWhether there are moving grid point coordinates.
  • true: There are moving x-spatial grid point coordinates *X.
  • false: There is fixed x-spatial grid length.
[in]mNumber of the x-grids.
[in]iOn the i-th line grid.
[in]find_bound_xWhether the boundary conditions in x-direction have been found.
  • true: interfacial variables at t_{n+1} are available, and then trivariate minmod3() function is used.
  • false: bivariate minmod2() function is used.
[in,out]sx-spatial derivatives of the fluid variable are stored here.
[in]UArray to store fluid variable values.
[in]ULFluid variable value at left boundary.
[in]URFluid variable value at right boundary.
[in]HLx-spatial grid length at left boundary OR fixed spatial grid length.
[in]...Variable parameter if NO_h is true.
  • double HR: x-spatial grid length at right boundary.
  • double *X: Array of moving spatial grid point x-coordinates.

在文件 slope_limiter_2D_x.c32 行定义.

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