Research Article
The Splitting Crank–Nicolson Scheme with Intrinsic Parallelism for Solving Parabolic Equations
Algorithm 2
The SC-N scheme for two-dimensional parabolic equations.
| Require: Initialization U0 (xi, yj) ⟵ u0 (xi, yj). | | for n = 0, 1, ⋯, N do | | for i = 0, 1, ⋯, m do | | for j = 0, 1, ⋯, m do | | Solve the values by using the scheme (30). | | Solve the values again by using the scheme (32). | | end for | | end for | | end for | | Ensure: Output UN (xi, yj). |
|