HydroCODE 0.1
This is a implementation of fully explict forward Euler scheme for 1-D Euler equations of motion on Lagrange coordinate
var_struc.h
浏览该文件的文档.
1#ifndef VARSTRUC_H
2#define VARSTRUC_H
3
5#ifndef EPS
6#define EPS 1e-9
7#endif
8
10#ifndef N_CONF
11#define N_CONF 400
12#endif
13
14extern double config[];
15
17struct flu_var {
18 double *RHO, *U, *P;
19};
20
22struct cell_var {
23 double **RHO, **U, **V, **P, **E;
24};
25
26#endif
Pointer structural body of variables on computational cells.
Definition: var_struc.h:22
double ** U
Definition: var_struc.h:23
double ** RHO
Definition: var_struc.h:23
double ** V
Definition: var_struc.h:23
double ** P
Definition: var_struc.h:23
double ** E
Definition: var_struc.h:23
Pointer structural body of fluid variables.
Definition: var_struc.h:17
double * P
Definition: var_struc.h:18
double * RHO
Definition: var_struc.h:18
double * U
Definition: var_struc.h:18
double config[]
Initial configuration data array.
Definition: hydrocode.c:87