Simulation of hard-point anharmonic chains