-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathHeaders.h
99 lines (91 loc) · 1.34 KB
/
Headers.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#define Skip fgets(dummy,100,Input1)
#define read(x,y) fscanf(Input1,"%"#y, &x);skip
#define pi 3.14159265358979324
#define iff(x,y) if(strcmp(x,#y)==0)
#define HI "\t%10.6f"
#define LO "\t%7.4f"
#define Readtext(x) fgets(x,400,Input1); x[strlen(x)-1] = '\0'
#define Read(x,y) {fscanf(Input1,"%"#y, &x);Skip;}
#ifdef Main
FILE
*monitor, *Input1, *Input2, *Elevation, *Flowfield, *Solution;
char
Title[100], dummy[100], Case[20], Currentname[10], Current1[10]="Euler", Current2[10]="Stokes",
Method[100], Convergence_file[50], Points_file[50], Theory[10], Diagname[30];
#endif
#ifdef Subprograms
extern FILE
*monitor, *Input1, *Input2, *Elevation, *Flowfield, *Solution;
extern char
Case[], dummy[], Title[], Currentname[], Current1[], Current2[], Method[],
Convergence_file[], Points_file[], Theory[], Diagname[];
#endif
Int
Current_criterion,
n,
Nprofiles,
ns,
nstep,
num,
number,
Points,
Surface_points,
wave;
Double
**sol,
*B,
*coeff,
*cosa,
*rhs1,
*rhs2,
*sina,
*Tanh,
*Y,
*z;
Double
Bernoulli_check,
c,
ce,
crit,
criter,
cs,
Current,
dphidt,
dudt,
dvdt,
Eta,
f,
H,
Height,
Highest,
Hoverd,
height,
kd,
ke,
L,
MaxH,
Mean_half_keta_squared,
pe,
phi,
Pressure,
psi,
pulse,
Q,
q,
R,
r,
s,
sum,
sxx,
T,
U,
u,
ub2,
ubar,
ut,
ux,
uy,
v,
vt,
vx,
vy;