Unverified Commit 94e9b3bc authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

rename reset_ids command to reset_atom_ids

parent de7f02e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ An alphabetic list of all general LAMMPS commands.
   * :doc:`region <region>`
   * :doc:`replicate <replicate>`
   * :doc:`rerun <rerun>`
   * :doc:`reset_ids <reset_ids>`
   * :doc:`reset_atom_ids <reset_atom_ids>`
   * :doc:`reset_mol_ids <reset_mol_ids>`
   * :doc:`reset_timestep <reset_timestep>`
   * :doc:`restart <restart>`
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ Commands
   region
   replicate
   rerun
   reset_ids
   reset_atom_ids
   reset_mol_ids
   reset_timestep
   restart
+2 −2
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ number of atoms in the system. Note that this is not done for
molecular systems (see the :doc:`atom_style <atom_style>` command),
regardless of the *compress* setting, since it would foul up the bond
connectivity that has already been assigned.  However, the
:doc:`reset_ids <reset_ids>` command can be used after this command to
:doc:`reset_atom_ids <reset_atom_ids>` command can be used after this command to
accomplish the same thing.

Note that the re-assignment of IDs is not really a compression, where
@@ -157,7 +157,7 @@ using molecule template files via the :doc:`molecule <molecule>` and
Related commands
""""""""""""""""

:doc:`create_atoms <create_atoms>`, :doc:`reset_ids <reset_ids>`
:doc:`create_atoms <create_atoms>`, :doc:`reset_atom_ids <reset_atom_ids>`

Default
"""""""
+7 −7
Original line number Diff line number Diff line
.. index:: reset_ids
.. index:: reset_atom_ids

reset_ids command
=================
reset_atom_ids command
======================

Syntax
""""""

.. code-block:: LAMMPS

   reset_ids keyword values ...
   reset_atom_ids keyword values ...

   * zero or more keyword/value pairs may be appended
   * keyword = *sort*
@@ -22,8 +22,8 @@ Examples

.. code-block:: LAMMPS

   reset_ids
   reset_ids sort yes
   reset_atom_ids
   reset_atom_ids sort yes

Description
"""""""""""
@@ -77,7 +77,7 @@ processor have consecutive IDs, as the :doc:`create_atoms
   that are owned by other processors.  The :doc:`comm_modify cutoff <comm_modify>` command can be used to correct this issue.
   Or you can define a pair style before using this command.  If you do
   the former, you should unset the comm_modify cutoff after using
   reset_ids so that subsequent communication is not inefficient.
   reset_atom_ids so that subsequent communication is not inefficient.

Restrictions
""""""""""""
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ none
Related commands
""""""""""""""""

:doc:`reset_ids <reset_ids>`, :doc:`fix bond/react <fix_bond_react>`,
:doc:`reset_atom_ids <reset_atom_ids>`, :doc:`fix bond/react <fix_bond_react>`,
:doc:`fix bond/create <fix_bond_create>`,
:doc:`fix bond/break <fix_bond_break>`,
:doc:`fix evaporate <fix_evaporate>`,
Loading