The codes available at this link allow to compute accurate solutions of relativistic figures of equilibrium (either spheroidal or toroidal). The codes are part of the book “Relavistic Figures of Equilibrium” by Reinhard Meinel, Marcus Ansorg, Andreas Kleinwächter, Gernot Neugebauer and David Petroff, Cambridge University Press 2008.
More info:  external linkContact:  Prof. Reinhard Meinel