.. _sphx_glr_api_gallery_fields_statics:
Electrostatics and magnetostatics
------------------------------------
Static fields from charges and steady currents: Coulomb's inverse-square
law, the Laplace-Legendre multipole expansion, Poisson's equation solved
on a grid by relaxation and by fast transforms, Green's method of images
for conductors, and the Biot-Savart field of a current loop and a finite
solenoid.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/fields/statics/images/thumb/sphx_glr_plot_biot_savart_loop_and_solenoid_thumb.png
:alt:
:doc:`/api/gallery/fields/statics/plot_biot_savart_loop_and_solenoid`
.. raw:: html
The Biot-Savart law: a current loop and a finite solenoid
.. raw:: html
.. only:: html
.. image:: /api/gallery/fields/statics/images/thumb/sphx_glr_plot_coulomb_inverse_square_law_thumb.png
:alt:
:doc:`/api/gallery/fields/statics/plot_coulomb_inverse_square_law`
.. raw:: html
Coulomb's law: the inverse-square force and superposition
.. raw:: html
.. only:: html
.. image:: /api/gallery/fields/statics/images/thumb/sphx_glr_plot_green_method_of_images_thumb.png
:alt:
:doc:`/api/gallery/fields/statics/plot_green_method_of_images`
.. raw:: html
Green's function and the method of images
.. raw:: html
.. only:: html
.. image:: /api/gallery/fields/statics/images/thumb/sphx_glr_plot_laplace_legendre_multipole_expansion_thumb.png
:alt:
:doc:`/api/gallery/fields/statics/plot_laplace_legendre_multipole_expansion`
.. raw:: html
Laplace and Legendre: the multipole expansion of a far field
.. raw:: html
.. only:: html
.. image:: /api/gallery/fields/statics/images/thumb/sphx_glr_plot_poisson_equation_relaxation_thumb.png
:alt:
:doc:`/api/gallery/fields/statics/plot_poisson_equation_relaxation`
.. raw:: html
Poisson's equation: relaxing the potential of charges and conductors
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/fields/statics/plot_biot_savart_loop_and_solenoid
/api/gallery/fields/statics/plot_coulomb_inverse_square_law
/api/gallery/fields/statics/plot_green_method_of_images
/api/gallery/fields/statics/plot_laplace_legendre_multipole_expansion
/api/gallery/fields/statics/plot_poisson_equation_relaxation