FUNCTION rad2deg(t) REAL(rp), INTENT(IN) :: t REAL(rp) :: rad2deg rad2deg = t*180.0_rp/C_PI END FUNCTION rad2deg