c++ code to manipulate LAMMPS dump file