annotate fourInv.m @ 1149:1fe48cbd379a feature/rv

Change Burgers2d to inviscid formulation. Rewrite to use opSets and fix the implementation of the Dirichlet conditions.
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Thu, 24 Jan 2019 09:05:44 +0100
parents f6ada1719420
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
598
f6ada1719420 Add functions for calculating fourier transforms
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
1 function u = ifour(u_hat)
f6ada1719420 Add functions for calculating fourier transforms
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
2 u_hat = ifftshift(u_hat);
f6ada1719420 Add functions for calculating fourier transforms
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
3 u = ifft(u_hat);
f6ada1719420 Add functions for calculating fourier transforms
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
4 end