]> git.sesse.net Git - nageru/commit
Finally get SOR working.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 26 Jul 2018 22:21:01 +0000 (00:21 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 26 Jul 2018 23:29:21 +0000 (01:29 +0200)
commit2d7f9008e2e7e4c289921d88ed4dbcebde8bcc50
tree479e843880b2e58810d3548677718078bb20f576
parentd5d1eb61a066640748d18a61cd4bac34cd871273
Finally get SOR working.

The trick here was something I'd considered for a long time,
namely red-black SOR so that we update only half the values
every iteration. The implementation is annoyingly inefficient,
but convergence is so much better that it's worth it (a few
percent EPE improvement).
flow.cpp
sor.frag
sor.vert [new file with mode: 0644]
variational_refinement.txt