[lammps-users] One question about losting atoms

To Whom It May concern

Dear all:
  I make a fix command inorder to add atom frequently, into the vacuum space inside the box.
I use the fix_insert as a templet. When the atoms have been added there will show an error message which is "Lost atoms original ...." and I found that it's due to the numbers of new atoms are not the sasm with the old value. So I add change the atom->natoms just after the insertion.
Is that will make any trouble or misstake during the simulation.If so can anyone give me a suggestion.

                  Thank you very much!


The thermo_modify command has a setting "lost ignore" which
is what you want to use to stop that error message. The
examples/pour/in.pour script does that when inserting atoms
via fix insert.