Research Article
Parallel Algorithms of Well-Balanced and Weighted Average Flux for Shallow Water Model Using CUDA
Algorithm 2
Serial: edge-based calculation.
1: Initialize data | 2: while | 3: Calculate flux in direction (call Algorithm 3) | 4. Calculate flux in direction (call Algorithm 3) | 5. Update solution per cell | 6: | 7: end while |
|