The numerical solution of the vorticity transport equation