[OPENMP] Reformatting and code improvement.