pylbm.boundary.
BoundaryMethod
(istore, ilabel, distance, stencil, value_bc, nspace, generator)¶Set boundary method.
the equilibrium values of the distribution function on the border
the additional terms to fix the boundary values
distance to the border (needed for Bouzidi type conditions)
indices of points where we store the boundary condition
label of the boundary
indices of points needed to compute the boundary condition
the prescribed values on the border
Methods
|
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. |