git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12709 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -96,6 +96,13 @@ FixDeposit::FixDeposit(LAMMPS *lmp, int narg, char **arg) :
|
||||
error->all(FLERR,"Deposition region extends outside simulation box");
|
||||
}
|
||||
|
||||
printf("BOUNDX %g %g: %g %g\n",xlo,xhi,
|
||||
domain->boxlo_bound[0],domain->boxhi_bound[0]);
|
||||
printf("BOUNDy %g %g: %g %g\n",ylo,yhi,
|
||||
domain->boxlo_bound[1],domain->boxhi_bound[1]);
|
||||
printf("BOUNDz %g %g: %g %g\n",zlo,zhi,
|
||||
domain->boxlo_bound[2],domain->boxhi_bound[2]);
|
||||
|
||||
// error check and further setup for mode = MOLECULE
|
||||
|
||||
if (atom->tag_enable == 0)
|
||||
@ -473,6 +480,10 @@ void FixDeposit::pre_exchange()
|
||||
}
|
||||
}
|
||||
|
||||
printf("INSERT %ld: %g %g %g: %g %g %g: %d\n",update->ntimestep,
|
||||
coords[0][0],coords[0][1],coords[0][2],
|
||||
newcoord[0],newcoord[1],newcoord[2],flag);
|
||||
|
||||
if (flag) {
|
||||
if (mode == ATOM) atom->avec->create_atom(ntype,coords[m]);
|
||||
else atom->avec->create_atom(ntype+onemols[imol]->type[m],coords[m]);
|
||||
|
||||
Reference in New Issue
Block a user