Particles_longRangeForce(real,intent(inout) :: particles(:,:), integer,intent(in) :: p_count, integer,intent(in) :: mapType)
Computes long-range forces on particles, ie. forces which couple all particles to each other. This version is for particle-mesh gravitation and maps the gravitational acceleration on the mesh to the particle positions.
particles :: the list of particles to be operated on p_count :: count of the particles in the list mapType :: when mapping grid quantities to particle, method to use