[lammps-users] Saving and Re-reading configurations

Dear all,

I'm programming a module for LAMMPS, which needs to save system configurations during run (in files) and then re-run the simulation from these configurations. Is there a possibility to do this without reloading the input file (e.g. simulation box, force field parameters, which are the same)? WriteRestart and ReadRestart are not good for this purpose since they don't save coeffs for certain potential types (for ex. hybrid).

Any suggestions are appreciated.



I'm not clear on what you're trying to do. If you have
a script that reads a restart file, why can't you define
additional params (e.g. hybrid potential settings) as well?