Critical sets of PL and discrete Morse theory: a correspondence