Spectral multigrid methods with applications to transonic potential flow