pylbm.boundary.BounceBack(istore, ilabel, distance, stencil, value_bc, time_bc, nspace, generator)¶Boundary condition of type bounce-back
Notes
(Source code, png, pdf)
functionReturn 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. |
update_feq |
Attributes
|
Return the generated function |