pyLBM.boundary.Neumann

class pyLBM.boundary.Neumann(istore, ilabel, distance, stencil, value_bc, nspace, backend)

Boundary condition of type Neumann

Methods

fix_iload() Transpose iload and istore.
generate(sorder) Generate the numerical code.
move2gpu() Move arrays needed to compute the boundary on the GPU memory.
prepare_rhs(simulation) Compute the distribution function at the equilibrium with the value on the border.
set_iload() Compute the indices that are needed (symmertic velocities and space indices).
set_rhs() Compute and set the additional terms to fix the boundary values.
update(ff) Update distribution functions with this boundary condition.