In my simulations, I need to change type/charge of an atom during the run time. Is there a simple way to do that?
I used the fortran version of lammps before and I usually do this kind of modifications in the diagnostic.f routine. Is there a similar user defined routine in the C++ version of lammps?
Thank you very much for help.