diff --git a/doc/src/pg_python.rst b/doc/src/pg_python.rst index 87310d43e7..37cfb2c6db 100644 --- a/doc/src/pg_python.rst +++ b/doc/src/pg_python.rst @@ -248,7 +248,7 @@ to "compute" what the next LAMMPS command should be. L.command("region box block 0 10 0 5 -0.5 0.5") - With the PyLammps interface, any LAMMPS command can be split up into arbitrary parts. + With the PyLammps interface, any LAMMPS command can be split up into arbitrary parts. These parts are then passed to a member function with the name of the command. For the ``region`` command that means the :code:`region` method can be called. The arguments of the command can be passed as one string, or diff --git a/python/lammps.py b/python/lammps.py index 832a7f3d4d..b9786f7c9b 100644 --- a/python/lammps.py +++ b/python/lammps.py @@ -486,7 +486,7 @@ class lammps(object): function of the C-library interface. Its documentation includes a list of the supported keywords and their data types. Since Python needs to know the data type to be able to interpret - the result, by default, this function will try to auto-detect the data + the result, by default, this function will try to auto-detect the data type by asking the library. You can also force a specific data type. For that purpose the :py:mod:`lammps` module contains the constants ``LAMMPS_INT``, ``LAMMPS_INT_2D``, ``LAMMPS_DOUBLE``,