Application of the mesoscopic theory of dipolar media