This means that the exact details of how they are declared and used may change in future releases. Use at your own risk. Suppose we wanted to implement the 3-D acoustic wave equation using finite differencing. The first argument is a name for the stencil object.
Subsequent arguments are names for the arrays on which the stencil operates.
You can invoke stencil operators which calculate finite differences and laplacians. This will usually work for stencils defined on integer or float arrays. They assume that an array represents evenly spaced data points separated by a distance of h . All of the stencils have factors associated with them. For example, the central12 operator is a discrete first derivative which is 2nd-order accurate.