Updating openmp code generator to work with 1D blocks as in SHSGC