git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13708 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user