This GPU based script draws ui,n/4 cross-section after multigrid V-cycle
with the reduction level = 6 and "deep" relaxation iterations 2rel.
Boundaries are periodic
fi,j = sin(2πi/n) sin(2πj/n) n rel level ω |
Multigrid V-cycle
[1] William L. Briggs, Van Emden Henson, Steve F. McCormick A Multigrid Tutorial (look at "Tutorial Slides")