and a follow-on to the above: I think I just came up with a good qualitative explanation of what is going on with the collection of magnetic dipoles vs. the collection of electric dipoles, and why we get such similar results when they are added together, but just slightly different:
Edit: (Note: The MIT notes =section 9 got me thinking about this, because they begin with the ## B =H ## from a microscopic magnetic dipole has the same geometry as the ## E ## from an electric dipole. It puzzled me why this doesn't carry over completely macroscopically with a collection of these dipoles=it almost does, but with one correction term for the interior).
The building block of the electric dipole can be thought of as a brick with a + surface on one end and a - surface on the other. When we stack them together, the charges on the adjoining faces cancel, and we have a large rectangle that has a + surface at the top and a - surface at the bottom, and all the other charges cancel.
For the magnetic dipole, we can think of the building block as a rectangular current that runs around the outside of the block. The result when we stack them together is that all the currents cancel, except for a surface current that runs around the large rectangle that we build.
For the electric dipoles, we calculate the field everywhere for the large rectangle using Coulomb's law, and for the large rectangle made from magnetic dipoles, we use Biot-Savart's law on the surface currents to compute the magnetic field ## B ##.
The results of this are a little surprising, but very good in a way: We don't get the expected ## B=H ## everywhere, where for ## H ##, we would calculate using magnetic poles or charges, and is analogous to ## E ##, computed from the poles ## P ##. We do get the result ## B=H ## everywhere outside the bricks, but inside we pick up an additional term, which depends on the units we use, but it is of the form ## B=H+M ##.
I did the calculation of this about twelve years ago using a cylindrical shape (as opposed to a rectangle), with magnetization ## M_z=M ## and made it a cylinder of semi-infinite length, so there was only one endface that contained the pole. The results surprised me=I was surprised to find that the surface current method gives the same answer as the pole method, other than the additional ## M ## term inside the cylinder. I'll give a "link" to those calculations momentarily...see
https://www.overleaf.com/project/5ca6af5c8dccb27da809813e
You will find today's date on the article, but the article dates back to around 2012.
I used cgs units where ## B=H + 4 \pi M ##.
I computed the ## B ## in the plane of the single endface using both the surface current and pole methods. The result is that just above the single endface, for ## r<a ##, we have ## B_z=2 \pi M ##. The result is that if you make a cylinder of infinite length from two semi-infinite cylinders, where both have magnetization ## M ## in the z direction, it is clear that you will get the ## 4 \pi M ## result inside the material. Meanwhile, the cylinder of infinite length has no poles, so ## H=0 ##. Thereby we don't have that ## B=H ##, but rather ## B=H+4 \pi M ##.
In the plane of the endface, for ##r> a ## the pole method gives ## B_z =0## by inspection. I was surprised to find the surface current integral gave this same result, (but gave ## B_z=2 \pi M ## for ## r<a ##, which also agrees with what the pole method gives, which is as it would appear to be adjacent to an infinite sheet of magnetic surface charge density with ## \sigma_m=M \cdot \hat{n}=M ## on the endface).
Note: Magnetic surface current per unit length ## \vec{K}_m=c \, \vec{M} \times \hat{n} ##.
I also showed both methods get the same result for ## B_r ## in the plane of the endface.
It may take a little bit of work to read through the calculations of the "link".
Just maybe a couple readers will find it of interest.