PC codes for the field calculation in MHD superconducting magnets