there really isn't a problem with calling this compute multiple times

This commit is contained in:
Axel Kohlmeyer
2019-05-17 15:25:25 -04:00
parent fb8d31422d
commit c7eb9a8626
2 changed files with 0 additions and 10 deletions

View File

@ -158,12 +158,6 @@ void ComputeCoordAtom::init()
neighbor->requests[irequest]->half = 0; neighbor->requests[irequest]->half = 0;
neighbor->requests[irequest]->full = 1; neighbor->requests[irequest]->full = 1;
neighbor->requests[irequest]->occasional = 1; neighbor->requests[irequest]->occasional = 1;
int count = 0;
for (int i = 0; i < modify->ncompute; i++)
if (strcmp(modify->compute[i]->style,"coord/atom") == 0) count++;
if (count > 1 && comm->me == 0)
error->warning(FLERR,"More than one compute coord/atom");
} }
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */

View File

@ -97,8 +97,4 @@ E: Compute coord/atom cutoff is longer than pairwise cutoff
Cannot compute coordination at distances longer than the pair cutoff, Cannot compute coordination at distances longer than the pair cutoff,
since those atoms are not in the neighbor list. since those atoms are not in the neighbor list.
W: More than one compute coord/atom
It is not efficient to use compute coord/atom more than once.
*/ */