A numerical simulation has been constructed to obtain a detailed, quantitative estimate of the electromagnetic fields generated in a recently-proposed collective accelerator scheme for electrons. The code treats the secondary electrons by particle simulation and the beam dynamics by a time-dependent envelope model. The simulation gives a fully relativistic description of secondary electrons moving in selfconsistent electromagnetic fields. The calculations are made using coordinates t, x, y, z for the electrons and t, ct-z, r for the axisymmetric electromagnetic fields and currents. Code results showing the axial electric field dependence on the configuration of the ultrashort U. V. laser pulse will be given.