pylbm.boundary.
Boundary_method
(istore, ilabel, distance, stencil, value_bc, nspace, backend)¶Set boundary method.
None –
feq
¶the equilibrium values of the distribution function on the border
NumPy array
rhs
¶the additional terms to fix the boundary values
NumPy array
distance
¶distance to the border (needed for Bouzidi type conditions)
NumPy array
istore
¶NumPy array
ilabel
¶NumPy array
iload
¶list
value_bc
¶the prescribed values on the border
dictionnary
__init__
(istore, ilabel, distance, stencil, value_bc, nspace, backend)¶Initialize self. See help(type(self)) for accurate signature.
Methods
|
Initialize self. |
|
Transpose iload and istore. |
|
Move arrays needed to compute the boundary on the GPU memory. |
|
Compute the distribution function at the equilibrium with the value on the border. |
|
Update distribution functions with this boundary condition. |