diff --git a/src/compute_coord_atom.cpp b/src/compute_coord_atom.cpp index 021d092bc4..54f4c70c71 100644 --- a/src/compute_coord_atom.cpp +++ b/src/compute_coord_atom.cpp @@ -158,12 +158,6 @@ void ComputeCoordAtom::init() neighbor->requests[irequest]->half = 0; neighbor->requests[irequest]->full = 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"); } /* ---------------------------------------------------------------------- */ diff --git a/src/compute_coord_atom.h b/src/compute_coord_atom.h index 0c1cc90f84..2a54613cc6 100644 --- a/src/compute_coord_atom.h +++ b/src/compute_coord_atom.h @@ -97,8 +97,4 @@ E: Compute coord/atom cutoff is longer than pairwise cutoff Cannot compute coordination at distances longer than the pair cutoff, 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. - */