A procedure for the computation of magnetic field, temperature and force distribution in the design of tokamak toroidal coils