functionsetState_pTX

set the thermodynamic state record from p, T, X