Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to restrict coordination number by group #1464

merged 4 commits into from May 21, 2019
Changes from 1 commit
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now

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

  • Loading branch information...
akohlmey committed May 17, 2019
commit c7eb9a86262b1553a10cddef98982580f9b31b82
@@ -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");

/* ---------------------------------------------------------------------- */
@@ -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.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.