pylbm.boundary.
AntiBounceBack
(istore, ilabel, distance, stencil, value_bc, nspace, generator)¶Boundary condition of type anti bounce-back
Notes
(Source code, png, pdf)
function
Return the generated function
Methods
|
Transpose iload and istore. |
|
Generate the numerical code. |
|
Move arrays needed to compute the boundary on the GPU memory. |
|
Compute the distribution function at the equilibrium with the value on the border. |
|
Compute the indices that are needed (symmertic velocities and space indices). |
|
Compute and set the additional terms to fix the boundary values. |
|
Update distribution functions with this boundary condition. |