The Riemann problem for the nonisentropic Baer–Nunziato model of two-phase flows. (October 2022)