[lammps-users] typo err in compute_ackland_atom.cpp?


I saw the words in the following in the file “compute_ackland_atom.cpp”:

void ComputeAcklandAtom::init()
{
// need an occasional full neighbor list
int irequest = neighbor->request((void *) this);
neighbor->requests[irequest]->pair = 0;
neighbor->requests[irequest]->compute = 1;
neighbor->requests[irequest]->half = 0;
neighbor->requests[irequest]->full = 1;
neighbor->requests[irequest]->occasional = 1;

but then I also see:

void ComputeAcklandAtom::compute_peratom()
{
int i,j,ii,jj,k,n,inum,jnum;
double xtmp,ytmp,ztmp,delx,dely,delz,rsq;
int *ilist,*jlist,*numneigh,firstneigh;
int chi[8];
invoked_peratom = update->ntimestep;
// grow structure array if necessary
if (atom->nlocal > nmax) {
memory->sfree(structure);
nmax = atom->nmax;
structure = (double )
memory->smalloc(nmax
sizeof(double),“compute/ackland/atom:ackland”);
vector_atom = structure;
}
// invoke half neighbor list (will copy or build if necessary)
neighbor->build_one(list->index);

Is the words " // invoke half neighbor list (will copy or build if necessary)"
should be
" // invoke full neighbor list (will copy or build if necessary)"**

Thanks

Xiaoliang
|

yes - the 2nd comment should say full.

Steve