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

This commit is contained in:
sjplimp 2008-11-07 15:47:56 +00:00
parent 2470451226
commit 8dceec24a4
6 changed files with 6 additions and 0 deletions

View File

@ -473,6 +473,7 @@ void FixPour::pre_exchange()
atom->tag_extend();
atom->natoms += nnear - nprevious;
if (atom->map_style) {
atom->nghost = 0;
atom->map_init();
atom->map_set();
}

View File

@ -151,6 +151,7 @@ void CreateAtoms::command(int narg, char **arg)
if (atom->natoms <= MAXATOMS) atom->tag_extend();
if (atom->map_style) {
atom->nghost = 0;
atom->map_init();
atom->map_set();
}

View File

@ -311,6 +311,7 @@ void FixDeposit::pre_exchange()
atom->tag_extend();
atom->natoms += 1;
if (atom->map_style) {
atom->nghost = 0;
atom->map_init();
atom->map_set();
}

View File

@ -382,6 +382,7 @@ void Replicate::command(int narg, char **arg)
// create global mapping and bond topology now that system is defined
if (atom->map_style) {
atom->nghost = 0;
atom->map_init();
atom->map_set();
}

View File

@ -687,5 +687,6 @@ void Special::combine()
// re-create map
atom->nghost = 0;
atom->map_set();
}

View File

@ -193,6 +193,7 @@ void Velocity::create(int narg, char **arg)
if (atom->map_style == 0) {
mapflag = 1;
atom->map_style = 1;
atom->nghost = 0;
atom->map_init();
atom->map_set();
}