Tree-based solvers for adaptive mesh refinement code <scp>flash</scp> – IV. An X-ray radiation scheme to couple discrete and diffuse X-ray emission sources to the thermochemistry of the interstellar medium
Monthly Notices of the Royal Astronomical Society