diff --git a/doc/Section_start.html b/doc/Section_start.html index 2d1c658de4..00cb165ad2 100644 --- a/doc/Section_start.html +++ b/doc/Section_start.html @@ -537,7 +537,7 @@ the input script is read. "Name" is the variable name which can be a single character (referenced as $x in the input script) or a full string (referenced as ${abc}). The value can be any string. Using this command-line option is equivalent to putting the line "variable -name equal value" at the beginning of the input script. See the +name index value" at the beginning of the input script. See the variable command for more info on defining variables and this section for more info on using variables in input scripts. diff --git a/doc/Section_start.txt b/doc/Section_start.txt index a0b6de21af..aae316f666 100644 --- a/doc/Section_start.txt +++ b/doc/Section_start.txt @@ -530,7 +530,7 @@ the input script is read. "Name" is the variable name which can be a single character (referenced as $x in the input script) or a full string (referenced as $\{abc\}). The value can be any string. Using this command-line option is equivalent to putting the line "variable -name equal value" at the beginning of the input script. See the +name index value" at the beginning of the input script. See the "variable"_variable.html command for more info on defining variables and "this section"_Section_commands.html#3_2 for more info on using variables in input scripts. diff --git a/doc/variable.html b/doc/variable.html index e03c58bfeb..59c9a77f1d 100644 --- a/doc/variable.html +++ b/doc/variable.html @@ -117,6 +117,10 @@ the 1st string is assigned to the variable. Each time a string is assigned. All processors assign the same string to the variable.
+Index style variables with a single string value can also be set by +using the command-line switch -var; see this +section for details. +
The loop style is identical to the index style except that the strings are the integers from 1 to N. This allows generation of a long list of runs (e.g. 1000) without having to list N strings in the @@ -174,9 +178,6 @@ run. For example, if an equal variable is used in a this section for details. -
The next command cannot be used with equal or atom style variables, since there is only one string.
diff --git a/doc/variable.txt b/doc/variable.txt index 1c4e8250ed..3459395940 100644 --- a/doc/variable.txt +++ b/doc/variable.txt @@ -111,6 +111,10 @@ the 1st string is assigned to the variable. Each time a string is assigned. All processors assign the same string to the variable. +{Index} style variables with a single string value can also be set by +using the command-line switch -var; see "this +section"_Section_start.html#2_6 for details. + The {loop} style is identical to the {index} style except that the strings are the integers from 1 to N. This allows generation of a long list of runs (e.g. 1000) without having to list N strings in the @@ -168,9 +172,6 @@ run. For example, if an {equal} variable is used in a "fix print"_fix_print.html command, different values could be printed each timestep it was invoked. -{Equal} style variables can also be set by using the command-line -switch -var; see "this section"_Section_start.html#2_6 for details. - The next command cannot be used with {equal} or {atom} style variables, since there is only one string.