diff --git a/doc/partition.html b/doc/partition.html index 6435653681..c1c901de90 100644 --- a/doc/partition.html +++ b/doc/partition.html @@ -13,10 +13,10 @@
Syntax:
-partition style Np command ... +partition style N command ...
Examples: @@ -43,25 +43,25 @@ such a variable is used in a jump command.
The "partition" command is another mechanism for having as input script operate differently on different partitions. It is basically a 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 -partition which matches the Np argument. If the style is no -the command will be invoked on all the partitions which do not -match the Np argument. +
If the style is yes, the command will be invoked on any partition +which matches the N argument. If the style is no the command +will be invoked on all the partitions which do not match the Np +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 switch.
-Np can be specified in one of two ways. An explicit numeric value can -be used, as in the 1st example above. Or a wild-card asterisk can be -used to span a range of partition numbers. This takes the form "*" or -"*n" or "n*" or "m*n". An asterisk with no numeric values means all -partitions from 1 to N. A leading asterisk means all partitions from -1 to n (inclusive). A trailing asterisk means all partitions from n -to N (inclusive). A middle asterisk means all partitions from m to n -(inclusive). +
N can be specified in one of two ways. An explicit numeric value +can be used, as in the 1st example above. Or a wild-card asterisk can +be used to span a range of partition numbers. This takes the form "*" +or "*n" or "n*" or "m*n". An asterisk with no numeric values means +all partitions from 1 to Np. A leading asterisk means all partitions +from 1 to n (inclusive). A trailing asterisk means all partitions +from n to Np (inclusive). A middle asterisk means all partitions from +m to n (inclusive).
This command can be useful for the "run_style verlet/split" command which imposed requirements on how the processors diff --git a/doc/partition.txt b/doc/partition.txt index 65f98b545f..6fe21d6a28 100644 --- a/doc/partition.txt +++ b/doc/partition.txt @@ -10,10 +10,10 @@ partition command :h3 [Syntax:] -partition style Np command ... :pre +partition style N command ... :pre style = {yes} or {no} -Np = partition number (see asterisk form below) +N = partition number (see asterisk form below) command = any LAMMPS command :ul [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 script operate differently on different partitions. It is basically a 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 -partition which matches the Np argument. If the {style} is {no} -the command will be invoked on all the partitions which do not -match the Np argument. +If the {style} is {yes}, the command will be invoked on any partition +which matches the {N} argument. If the {style} is {no} the command +will be invoked on all the partitions which do not match the Np +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 switch"_Section_start.html#start_6. -Np can be specified in one of two ways. An explicit numeric value can -be used, as in the 1st example above. Or a wild-card asterisk can be -used to span a range of partition numbers. This takes the form "*" or -"*n" or "n*" or "m*n". An asterisk with no numeric values means all -partitions from 1 to N. A leading asterisk means all partitions from -1 to n (inclusive). A trailing asterisk means all partitions from n -to N (inclusive). A middle asterisk means all partitions from m to n -(inclusive). +{N} can be specified in one of two ways. An explicit numeric value +can be used, as in the 1st example above. Or a wild-card asterisk can +be used to span a range of partition numbers. This takes the form "*" +or "*n" or "n*" or "m*n". An asterisk with no numeric values means +all partitions from 1 to Np. A leading asterisk means all partitions +from 1 to n (inclusive). A trailing asterisk means all partitions +from n to Np (inclusive). A middle asterisk means all partitions from +m to n (inclusive). This command can be useful for the "run_style verlet/split" command which imposed requirements on how the "processors"_processors.html