I am approximating the magnetic field of a cylindrical permanent magnet using two fictitious magnetic monopoles with separation (magnetic length) of 2L. This model is analogous to an electric dipole, and so it seems like the direction of the magnetic field both inside and outside of the magnet are the same. This doesn't make sense to me since the magnetic field lines occur in "loops."
Is this just a limitation of this model? However, Wikipedia explains that the magnetic field due to a "magnetostatic dipole" looks like this (see image below), where field lines do in fact seem to occur in loops. I am quite confused.