-
Notifications
You must be signed in to change notification settings - Fork 7
/
global.bounds.h
160 lines (154 loc) · 10.7 KB
/
global.bounds.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
extern int bound_x1dn_analytic(int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR]);
extern int bound_x1up_analytic(int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR]);
extern int bound_x1dn_outflow(
int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR],
int *inboundloop,
int *outboundloop,
int *innormalloop,
int *outnormalloop,
int (*inoutlohi)[NUMUPDOWN][NDIM],
int riin, int riout, int rjin, int rjout, int rkin, int rkout, int *dosetbc,
int enerregion,
int *localenerpos
);
extern int bound_x1up_outflow(
int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR],
int *inboundloop,
int *outboundloop,
int *innormalloop,
int *outnormalloop,
int (*inoutlohi)[NUMUPDOWN][NDIM],
int riin, int riout, int rjin, int rjout, int rkin, int rkout, int *dosetbc,
int enerregion,
int *localenerpos
);
extern int bound_x1dn_sym(
int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR],
int *inboundloop,
int *outboundloop,
int *innormalloop,
int *outnormalloop,
int (*inoutlohi)[NUMUPDOWN][NDIM],
int riin, int riout, int rjin, int rjout, int rkin, int rkout, int *dosetbc,
int enerregion,
int *localenerpos
);
extern int bound_x2dn_polaraxis_full3d(
int whichcall,
int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR],
int *inboundloop,
int *outboundloop,
int *innormalloop,
int *outnormalloop,
int (*inoutlohi)[NUMUPDOWN][NDIM],
int riin, int riout, int rjin, int rjout, int rkin, int rkout, int *dosetbc,
int enerregion,
int *localenerpos
);
extern int bound_x2dn_polaraxis(
int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR],
int *inboundloop,
int *outboundloop,
int *innormalloop,
int *outnormalloop,
int (*inoutlohi)[NUMUPDOWN][NDIM],
int riin, int riout, int rjin, int rjout, int rkin, int rkout, int *dosetbc,
int enerregion,
int *localenerpos
);
extern int bound_x2up_polaraxis_full3d(
int whichcall,
int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR],
int *inboundloop,
int *outboundloop,
int *innormalloop,
int *outnormalloop,
int (*inoutlohi)[NUMUPDOWN][NDIM],
int riin, int riout, int rjin, int rjout, int rkin, int rkout, int *dosetbc,
int enerregion,
int *localenerpos
);
extern int bound_x2up_polaraxis(
int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR],
int *inboundloop,
int *outboundloop,
int *innormalloop,
int *outnormalloop,
int (*inoutlohi)[NUMUPDOWN][NDIM],
int riin, int riout, int rjin, int rjout, int rkin, int rkout, int *dosetbc,
int enerregion,
int *localenerpos
);
extern int bound_x3_periodic(
int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR],
int *inboundloop,
int *outboundloop,
int *innormalloop,
int *outnormalloop,
int (*inoutlohi)[NUMUPDOWN][NDIM],
int riin, int riout, int rjin, int rjout, int rkin, int rkout, int *dosetbc,
int enerregion,
int *localenerpos
);
extern int bound_x1dn_r0singfixinterior(
int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR],
int *inboundloop,
int *outboundloop,
int *innormalloop,
int *outnormalloop,
int (*inoutlohi)[NUMUPDOWN][NDIM],
int riin, int riout, int rjin, int rjout, int rkin, int rkout, int *dosetbc,
int enerregion,
int *localenerpos
);
extern int bound_checks1(
int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR],
int *inboundloop,
int *outboundloop,
int *innormalloop,
int *outnormalloop,
int (*inoutlohi)[NUMUPDOWN][NDIM],
int riin, int riout, int rjin, int rjout, int rkin, int rkout, int *dosetbc,
int enerregion,
int *localenerpos
);
extern int extrapfunc(int boundary, int j,int k,
int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR],
int *inboundloop,
int *outboundloop,
int *innormalloop,
int *outnormalloop,
int (*inoutlohi)[NUMUPDOWN][NDIM],
int riin, int riout, int rjin, int rjout, int rkin, int rkout, int *dosetbc,
int enerregion,
int *localenerpos
);
extern int poledeath(int whichx2,
int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR],
int *inboundloop,
int *outboundloop,
int *innormalloop,
int *outnormalloop,
int (*inoutlohi)[NUMUPDOWN][NDIM],
int riin, int riout, int rjin, int rjout, int rkin, int rkout, int *dosetbc,
int enerregion,
int *localenerpos);
extern int polesmooth(int whichx2,
int boundstage, int finalstep, SFTYPE boundtime, int whichdir, int boundvartype, int *dirprim, int ispstag, FTYPE (*prim)[NSTORE2][NSTORE3][NPR],
int *inboundloop,
int *outboundloop,
int *innormalloop,
int *outnormalloop,
int (*inoutlohi)[NUMUPDOWN][NDIM],
int riin, int riout, int rjin, int rjout, int rkin, int rkout, int *dosetbc,
int enerregion,
int *localenerpos);
extern void user1_adjust_fluxcttoth_emfs(SFTYPE time, FTYPE (*prim)[NSTORE2][NSTORE3][NPR], FTYPE (*emf)[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3] );
extern void user1_adjust_fluxctstag_emfs(SFTYPE time, FTYPE (*prim)[NSTORE2][NSTORE3][NPR], int *Nvec, FTYPE (*fluxvec[NDIM])[NSTORE2][NSTORE3][NPR]);
extern void user1_adjust_fluxcttoth_vpot(SFTYPE time, FTYPE (*prim)[NSTORE2][NSTORE3][NPR], int *Nvec, FTYPE (*vpot)[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3]);
extern void user1_adjust_fluxctstag_vpot(SFTYPE time, FTYPE (*prim)[NSTORE2][NSTORE3][NPR], int *Nvec, FTYPE (*vpot)[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3]);
extern void adjust_fluxcttoth_emfs(SFTYPE time, FTYPE (*prim)[NSTORE2][NSTORE3][NPR], FTYPE (*emf)[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3] );
extern void adjust_fluxctstag_emfs(SFTYPE time, FTYPE (*prim)[NSTORE2][NSTORE3][NPR], int *Nvec, FTYPE (*fluxvec[NDIM])[NSTORE2][NSTORE3][NPR]);
extern void adjust_fluxcttoth_vpot(SFTYPE time, FTYPE (*prim)[NSTORE2][NSTORE3][NPR], int *Nvec, FTYPE (*vpot)[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3]);
extern void adjust_fluxctstag_vpot(SFTYPE time, FTYPE (*prim)[NSTORE2][NSTORE3][NPR], int *Nvec, FTYPE (*vpot)[NSTORE1+SHIFTSTORE1][NSTORE2+SHIFTSTORE2][NSTORE3+SHIFTSTORE3]);
extern void check_spc_singularities_user(void);