From 8df457d1efcd1880d77ec6d9f311b96575910c49 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Thu, 16 Apr 2015 15:09:54 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13413 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/read_data.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/read_data.cpp b/src/read_data.cpp index 5bafc0685e..4e575a268c 100644 --- a/src/read_data.cpp +++ b/src/read_data.cpp @@ -595,12 +595,14 @@ void ReadData::command(int narg, char **arg) // 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 // 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->triclinic) domain->x2lamda(atom->nlocal); domain->reset_box(); comm->init(); comm->exchange(); + if (atom->map_style) atom->map_set(); if (domain->triclinic) domain->lamda2x(atom->nlocal); bigint natoms;