Adding openmp directives to refine_smooth