Thomas—Fermi calculations of hot dense matter