Nine-point stencil (source code)

= Nine-point stencil
{wiki=Nine-point_stencil}

A nine-point stencil is a numerical method used in finite difference schemes for solving partial differential equations (PDEs), particularly in the context of grid-based numerical simulations. The stencil refers to the pattern of points around a central point in a discrete grid that contributes to the calculation of an approximate solution at that central point.