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

This commit is contained in:
sjplimp
2015-07-24 15:50:34 +00:00
parent 303d9b9f54
commit e91bd244af
10 changed files with 254 additions and 5 deletions

View File

@ -722,12 +722,17 @@ int ComputeChunkAtom::setup_chunks()
// assign chunk IDs to atoms
// will exclude atoms not in group or in optional region
// for binning styles, need to setup bins and their volume first
// else chunk_volume_scalar = box volume
// IDs are needed to scan for max ID and for compress()
if (binflag) {
nchunk = setup_bins();
bin_volumes();
} else {
chunk_volume_scalar = domain->xprd * domain->yprd;
if (domain->dimension == 3) chunk_volume_scalar *= domain->zprd;
}
assign_chunk_ids();
// set nchunk for chunk styles other than binning