getting out of the insurance business :-)
This commit is contained in:
@ -255,7 +255,7 @@ void Balance::command(int narg, char **arg)
|
||||
options(iarg,narg,arg);
|
||||
if (wtflag) weight_storage(nullptr);
|
||||
|
||||
// insure particles are in current box & update box via shrink-wrap
|
||||
// ensure particles are in current box & update box via shrink-wrap
|
||||
// init entire system since comm->setup is done
|
||||
// comm::init needs neighbor::init needs pair::init needs kspace::init, etc
|
||||
// must reset atom map after exchange() since it clears it
|
||||
@ -1073,8 +1073,8 @@ int Balance::adjust(int n, double *split)
|
||||
double fraction;
|
||||
|
||||
// reset lo/hi based on current sum and splits
|
||||
// insure lo is monotonically increasing, ties are OK
|
||||
// insure hi is monotonically decreasing, ties are OK
|
||||
// ensure lo is monotonically increasing, ties are OK
|
||||
// ensure hi is monotonically decreasing, ties are OK
|
||||
// this effectively uses info from nearby splits
|
||||
// to possibly tighten bounds on lo/hi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user