forked from zuowangda/Fast-Fluid-Dynamics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
boundary.h
24 lines (17 loc) · 841 Bytes
/
boundary.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
///////////////////////////////////////////////////////////////////////////////
//
// Filename: bounary.h
//
// Task: Head file of boundary.c
//
// Modification history:
// 7/10/2013 by Wangda Zuo: re-construct the code for release
//
///////////////////////////////////////////////////////////////////////////////
void set_bnd(PARA_DATA *str_geom, REAL **var, int var_type, REAL *x, int **BINDEX);
void set_bnd_temp(PARA_DATA *para, REAL **var, int var_type, REAL *psi,int **BINDEX);
void set_bnd_pressure(PARA_DATA *para, REAL **var, REAL *p,int **BINDEX);
void set_bnd_density(PARA_DATA *para, REAL **var, REAL *p);
void set_bnd_vel(PARA_DATA *para, REAL **var, int var_type, REAL *vx, int **BINDEX);
void mass_conservation(PARA_DATA *para, REAL **var,int **BINDEX);
REAL adjust_velocity(PARA_DATA *para, REAL **var, int **BINDEX);