HPC Magazine February 2014 - An Introduction to Performance Programming - part I.
Listing 6: Structure of the loops at lines 102, 107 and 138 of the "riemann" function in the Hydro application.
for (int s = 0; s < slices; s++) { // line 102 for (int i = 0; i < narray; i++) { // line 107 // some code here for (iter = 0; iter < Hniter_riemann; iter++) { // line 138 // some code here } // some code here } }