pure functiondensityDerivativeWRTmassFraction_psxin