Parallel Algorithm for Electromagnetic Field Computation Based on Particle Simulation Algorithm