Converting Geographic to Cartesian for Mars

Not sure but I think that the ellipsoid is only used to properly convert the longitute and latitude to distances. Nothing else. I don’t think that it is used to adjust to the martian gravity.