Three-dimensional calculation of the magnetic field created by current-carrying massive disks