forked from zuowangda/Fast-Fluid-Dynamics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
advection.h
36 lines (28 loc) · 1.42 KB
/
advection.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
25
26
27
28
29
30
31
32
33
34
35
36
///////////////////////////////////////////////////////////////////////////////
//
// Filename: advection.h
//
// Task: Head file of advection.c
//
// Modification history:
// 7/20/2013 by Wangda Zuo: re-constructed the code for release
//
///////////////////////////////////////////////////////////////////////////////
void advect(PARA_DATA *para, REAL **var, int var_type, REAL *d, REAL *d0,
int **BINDEX);
void semi_Lagrangian(PARA_DATA *para, REAL **var, int var_type,
REAL *d, REAL *d0);
int trace_vx(PARA_DATA *para, REAL **var, int var_type, REAL *d, REAL *d0,
int **BINDEX);
int trace_vy(PARA_DATA *para, REAL **var, int var_type, REAL *d, REAL *d0,
int **BINDEX);
int trace_vz(PARA_DATA *para, REAL **var, int var_type, REAL *d, REAL *d0,
int **BINDEX);
int trace_scalar(PARA_DATA *para, REAL **var, int var_type, REAL *d, REAL *d0,
int **BINDEX);
void set_x_location(PARA_DATA *para, REAL **var, REAL *flag, REAL *x, REAL u0,
int i, int j, int k, REAL *OL, int *OC, int *LOC , int *COOD);
void set_y_location(PARA_DATA *para, REAL **var, REAL *flag, REAL *y, REAL v0,
int i, int j, int k, REAL *OL, int *OC, int *LOC , int *COOD);
void set_z_location(PARA_DATA *para, REAL **var, REAL *flag, REAL *z, REAL w0,
int i, int j, int k, REAL *OL, int *OC, int *LOC , int *COOD);