Stencil operator. Sums all the neighbors to the current cell. If a neighbor is 0 or out of the bounds, then adds cell’s current value to itself. Arrays must have the same shape. :param grid_out: operated array :param grid: source array :param z: first array index :param y: second array index :param x: third array index :return: