  In this review we discuss Cosmological N-Body codes with a special emphasis
on Particle Mesh codes. We present the mathematical model for each component of
N-Body codes. We compare alternative methods for computing each quantity by
calculating errors for each of the components. We suggest an optimum set of
components that can be combined reduce overall errors in N-Body codes.

Astrophysics