From 2ef708d91e84c5465730ddaf8093c25eb147fe91 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Tue, 3 Aug 2010 23:38:55 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4428 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- doc/delete_atoms.html | 24 +++++++++++++++++------- doc/delete_atoms.txt | 21 ++++++++++++++------- 2 files changed, 31 insertions(+), 14 deletions(-) diff --git a/doc/delete_atoms.html b/doc/delete_atoms.html index 8e5fce55f0..bb780a84cf 100644 --- a/doc/delete_atoms.html +++ b/doc/delete_atoms.html @@ -13,7 +13,7 @@

Syntax:

-
delete_atoms style args 
+
delete_atoms style args keyword value ... 
 
+
  • zero or more keyword/value pairs may be appended + +
  • keyword = compress + +
      compress value = no or yes 
    +

    Examples:

    delete_atoms group edge
    -delete_atoms region sphere
    +delete_atoms region sphere compress no
     delete_atoms overlap 0.3 all all
     delete_atoms overlap 0.5 solvent colloid
     delete_atoms porosity cube 0.1 
    @@ -72,10 +78,12 @@ randomly.  There is no guarantee that the exact fraction of atoms will
     be deleted, or that the same atoms will be deleted when running on
     different numbers of processors.
     

    -

    After atoms are deleted, if the system is not molecular (no bonds), -then atom IDs are re-assigned so that they run from 1 to the number of -atoms in the system. This is not done for molecular systems, since it -would foul up the bond connectivity that has already been assigned. +

    If the compress keyword is set to yes, then after atoms are +deleted, then atom IDs are re-assigned so that they run from 1 to the +number of atoms in the system. This is not done for molecular systems +(see the atom_style command), regardless of the +compress setting, since it would foul up the bond connectivity that +has already been assigned.

    Restrictions:

    @@ -98,6 +106,8 @@ deleting one atom in a bonded pair anyway.

    create_atoms

    -

    Default: none +

    Default: +

    +

    The option defaults are compress = yes.

    diff --git a/doc/delete_atoms.txt b/doc/delete_atoms.txt index ee99483af8..f8c6b58044 100644 --- a/doc/delete_atoms.txt +++ b/doc/delete_atoms.txt @@ -10,7 +10,7 @@ delete_atoms command :h3 [Syntax:] -delete_atoms style args :pre +delete_atoms style args keyword value ... :pre style = {group} or {region} or {overlap} or {porosity} :ulb,l {group} args = group-ID @@ -23,12 +23,15 @@ style = {group} or {region} or {overlap} or {porosity} :ulb,l region-ID = region within which to perform deletions fraction = delete this fraction of atoms seed = random number seed (positive integer) :pre +zero or more keyword/value pairs may be appended :l +keyword = {compress} :l + {compress} value = {no} or {yes} :pre :ule [Examples:] delete_atoms group edge -delete_atoms region sphere +delete_atoms region sphere compress no delete_atoms overlap 0.3 all all delete_atoms overlap 0.5 solvent colloid delete_atoms porosity cube 0.1 :pre @@ -67,10 +70,12 @@ randomly. There is no guarantee that the exact fraction of atoms will be deleted, or that the same atoms will be deleted when running on different numbers of processors. -After atoms are deleted, if the system is not molecular (no bonds), -then atom IDs are re-assigned so that they run from 1 to the number of -atoms in the system. This is not done for molecular systems, since it -would foul up the bond connectivity that has already been assigned. +If the {compress} keyword is set to {yes}, then after atoms are +deleted, then atom IDs are re-assigned so that they run from 1 to the +number of atoms in the system. This is not done for molecular systems +(see the "atom_style"_atom_style.html command), regardless of the +{compress} setting, since it would foul up the bond connectivity that +has already been assigned. [Restrictions:] @@ -93,4 +98,6 @@ deleting one atom in a bonded pair anyway. "create_atoms"_create_atoms.html -[Default:] none +[Default:] + +The option defaults are compress = yes.