functionsetState_dTX

Set the thermodynamic state record from d and T (X not needed)