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

This commit is contained in:
sjplimp
2011-12-14 16:33:36 +00:00
parent e79e5b975c
commit f5c26abaa6
2 changed files with 32 additions and 32 deletions

View File

@ -13,10 +13,10 @@
</H3> </H3>
<P><B>Syntax:</B> <P><B>Syntax:</B>
</P> </P>
<PRE>partition style Np command ... <PRE>partition style N command ...
</PRE> </PRE>
<UL><LI>style = <I>yes</I> or <I>no</I> <UL><LI>style = <I>yes</I> or <I>no</I>
<LI>Np = partition number (see asterisk form below) <LI>N = partition number (see asterisk form below)
<LI>command = any LAMMPS command <LI>command = any LAMMPS command
</UL> </UL>
<P><B>Examples:</B> <P><B>Examples:</B>
@ -43,25 +43,25 @@ such a variable is used in a <A HREF = "jump.html">jump</A> command.
<P>The "partition" command is another mechanism for having as input <P>The "partition" command is another mechanism for having as input
script operate differently on different partitions. It is basically a script operate differently on different partitions. It is basically a
prefix on any LAMMPS command. The commmand will only be invoked on prefix on any LAMMPS command. The commmand will only be invoked on
the partition(s) specified by the <I>style</I> and <I>Np</I> arguments. the partition(s) specified by the <I>style</I> and <I>N</I> arguments.
</P> </P>
<P>If the <I>style</I> is <I>yes</I>, the command will be invoked on any <P>If the <I>style</I> is <I>yes</I>, the command will be invoked on any partition
partition which matches the Np argument. If the <I>style</I> is <I>no</I> which matches the <I>N</I> argument. If the <I>style</I> is <I>no</I> the command
the command will be invoked on all the partitions which do not will be invoked on all the partitions which do not match the Np
match the Np argument. argument.
</P> </P>
<P>Partitions are numbered from 1 to N, where N is the number of <P>Partitions are numbered from 1 to Np, where Np is the number of
partitions specified by the <A HREF = "Section_start.html#start_6">-partition command-line partitions specified by the <A HREF = "Section_start.html#start_6">-partition command-line
switch</A>. switch</A>.
</P> </P>
<P>Np can be specified in one of two ways. An explicit numeric value can <P><I>N</I> can be specified in one of two ways. An explicit numeric value
be used, as in the 1st example above. Or a wild-card asterisk can be can be used, as in the 1st example above. Or a wild-card asterisk can
used to span a range of partition numbers. This takes the form "*" or be used to span a range of partition numbers. This takes the form "*"
"*n" or "n*" or "m*n". An asterisk with no numeric values means all or "*n" or "n*" or "m*n". An asterisk with no numeric values means
partitions from 1 to N. A leading asterisk means all partitions from all partitions from 1 to Np. A leading asterisk means all partitions
1 to n (inclusive). A trailing asterisk means all partitions from n from 1 to n (inclusive). A trailing asterisk means all partitions
to N (inclusive). A middle asterisk means all partitions from m to n from n to Np (inclusive). A middle asterisk means all partitions from
(inclusive). m to n (inclusive).
</P> </P>
<P>This command can be useful for the "run_style verlet/split" command <P>This command can be useful for the "run_style verlet/split" command
which imposed requirements on how the <A HREF = "processors.html">processors</A> which imposed requirements on how the <A HREF = "processors.html">processors</A>

View File

@ -10,10 +10,10 @@ partition command :h3
[Syntax:] [Syntax:]
partition style Np command ... :pre partition style N command ... :pre
style = {yes} or {no} style = {yes} or {no}
Np = partition number (see asterisk form below) N = partition number (see asterisk form below)
command = any LAMMPS command :ul command = any LAMMPS command :ul
[Examples:] [Examples:]
@ -40,25 +40,25 @@ such a variable is used in a "jump"_jump.html command.
The "partition" command is another mechanism for having as input The "partition" command is another mechanism for having as input
script operate differently on different partitions. It is basically a script operate differently on different partitions. It is basically a
prefix on any LAMMPS command. The commmand will only be invoked on prefix on any LAMMPS command. The commmand will only be invoked on
the partition(s) specified by the {style} and {Np} arguments. the partition(s) specified by the {style} and {N} arguments.
If the {style} is {yes}, the command will be invoked on any If the {style} is {yes}, the command will be invoked on any partition
partition which matches the Np argument. If the {style} is {no} which matches the {N} argument. If the {style} is {no} the command
the command will be invoked on all the partitions which do not will be invoked on all the partitions which do not match the Np
match the Np argument. argument.
Partitions are numbered from 1 to N, where N is the number of Partitions are numbered from 1 to Np, where Np is the number of
partitions specified by the "-partition command-line partitions specified by the "-partition command-line
switch"_Section_start.html#start_6. switch"_Section_start.html#start_6.
Np can be specified in one of two ways. An explicit numeric value can {N} can be specified in one of two ways. An explicit numeric value
be used, as in the 1st example above. Or a wild-card asterisk can be can be used, as in the 1st example above. Or a wild-card asterisk can
used to span a range of partition numbers. This takes the form "*" or be used to span a range of partition numbers. This takes the form "*"
"*n" or "n*" or "m*n". An asterisk with no numeric values means all or "*n" or "n*" or "m*n". An asterisk with no numeric values means
partitions from 1 to N. A leading asterisk means all partitions from all partitions from 1 to Np. A leading asterisk means all partitions
1 to n (inclusive). A trailing asterisk means all partitions from n from 1 to n (inclusive). A trailing asterisk means all partitions
to N (inclusive). A middle asterisk means all partitions from m to n from n to Np (inclusive). A middle asterisk means all partitions from
(inclusive). m to n (inclusive).
This command can be useful for the "run_style verlet/split" command This command can be useful for the "run_style verlet/split" command
which imposed requirements on how the "processors"_processors.html which imposed requirements on how the "processors"_processors.html