Cooling flows as a reference solution for the hot circumgalactic medium | Synapse