Skip to content
Snippets Groups Projects
Commit d171263f authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@611 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent a694a2cc
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,11 @@ mass 2* 62.5
also be set in the <A HREF = "read_data.html">read_data</A> data file. See the
<A HREF = "units.html">units</A> command for what mass units to use.
</P>
<P>Most atom styles require masses to be specified. One exception is
<A HREF = "atom_style.html">atom_style granular</A>, where masses are defined for
individual atoms, not types. <A HREF = "pair_eam.html">Pair_style eam</A> defines
the masses of atom types in the EAM potential file.
</P>
<P>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).
</P>
<P>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"
<P>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
</P>
......@@ -58,9 +63,6 @@ style requires masses be set). They must also all be defined before a
<A HREF = "velocity.html">velocity</A> or <A HREF = "fix_shake.html">fix shake</A> command is
used.
</P>
<P>Masses are not set for atom style granular. This is because each atom
is assigned an individual mass in the data or restart file.
</P>
<P><B>Related commands:</B> none
</P>
<P><B>Default:</B> none
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment