forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2229 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
2470451226
commit
8dceec24a4
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -687,5 +687,6 @@ void Special::combine()
|
|||
|
||||
// re-create map
|
||||
|
||||
atom->nghost = 0;
|
||||
atom->map_set();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue