view fourInv.m @ 842:619561e9ec0e feature/burgers1d

Reformulate the RK4 time stages in order to easier see how the residual should be updated.
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Fri, 14 Sep 2018 16:40:19 +0200
parents f6ada1719420
children
line wrap: on
line source

function u = ifour(u_hat)
    u_hat = ifftshift(u_hat);
    u = ifft(u_hat);
end