diff --git a/doc/mass.html b/doc/mass.html index 5e690495b8..aff3ecd24d 100644 --- a/doc/mass.html +++ b/doc/mass.html @@ -30,6 +30,11 @@ mass 2* 62.5 also be set in the read_data data file. See the units command for what mass units to use.

+

Most atom styles require masses to be specified. One exception is +atom_style granular, where masses are defined for +individual atoms, not types. Pair_style eam defines +the masses of atom types in the EAM potential file. +

I 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 asterik can be used to set the mass for multiple atom types. This takes the form "*" @@ -39,9 +44,9 @@ asterik means all types from 1 to n (inclusive). A trailing asterik means all types from n to N (inclusive). A middle asterik means all types from m to n (inclusive).

-

A line in a data file that specifies mass uses the exact same format -as the arguments of the mass command in an input script, except that -no wild-card asterik can be used. For example, under the "Masses" +

A line in a data file that specifies mass uses the same format as the +arguments of the mass command in an input script, except that no +wild-card asterik can be used. For example, under the "Masses" section of a data file, the line that corresponds to the 1st example above would be listed as

@@ -58,9 +63,6 @@ style requires masses be set). They must also all be defined before a velocity or fix shake command is used.

-

Masses are not set for atom style granular. This is because each atom -is assigned an individual mass in the data or restart file. -

Related commands: none

Default: none diff --git a/doc/mass.txt b/doc/mass.txt index 11f830ddc2..617c470be9 100644 --- a/doc/mass.txt +++ b/doc/mass.txt @@ -27,6 +27,11 @@ Set the mass for all atoms of one or more atom types. Mass values can also be set in the "read_data"_read_data.html data file. See the "units"_units.html command for what mass units to use. +Most atom styles require masses to be specified. One exception is +"atom_style granular"_atom_style.html, where masses are defined for +individual atoms, not types. "Pair_style eam"_pair_eam.html defines +the masses of atom types in the EAM potential file. + I 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 asterik can be used to set the mass for multiple atom types. This takes the form "*" @@ -36,9 +41,9 @@ asterik means all types from 1 to n (inclusive). A trailing asterik means all types from n to N (inclusive). A middle asterik means all types from m to n (inclusive). -A line in a data file that specifies mass uses the exact same format -as the arguments of the mass command in an input script, except that -no wild-card asterik can be used. For example, under the "Masses" +A line in a data file that specifies mass uses the same format as the +arguments of the mass command in an input script, except that no +wild-card asterik can be used. For example, under the "Masses" section of a data file, the line that corresponds to the 1st example above would be listed as @@ -55,9 +60,6 @@ style requires masses be set). They must also all be defined before a "velocity"_velocity.html or "fix shake"_fix_shake.html command is used. -Masses are not set for atom style granular. This is because each atom -is assigned an individual mass in the data or restart file. - [Related commands:] none [Default:] none