Parameters That Define Boundary Conditions
Poisson Solver routines for the Cartesian solver use the following common parameters to define the boundary conditions.
Parameter
| Description
|
---|---|
bd_ax | double* for
d_commit_Helmholtz_2D/d_commit_Helmholtz_3D and
d_Helmholtz_2D/d_Helmholtz_3D ,
float* for
s_commit_Helmholtz_2D/s_commit_Helmholtz_3D and
s_Helmholtz_2D/s_Helmholtz_3D .
Contains values of the boundary condition on the leftmost boundary of the domain along the
x -axis.
For periodic boundary conditions (the value of
BCtype [0] is 'P'), this parameter is not used, so it can accept a dummy pointer.
|
bd_bx | double* for
d_commit_Helmholtz_2D/d_commit_Helmholtz_3D and
d_Helmholtz_2D/d_Helmholtz_3D ,
float* for
s_commit_Helmholtz_2D/s_commit_Helmholtz_3D and
s_Helmholtz_2D/s_Helmholtz_3D .
Contains values of the boundary condition on the rightmost boundary of the domain along the
x -axis.
For periodic boundary conditions (the value of
BCtype [1] is 'P'), this parameter is not used, so it can accept a dummy pointer.
|
bd_ay | double* for
d_commit_Helmholtz_2D/d_commit_Helmholtz_3D and
d_Helmholtz_2D/d_Helmholtz_3D ,
float* for
s_commit_Helmholtz_2D/s_commit_Helmholtz_3D and
s_Helmholtz_2D/s_Helmholtz_3D .
Contains values of the boundary condition on the leftmost boundary of the domain along the
y -axis.
For periodic boundary conditions (the value of
BCtype [2] is 'P'), this parameter is not used, so it can accept a dummy pointer.
|
bd_by | double* for
d_commit_Helmholtz_2D/d_commit_Helmholtz_3D and
d_Helmholtz_2D/d_Helmholtz_3D ,
float* for
s_commit_Helmholtz_2D/s_commit_Helmholtz_3D and
s_Helmholtz_2D/s_Helmholtz_3D .
Contains values of the boundary condition on the rightmost boundary of the domain along the
y -axis.
For periodic boundary conditions (the value of
BCtype [3] is 'P'), this parameter is not used, so it can accept a dummy pointer.
|
bd_az | double* for
d_commit_Helmholtz_3D and
d_Helmholtz_3D ,
float* for
s_commit_Helmholtz_3D and
s_Helmholtz_3D .
Used only by
?_commit_Helmholtz_3D and
?_Helmholtz_3D . Contains values of the boundary condition on the leftmost boundary of the domain along the
z -axis.
The size of the array is ( nx +1)*(ny +1). Its contents depend on the boundary conditions as follows:
The values are packed in the array so that the value corresponding to indices
(i, j) is placed in
bd_az [i+j *(nx +1)].
For periodic boundary conditions (the value of
BCtype [4] is 'P'), this parameter is not used, so it can accept a dummy pointer.
|
bd_bz | double* for
d_commit_Helmholtz_3D and
d_Helmholtz_3D ,
float* for
s_commit_Helmholtz_3D and
s_Helmholtz_3D .
Used only by
?_commit_Helmholtz_3D and
?_Helmholtz_3D . Contains values of the boundary condition on the rightmost boundary of the domain along the
z -axis.
The size of the array is ( nx +1)*(ny +1). Its contents depend on the boundary conditions as follows:
The values are packed in the array so that the value corresponding to indices
(i, j) is placed in
bd_bz [i+j *(nx +1)].
For periodic boundary conditions (the value of
BCtype [5] is 'P'), this parameter is not used, so it can accept a dummy pointer.
|