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

This is a function to set boundary conditions and use the slope limiter in x-direction of two dimension. 更多...

#include <stdio.h>
#include <stdbool.h>
#include "../include/var_struc.h"
#include "../include/inter_process.h"
bound_cond_slope_limiter_x.c 的引用(Include)关系图:

浏览源代码.

函数

_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)
 This function apply the minmod limiter to the slope in the x-direction of two dimension. 更多...
 

详细描述

This is a function to set boundary conditions and use the slope limiter in x-direction of two dimension.

This is a function to set boundary conditions and use the slope limiter in y-direction of two dimension.

在文件 bound_cond_slope_limiter_x.c 中定义.

函数说明

◆ bound_cond_slope_limiter_x()

_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 
)

This function apply the minmod limiter to the slope in the x-direction of two dimension.

参数
[in]mNumber of the x-grids: n_x.
[in]nNumber of the y-grids: n_y.
[in]ntCurrent plot time step for computing updates of conservative variables.
[in]CVStructure of cell variable data.
[in,out]bfv_LFluid variables at left boundary.
[in,out]bfv_RFluid variables at right boundary.
[in,out]bfv_DFluid variables at downside boundary.
[in,out]bfv_UFluid variables at upper boundary.
[in]find_bound_xWhether the boundary conditions in x-direction have been found.
[in]SlopeAre there slopes? (true: 2nd-order / false: 1st-order)
[in]t_cTime of current time step.
返回
find_bound_x: Whether the boundary conditions in x-direction have been found.

在文件 bound_cond_slope_limiter_x.c27 行定义.

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