.. _sphx_glr_api_gallery_pde_spectral: Spectral methods ---------------- Fourier pseudo-spectral time stepping for periodic problems, and Chebyshev collocation for boundary-value problems, checked against the Hopf-Cole exact solution of viscous Burgers' equation. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /api/gallery/pde/spectral/images/thumb/sphx_glr_plot_01_fourier_pseudospectral_burgers_thumb.png :alt: :doc:`/api/gallery/pde/spectral/plot_01_fourier_pseudospectral_burgers` .. raw:: html
Fourier pseudo-spectral methods: Burgers' equation
.. raw:: html
.. only:: html .. image:: /api/gallery/pde/spectral/images/thumb/sphx_glr_plot_02_chebyshev_collocation_thumb.png :alt: :doc:`/api/gallery/pde/spectral/plot_02_chebyshev_collocation` .. raw:: html
Chebyshev collocation: spectral accuracy without periodicity
.. raw:: html
.. only:: html .. image:: /api/gallery/pde/spectral/images/thumb/sphx_glr_plot_03_hopf_cole_burgers_thumb.png :alt: :doc:`/api/gallery/pde/spectral/plot_03_hopf_cole_burgers` .. raw:: html
Burgers' equation and the Hopf-Cole transformation
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /api/gallery/pde/spectral/plot_01_fourier_pseudospectral_burgers /api/gallery/pde/spectral/plot_02_chebyshev_collocation /api/gallery/pde/spectral/plot_03_hopf_cole_burgers