git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@953 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -85,6 +85,13 @@ void ComputeAcklandAtom::init()
|
|||||||
error->warning("More than one compute ackland/atom");
|
error->warning("More than one compute ackland/atom");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ---------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
void ComputeAcklandAtom::init_list(int id, NeighList *ptr)
|
||||||
|
{
|
||||||
|
list = ptr;
|
||||||
|
}
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
void ComputeAcklandAtom::compute_peratom()
|
void ComputeAcklandAtom::compute_peratom()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -23,6 +23,7 @@ class ComputeAcklandAtom : public Compute {
|
|||||||
ComputeAcklandAtom(class LAMMPS *, int, char **);
|
ComputeAcklandAtom(class LAMMPS *, int, char **);
|
||||||
~ComputeAcklandAtom();
|
~ComputeAcklandAtom();
|
||||||
void init();
|
void init();
|
||||||
|
void init_list(int, class NeighList *);
|
||||||
void compute_peratom();
|
void compute_peratom();
|
||||||
double memory_usage();
|
double memory_usage();
|
||||||
|
|
||||||
|
|||||||
@ -470,7 +470,7 @@ void Neighbor::init()
|
|||||||
|
|
||||||
if (requests[i]->pair && requests[i]->half && requests[i]->skip == 0) {
|
if (requests[i]->pair && requests[i]->half && requests[i]->skip == 0) {
|
||||||
for (j = 0; j < nlist; j++)
|
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;
|
requests[j]->skip == 0) break;
|
||||||
if (j < nlist) {
|
if (j < nlist) {
|
||||||
requests[i]->half = 0;
|
requests[i]->half = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user