mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@953 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
7d398e213b
commit
60da95b755
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue