git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12262 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2014-08-06 20:56:34 +00:00
parent 2861c9dfd3
commit 0e4940441e
2 changed files with 7 additions and 5 deletions

View File

@ -488,14 +488,16 @@ int *Balance::bisection(int sortflag)
rcb->invert(sortflag);
// NOTE: this logic is specific to orthogonal boxes, not triclinic
// NOTE: check this: insure comm->rcbcut will be exactly equal to sub-box boundaries it touches
// store RCB cut, dim, lo/hi box in CommTiled
// cut and lo/hi need to be in fractional form so can
// OK if changes by epsilon from what RCB used since particles
// will subsequently migrate to new owning procs by exchange() anyway
// ditto for particles exactly on lo/hi RCB box boundaries due to ties
comm->rcbnew = 1;
int idim = rcb->cutdim;
//double split = (rcb->cut - boxlo[idim]) / prd[idim];
//comm->rcbcut = boxlo[idim] + prd[idim]*split;
comm->rcbcutfrac = (rcb->cut - boxlo[idim]) / prd[idim];
comm->rcbcutdim = idim;