remove trailing whitespace
This commit is contained in:
@ -322,7 +322,7 @@ ComputeChunkAtom::ComputeChunkAtom(LAMMPS *lmp, int narg, char **arg) :
|
||||
(dim[0] == dim[1] || dim[1] == dim[2] || dim[0] == dim[2]))
|
||||
error->all(FLERR,"Illegal compute chunk/atom command");
|
||||
if (which == BINSPHERE) {
|
||||
if (domain->dimension == 2 && sorigin_user[2] != 0.0)
|
||||
if (domain->dimension == 2 && sorigin_user[2] != 0.0)
|
||||
error->all(FLERR,"Compute chunk/atom sphere z origin must be 0.0 for 2d");
|
||||
if (sradmin_user < 0.0 || sradmin_user >= sradmax_user || nsbin < 1)
|
||||
error->all(FLERR,"Illegal compute chunk/atom command");
|
||||
@ -330,7 +330,7 @@ ComputeChunkAtom::ComputeChunkAtom(LAMMPS *lmp, int narg, char **arg) :
|
||||
if (which == BINCYLINDER) {
|
||||
if (delta[0] <= 0.0)
|
||||
error->all(FLERR,"Illegal compute chunk/atom command");
|
||||
if (domain->dimension == 2 && dim[0] != 2)
|
||||
if (domain->dimension == 2 && dim[0] != 2)
|
||||
error->all(FLERR,"Compute chunk/atom cylinder axis must be z for 2d");
|
||||
if (cradmin_user < 0.0 || cradmin_user >= cradmax_user || ncbin < 1)
|
||||
error->all(FLERR,"Illegal compute chunk/atom command");
|
||||
@ -401,7 +401,7 @@ ComputeChunkAtom::ComputeChunkAtom(LAMMPS *lmp, int narg, char **arg) :
|
||||
|
||||
if (binflag) {
|
||||
double scale;
|
||||
if (which == BIN1D || which == BIN2D || which == BIN3D ||
|
||||
if (which == BIN1D || which == BIN2D || which == BIN3D ||
|
||||
which == BINCYLINDER) {
|
||||
if (which == BIN1D || which == BINCYLINDER) ndim = 1;
|
||||
if (which == BIN2D) ndim = 2;
|
||||
@ -1305,9 +1305,9 @@ int ComputeChunkAtom::setup_sphere_bins()
|
||||
int flag = 0;
|
||||
if (periodicity[0] && sradmax > prd_half[0]) flag = 1;
|
||||
if (periodicity[1] && sradmax > prd_half[1]) flag = 1;
|
||||
if (domain->dimension == 3 &&
|
||||
if (domain->dimension == 3 &&
|
||||
periodicity[2] && sradmax > prd_half[2]) flag = 1;
|
||||
if (flag)
|
||||
if (flag)
|
||||
error->all(FLERR,"Compute chunk/atom bin/sphere radius "
|
||||
"is too large for periodic box");
|
||||
}
|
||||
@ -1370,7 +1370,7 @@ int ComputeChunkAtom::setup_cylinder_bins()
|
||||
int flag = 0;
|
||||
if (periodicity[cdim1] && sradmax > prd_half[cdim1]) flag = 1;
|
||||
if (periodicity[cdim2] && sradmax > prd_half[cdim2]) flag = 1;
|
||||
if (flag)
|
||||
if (flag)
|
||||
error->all(FLERR,"Compute chunk/atom bin/cylinder radius "
|
||||
"is too large for periodic box");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user