Note: This post is part of my scientific computing course (UW AMATH481) in autumn 2016. The course web page is here.
We didn’t finish the overview of the code
in lecture yesterday, so I made a video
which goes over the basic structure.
In the video, I explain the code in its
initial, finite-differences-based version.
The code provided with the homework is missing
only the function for generating a
finite difference matrix for differentiation
in the \(y\) direction. Once you fix
uymatp2d, the finite-differences
version of the code will be functional.
In the homework, I also ask you to write a new
version of the code in which you swap out these
finite-differences routines for FFT-based
You can download homework 2 here.
Email: [my last name] [at] uw [dot] edu
Copyright © 2018 Travis Askham.