Skip to content

Commit

Permalink
fixed few typo
Browse files Browse the repository at this point in the history
  • Loading branch information
simongravelle committed Jun 21, 2024
1 parent cb0715f commit c1d2993
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ The molecular dynamics
.. container:: justify

Re-setting the atom ids is necessary before using the *velocity* command,
Re-setting the atom IDs is necessary before using the *velocity* command,
this is done by the *reset_atoms* command.

.. container:: justify
Expand Down Expand Up @@ -542,7 +542,7 @@ The molecular dynamics
:class: info

The *velocity set* commands impose the velocity of a group of atoms at the start of
a run, but does not enforce the velocity during the entire simulation.
a run but do not enforce the velocity during the entire simulation.
When *velocity set* is used in combination with *setforce 0 0 0*,
as is the case here, the atoms
won't feel any force during the entire simulation. According to the Newton equation,
Expand Down
8 changes: 4 additions & 4 deletions docs/sphinx/source/tutorials/level1/lennard-jones-fluid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -920,11 +920,11 @@ Restarting from a saved configuration

.. code-block:: lammps
variable number_type1_in equal count(group_type_1,region_cylinder_in)
variable number_type2_in equal count(group_type_2,region_cylinder_in)
fix myat1 all ave/time 10 200 2000 v_number_type1_in &
variable n_type1_in equal count(group_type_1,region_cylinder_in)
variable n_type2_in equal count(group_type_2,region_cylinder_in)
fix myat1 all ave/time 10 200 2000 v_n_type1_in &
file output-population1vstime.dat
fix myat2 all ave/time 10 200 2000 v_number_type2_in &
fix myat2 all ave/time 10 200 2000 v_n_type2_in &
file output-population2vstime.dat
.. container:: justify
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ System generation

Molecules are created on the *fcc 4.04* lattice
by the *create_atoms* command. The
first parameter is '0', meaning that the atom ids from the
first parameter is '0', meaning that the atom IDs from the
*RigidH2O.txt* file will be used.
The number *482793* is a seed that is
required by LAMMPS, it can be any positive integer.
Expand Down

0 comments on commit c1d2993

Please sign in to comment.