Fix whitespace
This commit is contained in:
@ -38,7 +38,7 @@ using the NumPy access method.
|
|||||||
for n in np.nditer(nlist):
|
for n in np.nditer(nlist):
|
||||||
print(" atom {} with ID {}".format(n,tags[n]))
|
print(" atom {} with ID {}".format(n,tags[n]))
|
||||||
|
|
||||||
Another example for extracting a full neighbor list without evaluating a
|
Another example for extracting a full neighbor list without evaluating a
|
||||||
potential is shown below.
|
potential is shown below.
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|||||||
@ -91,7 +91,7 @@ void PairZero::settings(int narg, char **arg)
|
|||||||
if ((narg != 1) && (narg != 2) && (narg != 3)) error->all(FLERR, "Illegal pair_style command");
|
if ((narg != 1) && (narg != 2) && (narg != 3)) error->all(FLERR, "Illegal pair_style command");
|
||||||
|
|
||||||
cut_global = utils::numeric(FLERR, arg[0], false, lmp);
|
cut_global = utils::numeric(FLERR, arg[0], false, lmp);
|
||||||
|
|
||||||
if (narg == 2){
|
if (narg == 2){
|
||||||
if (strcmp("nocoeff", arg[1]) == 0)
|
if (strcmp("nocoeff", arg[1]) == 0)
|
||||||
coeffflag = 0;
|
coeffflag = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user