git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4794 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2010-09-15 22:15:54 +00:00
parent cf897522fd
commit 1d3b37782f
4 changed files with 96 additions and 74 deletions

View File

@ -108,22 +108,20 @@ on timesteps when neighbor lists are rebuilt, the coordinates of an
atom written to a dump file may be slightly outside the simulation
box.
</P>
<P>When LAMMPS is running on a single processor, if the <A HREF = "atom_modify.html">atom_modify
sort</A> option is on, which it is by default, then
atoms are re-ordered periodically during a simulation, due to spatial
sorting, and hence the atom information written to dump files
<P>IMPORTANT NOTE: Unless the <A HREF = "dump_modify.html">dump_modify sort</A> option
is invoked, the lines of atom information written to dump files
(typically one line per atom) will be in an indeterminate order for
each snapshot.
each snapshot. This is even true when running on a single processor,
if the <A HREF = "atom_modify.html">atom_modify sort</A> option is on, which it is
by default. In this case atoms are re-ordered periodically during a
simulation, due to spatial sorting. It is also true when running in
parallel, because data for a single snapshot is collected from
multiple processors.
</P>
<P>When LAMMPS is running in parallel, this is also true, both due to
sorting and because data for a single snapshot is collected from
multiple processors. This is the case for the <I>atom</I>, <I>local</I>, and
<I>custom</I> styles. It is also the case for the <I>xyz</I> style if the dump
group is not <I>all</I>. It is not the case for the <I>dcd</I> and <I>xtc</I> styles
which always write atoms in sorted order. So does the <I>xyz</I> style if
the dump group is <I>all</I>. The <I>cfg</I> style supports the <I>sort</I> option
of the <A HREF = "dump_modify.html">dump_modify</A> command which allows sorting to
be turned on or off.
<P>For the <I>atom</I>, <I>custom</I>, <I>cfg</I>, and <I>local</I> styles, sorting is off by
default. For the <I>dcd</I>, <I>xtc</I>, and <I>xyz</I> styles, sorting by atom ID
is on by default. See the <A HREF = "dump_modify.html">dump_modify</A> doc page for
details.
</P>
<HR>
@ -199,14 +197,14 @@ atoms appropriately.
<P>The <I>dcd</I> style writes DCD files, a standard atomic trajectory format
used by the CHARMM, NAMD, and XPlor molecular dynamics packages. DCD
files are binary and thus may not be portable to different machines.
The dump group must be <I>all</I> for the <I>dcd</I> style. The <I>unwrap</I> option
of the <A HREF = "dump_modify.html">dump_modify</A> command allows DCD coordinates
to be written "unwrapped" by the image flags for each atom. Unwrapped
means that if the atom has passed thru a periodic boundary one or more
times, the value is printed for what the coordinate would be if it had
not been wrapped back into the periodic box. Note that these
coordinates may thus be far outside the box size stored with the
snapshot.
The number of atoms per snapshot cannot change with the <I>dcd</I> style.
The <I>unwrap</I> option of the <A HREF = "dump_modify.html">dump_modify</A> command
allows DCD coordinates to be written "unwrapped" by the image flags
for each atom. Unwrapped means that if the atom has passed thru a
periodic boundary one or more times, the value is printed for what the
coordinate would be if it had not been wrapped back into the periodic
box. Note that these coordinates may thus be far outside the box size
stored with the snapshot.
</P>
<P>The <I>xtc</I> style writes XTC files, a compressed trajectory format used
by the GROMACS molecular dynamics package, and described
@ -216,14 +214,13 @@ The precision used in XTC files can be adjusted via the
means that coordinates are stored to 1/1000 nanometer accuracy. XTC
files are portable binary files written in the NFS XDR data format, so
that any machine which supports XDR should be able to read them. The
dump group must be <I>all</I> for the <I>xtc</I> style. The <I>unwrap</I> option of
the <A HREF = "dump_modify.html">dump_modify</A> command allows XTC coordinates to
be written "unwrapped" by the image flags for each atom. Unwrapped
means that if the atom has passed thru a periodic boundary one or more
times, the value is printed for what the coordinate would be if it had
not been wrapped back into the periodic box. Note that these
coordinates may thus be far outside the box size stored with the
snapshot.
<I>unwrap</I> option of the <A HREF = "dump_modify.html">dump_modify</A> command allows
XTC coordinates to be written "unwrapped" by the image flags for each
atom. Unwrapped means that if the atom has passed thru a periodic
boundary one or more times, the value is printed for what the
coordinate would be if it had not been wrapped back into the periodic
box. Note that these coordinates may thus be far outside the box size
stored with the snapshot.
</P>
<P>The <I>xyz</I> style writes XYZ files, which is a simple text-based
coordinate format that many codes can read.

View File

@ -98,22 +98,20 @@ on timesteps when neighbor lists are rebuilt, the coordinates of an
atom written to a dump file may be slightly outside the simulation
box.
When LAMMPS is running on a single processor, if the "atom_modify
sort"_atom_modify.html option is on, which it is by default, then
atoms are re-ordered periodically during a simulation, due to spatial
sorting, and hence the atom information written to dump files
IMPORTANT NOTE: Unless the "dump_modify sort"_dump_modify.html option
is invoked, the lines of atom information written to dump files
(typically one line per atom) will be in an indeterminate order for
each snapshot.
each snapshot. This is even true when running on a single processor,
if the "atom_modify sort"_atom_modify.html option is on, which it is
by default. In this case atoms are re-ordered periodically during a
simulation, due to spatial sorting. It is also true when running in
parallel, because data for a single snapshot is collected from
multiple processors.
When LAMMPS is running in parallel, this is also true, both due to
sorting and because data for a single snapshot is collected from
multiple processors. This is the case for the {atom}, {local}, and
{custom} styles. It is also the case for the {xyz} style if the dump
group is not {all}. It is not the case for the {dcd} and {xtc} styles
which always write atoms in sorted order. So does the {xyz} style if
the dump group is {all}. The {cfg} style supports the {sort} option
of the "dump_modify"_dump_modify.html command which allows sorting to
be turned on or off.
For the {atom}, {custom}, {cfg}, and {local} styles, sorting is off by
default. For the {dcd}, {xtc}, and {xyz} styles, sorting by atom ID
is on by default. See the "dump_modify"_dump_modify.html doc page for
details.
:line
@ -189,14 +187,14 @@ atoms appropriately.
The {dcd} style writes DCD files, a standard atomic trajectory format
used by the CHARMM, NAMD, and XPlor molecular dynamics packages. DCD
files are binary and thus may not be portable to different machines.
The dump group must be {all} for the {dcd} style. The {unwrap} option
of the "dump_modify"_dump_modify.html command allows DCD coordinates
to be written "unwrapped" by the image flags for each atom. Unwrapped
means that if the atom has passed thru a periodic boundary one or more
times, the value is printed for what the coordinate would be if it had
not been wrapped back into the periodic box. Note that these
coordinates may thus be far outside the box size stored with the
snapshot.
The number of atoms per snapshot cannot change with the {dcd} style.
The {unwrap} option of the "dump_modify"_dump_modify.html command
allows DCD coordinates to be written "unwrapped" by the image flags
for each atom. Unwrapped means that if the atom has passed thru a
periodic boundary one or more times, the value is printed for what the
coordinate would be if it had not been wrapped back into the periodic
box. Note that these coordinates may thus be far outside the box size
stored with the snapshot.
The {xtc} style writes XTC files, a compressed trajectory format used
by the GROMACS molecular dynamics package, and described
@ -206,14 +204,13 @@ The precision used in XTC files can be adjusted via the
means that coordinates are stored to 1/1000 nanometer accuracy. XTC
files are portable binary files written in the NFS XDR data format, so
that any machine which supports XDR should be able to read them. The
dump group must be {all} for the {xtc} style. The {unwrap} option of
the "dump_modify"_dump_modify.html command allows XTC coordinates to
be written "unwrapped" by the image flags for each atom. Unwrapped
means that if the atom has passed thru a periodic boundary one or more
times, the value is printed for what the coordinate would be if it had
not been wrapped back into the periodic box. Note that these
coordinates may thus be far outside the box size stored with the
snapshot.
{unwrap} option of the "dump_modify"_dump_modify.html command allows
XTC coordinates to be written "unwrapped" by the image flags for each
atom. Unwrapped means that if the atom has passed thru a periodic
boundary one or more times, the value is printed for what the
coordinate would be if it had not been wrapped back into the periodic
box. Note that these coordinates may thus be far outside the box size
stored with the snapshot.
The {xyz} style writes XYZ files, which is a simple text-based
coordinate format that many codes can read.

View File

@ -36,7 +36,10 @@
<I>precision</I> arg = power-of-10 value from 10 to 1000000
<I>region</I> arg = region-ID or "none"
<I>scale</I> arg = <I>yes</I> or <I>no</I>
<I>sort</I> arg = <I>yes</I> or <I>no</I>
<I>sort</I> arg = <I>off</I> or 0 or N
off = no sorting of per-atom lines within a snapshot
0 = sort per-atom lines by atom ID
N = sort per-atom lines by the Nth column
<I>thresh</I> args = attribute operation value
attribute = same attributes (x,fy,etotal,sxx,etc) used by dump custom style
operation = "<" or "<=" or ">" or ">=" or "==" or "!="
@ -169,11 +172,21 @@ value of <I>yes</I> means atom coords are written in normalized units from
value of <I>no</I> means they are written in absolute distance units
(e.g. Angstroms or sigma).
</P>
<P>The <I>sort</I> keyword applies only to the dump <I>cfg</I> style. A sort value
of <I>yes</I> means atoms will be written into the CFG file in sorted
order, sorted by the atom ID. A value of <I>no</I> means a sort will not
be performed and that atoms may be in an indeterminate order,
depending on which processor owns which atoms.
<P>The <I>sort</I> keyword determines whether lines of per-atom output in a
snapshot are sorted or not. A sort value of <I>off</I> means they will
typically be written in indeterminate order, either in serial or
parallel. This is the case even in serial if the <A HREF = "atom_modify.html">atom_modify
sort</A> option is turned on, which it is by default, to
improve performance. A sort value of 0 means sort the output by atom
ID. A sort value of N means sort the output by the value in the Nth
column of per-atom info. The dump <I>local</I> style cannot be sorted by
atom ID, since there are typically multiple lines of output per atom.
Some dump styles, such as <I>dcd</I> and <I>xtc</I>, require sorting by atom
ID to format the output file correctly.
</P>
<P>IMPORTANT NOTE: Unless it is required by the dump style, sorting dump
file output requires extra overhead in terms of CPU and communication
cost, as well as memory.
</P>
<P>The <I>thresh</I> keyword only applies to the dump <I>custom</I> and <I>cfg</I>
styles. Multiple thresholds can be specified. Specifying "none"
@ -215,7 +228,8 @@ box size stored with the snapshot.
<LI>precision = 1000
<LI>region = none
<LI>scale = yes
<LI>sort = no
<LI>sort = off for dump styles <I>atom</I>, <I>custom</I>, <I>cfg</I>, and <I>local</I>
<LI>sort = 0 for dump styles <I>dcd</I>, <I>xtc</I>, and <I>xyz</I> meaning sort by atom ID
<LI>thresh = none
<LI>unwrap = no
</UL>

View File

@ -30,7 +30,10 @@ keyword = {append} or {every} or {flush} or {format} or {image} or {label} or {p
{precision} arg = power-of-10 value from 10 to 1000000
{region} arg = region-ID or "none"
{scale} arg = {yes} or {no}
{sort} arg = {yes} or {no}
{sort} arg = {off} or 0 or N
off = no sorting of per-atom lines within a snapshot
0 = sort per-atom lines by atom ID
N = sort per-atom lines by the Nth column
{thresh} args = attribute operation value
attribute = same attributes (x,fy,etotal,sxx,etc) used by dump custom style
operation = "<" or "<=" or ">" or ">=" or "==" or "!="
@ -162,11 +165,21 @@ value of {yes} means atom coords are written in normalized units from
value of {no} means they are written in absolute distance units
(e.g. Angstroms or sigma).
The {sort} keyword applies only to the dump {cfg} style. A sort value
of {yes} means atoms will be written into the CFG file in sorted
order, sorted by the atom ID. A value of {no} means a sort will not
be performed and that atoms may be in an indeterminate order,
depending on which processor owns which atoms.
The {sort} keyword determines whether lines of per-atom output in a
snapshot are sorted or not. A sort value of {off} means they will
typically be written in indeterminate order, either in serial or
parallel. This is the case even in serial if the "atom_modify
sort"_atom_modify.html option is turned on, which it is by default, to
improve performance. A sort value of 0 means sort the output by atom
ID. A sort value of N means sort the output by the value in the Nth
column of per-atom info. The dump {local} style cannot be sorted by
atom ID, since there are typically multiple lines of output per atom.
Some dump styles, such as {dcd} and {xtc}, require sorting by atom
ID to format the output file correctly.
IMPORTANT NOTE: Unless it is required by the dump style, sorting dump
file output requires extra overhead in terms of CPU and communication
cost, as well as memory.
The {thresh} keyword only applies to the dump {custom} and {cfg}
styles. Multiple thresholds can be specified. Specifying "none"
@ -208,6 +221,7 @@ label = ENTRIES
precision = 1000
region = none
scale = yes
sort = no
sort = off for dump styles {atom}, {custom}, {cfg}, and {local}
sort = 0 for dump styles {dcd}, {xtc}, and {xyz} meaning sort by atom ID
thresh = none
unwrap = no :ul