Renamed n_total_particles to n_part to make Tcl and C consistent.