Summa Theologica
Medieval theologians accepted the association of purgatory with fire. Thus the "Summa Theologica" of Thomas Aquinas considered it probable that purgatory was situated close to hell, so that the same fire that tormented the damned cleansed the just souls in purgatory.