From 2af1949a9267dc40b375e75e713f0266435a8a01 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 6 Mar 2023 13:42:45 -0500 Subject: [PATCH] whitespace --- src/balance.cpp | 6 +++--- src/fix_balance.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/balance.cpp b/src/balance.cpp index c64f3f4c25..91b9d70378 100644 --- a/src/balance.cpp +++ b/src/balance.cpp @@ -482,11 +482,11 @@ void Balance::options(int iarg, int narg, char **arg, int sortflag_default) outflag = 1; outarg = iarg+1; iarg += 2; - + } else if (strcmp(arg[iarg],"old") == 0) { oldrcb = 1; iarg++; - + } else error->all(FLERR,"Illegal (fix) balance command"); } @@ -666,7 +666,7 @@ int *Balance::bisection() } if (triclinic) domain->lamda2x(nlocal); - + rcb->invert(sortflag); // reset RCB lo/hi bounding box to full simulation box as needed diff --git a/src/fix_balance.cpp b/src/fix_balance.cpp index 0ada3d3b1f..06274eea03 100644 --- a/src/fix_balance.cpp +++ b/src/fix_balance.cpp @@ -107,7 +107,7 @@ FixBalance::FixBalance(LAMMPS *lmp, int narg, char **arg) : balance->options(iarg,narg,arg,0); wtflag = balance->wtflag; sortflag = balance->sortflag; - + if (balance->varflag && nevery == 0) error->all(FLERR,"Fix balance nevery = 0 cannot be used with weight var"); @@ -299,7 +299,7 @@ void FixBalance::rebalance() // sortflag determines whether irregular sorts its // comm messages for reproducibility // if not, message order is random, atom order is non-deterministic - + if (domain->triclinic) domain->x2lamda(atom->nlocal); if (wtflag) balance->fixstore->disable = 0; if (lbstyle == BISECTION) irregular->migrate_atoms(sortflag,1,sendproc);