![cover image](https://wikiwandv2-19431.kxcdn.com/_next/image?url=https://upload.wikimedia.org/wikipedia/commons/thumb/6/64/3D_von_Neumann_Stencil_Model.svg/640px-3D_von_Neumann_Stencil_Model.svg.png&w=640&q=50)
Iterative Stencil Loops
From Wikipedia, the free encyclopedia
Iterative Stencil Loops (ISLs) or Stencil computations are a class of numerical data processing solution[1] which update array elements according to some fixed pattern, called a stencil.[2] They are most commonly found in computer simulations, e.g. for computational fluid dynamics in the context of scientific and engineering applications. Other notable examples include solving partial differential equations,[1] the Jacobi kernel, the Gauss–Seidel method,[2] image processing[1] and cellular automata.[3] The regular structure of the arrays sets stencil techniques apart from other modeling methods such as the Finite element method. Most finite difference codes which operate on regular grids can be formulated as ISLs.
![Thumb image](http://upload.wikimedia.org/wikipedia/commons/thumb/6/64/3D_von_Neumann_Stencil_Model.svg/220px-3D_von_Neumann_Stencil_Model.svg.png)