.. _sphx_glr_api_gallery_pde_advection:
Advection schemes
-----------------
Upwind, Lax-Friedrichs, and Lax-Wendroff schemes for linear advection.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/pde/advection/images/thumb/sphx_glr_plot_01_upwind_scheme_thumb.png
:alt:
:doc:`/api/gallery/pde/advection/plot_01_upwind_scheme`
.. raw:: html
The Courant-Isaacson-Rees upwind scheme
.. raw:: html
.. only:: html
.. image:: /api/gallery/pde/advection/images/thumb/sphx_glr_plot_02_lax_friedrichs_thumb.png
:alt:
:doc:`/api/gallery/pde/advection/plot_02_lax_friedrichs`
.. raw:: html
The Lax-Friedrichs scheme: stabilizing centered differences
.. raw:: html
.. only:: html
.. image:: /api/gallery/pde/advection/images/thumb/sphx_glr_plot_03_lax_wendroff_thumb.png
:alt:
:doc:`/api/gallery/pde/advection/plot_03_lax_wendroff`
.. raw:: html
The Lax-Wendroff scheme: second order, and dispersive wiggles
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/pde/advection/plot_01_upwind_scheme
/api/gallery/pde/advection/plot_02_lax_friedrichs
/api/gallery/pde/advection/plot_03_lax_wendroff