.. _sphx_glr_api_gallery_crystal_madelung:
Madelung constant
-------------------
Madelung's electrostatic lattice sum for NaCl, shell by shell, and
Evjen's genuinely converging summation of it, contrasted with a naive
truncated sum that does not converge.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/crystal/madelung/images/thumb/sphx_glr_plot_01_madelung_convergence_thumb.png
:alt:
:doc:`/api/gallery/crystal/madelung/plot_01_madelung_convergence`
.. raw:: html
Evjen's method: converging the NaCl Madelung constant
.. raw:: html
.. only:: html
.. image:: /api/gallery/crystal/madelung/images/thumb/sphx_glr_plot_02_madelung_lattice_sum_thumb.png
:alt:
:doc:`/api/gallery/crystal/madelung/plot_02_madelung_lattice_sum`
.. raw:: html
Madelung's lattice sum: the electrostatic energy of rock salt
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/crystal/madelung/plot_01_madelung_convergence
/api/gallery/crystal/madelung/plot_02_madelung_lattice_sum