forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13413 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
74350d06da
commit
8df457d1ef
|
@ -595,12 +595,14 @@ void ReadData::command(int narg, char **arg)
|
||||||
// do not use irregular() comm, which would not lose atoms,
|
// do not use irregular() comm, which would not lose atoms,
|
||||||
// b/c then user could specify data file box as far too big and empty
|
// b/c then user could specify data file box as far too big and empty
|
||||||
// do comm->init() but not comm->setup() b/c pair/neigh cutoffs not yet set
|
// do comm->init() but not comm->setup() b/c pair/neigh cutoffs not yet set
|
||||||
|
// need call to map_set() b/c comm->exchange clears atom map
|
||||||
|
|
||||||
if (domain->nonperiodic == 2) {
|
if (domain->nonperiodic == 2) {
|
||||||
if (domain->triclinic) domain->x2lamda(atom->nlocal);
|
if (domain->triclinic) domain->x2lamda(atom->nlocal);
|
||||||
domain->reset_box();
|
domain->reset_box();
|
||||||
comm->init();
|
comm->init();
|
||||||
comm->exchange();
|
comm->exchange();
|
||||||
|
if (atom->map_style) atom->map_set();
|
||||||
if (domain->triclinic) domain->lamda2x(atom->nlocal);
|
if (domain->triclinic) domain->lamda2x(atom->nlocal);
|
||||||
|
|
||||||
bigint natoms;
|
bigint natoms;
|
||||||
|
|
Loading…
Reference in New Issue