49 rbox_center[
s].
ib =
IBEG-1; rbox_center[
s].
ie = 0;
53 rbox_x1face[
s] = rbox_x2face[
s] = rbox_x3face[
s] = rbox_center[
s];
60 D_EXPAND(rbox_x1face[s].ib--; rbox_x1face[
s].
ie--; ,
61 rbox_x2face[
s].
jb--; ,
77 rbox_x1face[
s] = rbox_x2face[
s] = rbox_x3face[
s] = rbox_center[
s];
85 rbox_x2face[
s].
jb--; ,
98 rbox_center[
s].
jb =
JBEG-1; rbox_center[
s].
je = 0;
101 rbox_x1face[
s] = rbox_x2face[
s] = rbox_x3face[
s] = rbox_center[
s];
109 rbox_x2face[
s].
jb--; rbox_x2face[
s].
je--; ,
110 rbox_x3face[
s].
kb--;)
125 rbox_x1face[
s] = rbox_x2face[
s] = rbox_x3face[
s] = rbox_center[
s];
134 rbox_x3face[
s].
kb--;)
147 rbox_center[
s].
kb =
KBEG-1; rbox_center[
s].
ke = 0;
149 rbox_x1face[
s] = rbox_x2face[
s] = rbox_x3face[
s] = rbox_center[
s];
157 rbox_x2face[
s].
jb--; ,
158 rbox_x3face[
s].
kb--; rbox_x3face[
s].
ke--;)
173 rbox_x1face[
s] = rbox_x2face[
s] = rbox_x3face[
s] = rbox_center[
s];
181 rbox_x2face[
s].
jb--; ,
196 rbox_x1face[
s] = rbox_x2face[
s] = rbox_x3face[
s] = rbox_center[
s];
204 rbox_x2face[
s].
jb--; ,
205 rbox_x3face[
s].
kb--;)
219 rbox_x1face[
s] = rbox_x2face[
s] = rbox_x3face[
s] = rbox_center[
s];
227 rbox_x2face[
s].
jb--; ,
228 rbox_x3face[
s].
kb--;)
245 else if (vpos ==
X1FACE)
return &(rbox_x1face[side-
X1_BEG]);
246 else if (vpos ==
X2FACE)
return &(rbox_x2face[side-
X1_BEG]);
247 else if (vpos ==
X3FACE)
return &(rbox_x3face[side-
X1_BEG]);
#define X3_BEG
Boundary region at X3 beg.
#define X1_BEG
Boundary region at X1 beg.
int jb
Lower corner index in the x2 direction.
int vpos
Location of the variable inside the cell.
long int NX2_TOT
Total number of zones in the X2 direction (boundaries included) for the local processor.
RBox * GetRBox(int side, int vpos)
int kb
Lower corner index in the x3 direction.
#define DOM
Computational domain (interior)
#define X1_END
Boundary region at X1 end.
#define TOT
Computational domain (total)
int ib
Lower corner index in the x1 direction.
#define X2_END
Boundary region at X2 end.
long int NX3_TOT
Total number of zones in the X3 direction (boundaries included) for the local processor.
long int IEND
Upper grid index of the computational domain in the the X1 direction for the local processor...
static RBox rbox_x1face[8]
static RBox rbox_x3face[8]
static RBox rbox_center[8]
#define X3_END
Boundary region at X3 end.
D_EXPAND(tot/[n]=(double) grid[IDIR].np_int_glob;, tot/[n]=(double) grid[JDIR].np_int_glob;, tot/[n]=(double) grid[KDIR].np_int_glob;)
int ie
Upper corner index in the x1 direction.
int ke
Upper corner index in the x3 direction.
int je
Upper corner index in the x2 direction.
long int KBEG
Lower grid index of the computational domain in the the X3 direction for the local processor...
#define X2_BEG
Boundary region at X2 beg.
long int KEND
Upper grid index of the computational domain in the the X3 direction for the local processor...
static RBox rbox_x2face[8]
long int JBEG
Lower grid index of the computational domain in the the X2 direction for the local processor...
long int JEND
Upper grid index of the computational domain in the the X2 direction for the local processor...
long int NX1_TOT
Total number of zones in the X1 direction (boundaries included) for the local processor.
long int IBEG
Lower grid index of the computational domain in the the X1 direction for the local processor...