Solution of a field theory model of frontal photopolymerization.