text: //===--------------------------------------------------------------------------------*- C++ -*-===//
  //                         _       _
  //                        | |     | |
  //                    __ _| |_ ___| | __ _ _ __   __ _
  //                   / _` | __/ __| |/ _` | '_ \ / _` |
  //                  | (_| | || (__| | (_| | | | | (_| |
  //                   \__, |\__\___|_|\__,_|_| |_|\__, | - GridTools Clang DSL
  //                    __/ |                       __/ |
  //                   |___/                       |___/
  //
  //
  //  This file is distributed under the MIT License (MIT).
  //  See LICENSE.txt for details.
  //
  //===------------------------------------------------------------------------------------------===//
  
  #include "gridtools/clang_dsl.hpp"
  
  using namespace gridtools::clang;
  
  stencil compute_extent_test_stencil {
    storage u, out;
  
    Do {
      vertical_region(k_start, k_end) {
        out = u[i + 1];
        out += u[j - 1];
        if(out == 1) {
          //        out *= u[k+2]+2.4;
          //        out -= u[k-1];
          out = 2;
        }
      }
    }
  };
  