From ff991c4c53b9fd2e70e00ea9efbb4ea0dcf63ae1 Mon Sep 17 00:00:00 2001 From: Tongtong Shen Date: Tue, 24 Sep 2019 15:10:47 -0400 Subject: [PATCH] Added new keywords orientation rx ry rz to restrict random rotation --- src/MISC/fix_deposit.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MISC/fix_deposit.cpp b/src/MISC/fix_deposit.cpp index c56929d4b3..cb2b7e6531 100644 --- a/src/MISC/fix_deposit.cpp +++ b/src/MISC/fix_deposit.cpp @@ -11,10 +11,10 @@ See the README file in the top-level LAMMPS directory. ------------------------------------------------------------------------- */ -#include -#include -#include #include "fix_deposit.h" +#include +#include +#include #include "atom.h" #include "atom_vec.h" #include "molecule.h" @@ -776,7 +776,7 @@ void FixDeposit::options(int narg, char **arg) vzlo = force->numeric(FLERR,arg[iarg+1]); vzhi = force->numeric(FLERR,arg[iarg+2]); iarg += 3; - } else if (strcmp(arg[iarg],"rotation") == 0) { + } else if (strcmp(arg[iarg],"orientation") == 0) { if (iarg+4 > narg) error->all(FLERR,"Illegal fix deposit command"); rflag = 1; rx = force->numeric(FLERR,arg[iarg+1]);