febid.diffusion#
Diffusion module Solution for diffusion equation via FTCS method
Functions
Calculate diffusion term for the surface cells using stencil approach |
|
Get max stable time step for FTCS solution :type D: :param D: diffusion coefficient, nm/nm^2 :type dx: :param dx: grid spacing, nm :return: time step, s |
|
Apply stencil operator to the selected cells in the grid. |
|
Get a multiindex from the surface array |
|