febid.diffusion.laplace_term_stencil#

laplace_term_stencil(grid, surface_index)[source]#

Apply stencil operator to the selected cells in the grid.

Parameters:
  • grid – operated grid

  • surface_index – selected cell index [z, y, x]

Returns: