Research Article

Parallel Algorithms of Well-Balanced and Weighted Average Flux for Shallow Water Model Using CUDA

Figure 14

Optimization of flux computation by loop unroll: (a) normal loop and (b) loop unroll.
(a)
(b)