HydroCODE_2D 0.1
This is a implementation of fully explict forward Euler scheme for 2-D Euler equations of motion on Eulerian coordinate
inter_process.h
浏览该文件的文档.
1
7#ifndef INTERPROCESS_H
8#define INTERPROCESS_H
9
10#include "../include/var_struc.h"
11
12// minmod slope limiter
13void minmod_limiter(const _Bool NO_h, const int m, const _Bool find_bound, double s[],
14 const double U[], const double UL, const double UR, const double HL, ...);
15void minmod_limiter_2D_x(const _Bool NO_h, const int m, const int i, const _Bool find_bound_x, double ** s,
16 double ** U, const double UL, const double UR, const double HL, ...);
17
18// Set boundary conditions & Use the slope limiter
19_Bool bound_cond_slope_limiter(const _Bool NO_h, const int m, const int nt, struct cell_var_stru CV,
20 struct b_f_var * bfv_L, struct b_f_var * bfv_R, _Bool find_bound, const _Bool Slope, const double t_c, ...);
21_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,
22 struct b_f_var * bfv_D, struct b_f_var * bfv_U, _Bool find_bound_x, const _Bool Slope, const double t_c);
23_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,
24 struct b_f_var * bfv_D, struct b_f_var * bfv_U, _Bool find_bound_y, const _Bool Slope, const double t_c);
25
26#endif
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.
_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.
_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(const _Bool NO_h, const int m, const int nt, struct cell_var_stru CV, struct b_f_var *bfv_L, struct b_f_var *bfv_R, _Bool find_bound, const _Bool Slope, const double t_c,...)
This function apply the minmod limiter to the slope in one dimension.
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.
Definition: slope_limiter.c:31
Fluid VARiables at Boundary.
Definition: var_struc.h:63
pointer structure of VARiables on STRUctural computational grid CELLs.
Definition: var_struc.h:35