diff --git a/src/fix_deposit.cpp b/src/fix_deposit.cpp index b1031a52c8..55c8ec4842 100644 --- a/src/fix_deposit.cpp +++ b/src/fix_deposit.cpp @@ -65,7 +65,7 @@ FixDeposit::FixDeposit(LAMMPS *lmp, int narg, char **arg) : options(narg-7,&arg[7]); - // error check on region and its extent being inside simulation box + // error checks on region and its extent being inside simulation box if (iregion == -1) error->all("Must specify a region in fix deposit"); if (domain->regions[iregion]->bboxflag == 0) diff --git a/src/fix_move.cpp b/src/fix_move.cpp index 32680e9c33..38a4bd4be4 100644 --- a/src/fix_move.cpp +++ b/src/fix_move.cpp @@ -491,12 +491,12 @@ void FixMove::initial_integrate(int vflag) } } - // for rotate: - // P = vector = point of rotation + // for rotate by right-hand rule around omega: + // P = point = vector = point of rotation // R = vector = axis of rotation // w = omega of rotation (from period) - // X0 = initial coord of atom - // R0 = unit vector for R + // X0 = xoriginal = initial coord of atom + // R0 = runit = unit vector for R // C = (X0 dot R0) R0 = projection of atom coord onto R // D = X0 - P = vector from P to X0 // A = D - C = vector from R line to X0