diff --git a/examples/COUPLE/python/example.py b/examples/COUPLE/python/example.py index ea268fe1ca..5ddb9fb587 100644 --- a/examples/COUPLE/python/example.py +++ b/examples/COUPLE/python/example.py @@ -1,4 +1,4 @@ -# this example requires the LAMMPS Python package (lammps.py) to be installed +# this example requires the LAMMPS Python package (python/lammps) to be installed # and LAMMPS to be loadable as shared library in LD_LIBRARY_PATH import lammps diff --git a/python/lammps/core.py b/python/lammps/core.py index 009409f48d..161583b78c 100644 --- a/python/lammps/core.py +++ b/python/lammps/core.py @@ -95,7 +95,7 @@ class lammps(object): # load liblammps.so unless name is given # if name = "g++", load liblammps_g++.so # try loading the LAMMPS shared object from the location - # of lammps.py with an absolute path, + # of the lammps package with an absolute path, # so that LD_LIBRARY_PATH does not need to be set for regular install # fall back to loading with a relative path, # typically requires LD_LIBRARY_PATH to be set appropriately @@ -319,7 +319,7 @@ class lammps(object): narg = 0 cargs = None if cmdargs: - cmdargs.insert(0,"lammps.py") + cmdargs.insert(0,"lammps") narg = len(cmdargs) for i in range(narg): if type(cmdargs[i]) is str: @@ -341,7 +341,7 @@ class lammps(object): self.comm = self.MPI.COMM_WORLD self.opened = 1 if cmdargs: - cmdargs.insert(0,"lammps.py") + cmdargs.insert(0,"lammps") narg = len(cmdargs) for i in range(narg): if type(cmdargs[i]) is str: diff --git a/src/library.h b/src/library.h index 7806903e49..14be4064ea 100644 --- a/src/library.h +++ b/src/library.h @@ -42,7 +42,7 @@ /** Data type constants for extracting data from atoms, computes and fixes * - * Must be kept in sync with the equivalent constants in lammps.py */ + * Must be kept in sync with the equivalent constants in lammps/constants.py */ enum _LMP_DATATYPE_CONST { LAMMPS_INT = 0, /*!< 32-bit integer (array) */ @@ -56,7 +56,7 @@ enum _LMP_DATATYPE_CONST { /** Style constants for extracting data from computes and fixes. * - * Must be kept in sync with the equivalent constants in lammps.py */ + * Must be kept in sync with the equivalent constants in lammps/constants.py */ enum _LMP_STYLE_CONST { LMP_STYLE_GLOBAL=0, /*!< return global data */ @@ -66,7 +66,7 @@ enum _LMP_STYLE_CONST { /** Type and size constants for extracting data from computes and fixes. * - * Must be kept in sync with the equivalent constants in lammps.py */ + * Must be kept in sync with the equivalent constants in lammps/constants.py */ enum _LMP_TYPE_CONST { LMP_TYPE_SCALAR=0, /*!< return scalar */