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

This commit is contained in:
sjplimp 2007-10-04 19:32:14 +00:00
parent 7d398e213b
commit 60da95b755
3 changed files with 9 additions and 1 deletions

View File

@ -85,6 +85,13 @@ void ComputeAcklandAtom::init()
error->warning("More than one compute ackland/atom");
}
/* ---------------------------------------------------------------------- */
void ComputeAcklandAtom::init_list(int id, NeighList *ptr)
{
list = ptr;
}
/* ---------------------------------------------------------------------- */
void ComputeAcklandAtom::compute_peratom()
{

View File

@ -23,6 +23,7 @@ class ComputeAcklandAtom : public Compute {
ComputeAcklandAtom(class LAMMPS *, int, char **);
~ComputeAcklandAtom();
void init();
void init_list(int, class NeighList *);
void compute_peratom();
double memory_usage();

View File

@ -470,7 +470,7 @@ void Neighbor::init()
if (requests[i]->pair && requests[i]->half && requests[i]->skip == 0) {
for (j = 0; j < nlist; j++)
if (requests[i]->pair && requests[j]->full &&
if (requests[j]->pair && requests[j]->full &&
requests[j]->skip == 0) break;
if (j < nlist) {
requests[i]->half = 0;