Solid with magnetic dipoles