.. _sphx_glr_api_gallery_fields_electrodynamics: Electrodynamics ------------------ Finite-difference time-domain (FDTD) solutions of Maxwell's equations on a Yee grid, in 1D and 2D, plus a graded-conductivity absorbing boundary in the spirit of Berenger's Perfectly Matched Layer. Also includes animated demos of a Hertzian oscillating dipole antenna, a wave crossing a dielectric slab, and a standing TM cavity mode. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /api/gallery/fields/electrodynamics/images/thumb/sphx_glr_plot_dielectric_slab_propagation_thumb.gif :alt: :doc:`/api/gallery/fields/electrodynamics/plot_dielectric_slab_propagation` .. raw:: html
A wave crossing a dielectric slab
.. raw:: html
.. only:: html .. image:: /api/gallery/fields/electrodynamics/images/thumb/sphx_glr_plot_dipole_radiation_thumb.gif :alt: :doc:`/api/gallery/fields/electrodynamics/plot_dipole_radiation` .. raw:: html
A Hertzian dipole antenna radiating on the Yee grid
.. raw:: html
.. only:: html .. image:: /api/gallery/fields/electrodynamics/images/thumb/sphx_glr_plot_em_cavity_modes_thumb.gif :alt: :doc:`/api/gallery/fields/electrodynamics/plot_em_cavity_modes` .. raw:: html
A standing TM cavity mode oscillating in place
.. raw:: html
.. only:: html .. image:: /api/gallery/fields/electrodynamics/images/thumb/sphx_glr_plot_maxwell_speed_of_light_thumb.png :alt: :doc:`/api/gallery/fields/electrodynamics/plot_maxwell_speed_of_light` .. raw:: html
Measuring the speed of light from Maxwell's equations
.. raw:: html
.. only:: html .. image:: /api/gallery/fields/electrodynamics/images/thumb/sphx_glr_plot_pml_absorbing_boundary_thumb.png :alt: :doc:`/api/gallery/fields/electrodynamics/plot_pml_absorbing_boundary` .. raw:: html
Berenger's Perfectly Matched Layer vs. a hard wall
.. raw:: html
.. only:: html .. image:: /api/gallery/fields/electrodynamics/images/thumb/sphx_glr_plot_yee_fdtd_point_source_thumb.png :alt: :doc:`/api/gallery/fields/electrodynamics/plot_yee_fdtd_point_source` .. raw:: html
A point source radiating on the Yee grid
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /api/gallery/fields/electrodynamics/plot_dielectric_slab_propagation /api/gallery/fields/electrodynamics/plot_dipole_radiation /api/gallery/fields/electrodynamics/plot_em_cavity_modes /api/gallery/fields/electrodynamics/plot_maxwell_speed_of_light /api/gallery/fields/electrodynamics/plot_pml_absorbing_boundary /api/gallery/fields/electrodynamics/plot_yee_fdtd_point_source