2nd order div operator on a 2D vector field, using the central14 operator. 2nd order div operator on a 3D vector field, using the central12 operator. 2nd order div operator on a 3D vector field using the central14 operator. 2nd order accurate, 2nd mixed partial derivative. 4th order accurate, 2nd mixed partial derivative.
T is an iterator type for arrays.
You are encouraged to use the macros when possible, because it is possible the implementation could be changed in the future. Stencil operator declarations cannot occur inside a function. If declared inside a class, they are scoped by the class. It only applies the stencil over the region of the arrays where it won't overrun the boundaries.