The calculated total energies of ThPtSn (a) and ThPtSb (b) compounds as a function of unit cell volume in ferromagnetic and nonmagnetic phases.