The general solution for an ellipsoid in low-Reynolds-number flow