Is it possible to change the atom charge within the input script?

Dear LAMMPS developers and users,

I am simulating SPC/E water molecules, and their initial topology is adapted from my previous TIP4P/Ew results (restart files).

Since the two models have different charge settings, is it possible to change the charge directly within the input script instead of writing a script off-line?

Thank you so much for the help.

LC Liu

Yes, with the "set" command.