Commit 200bd6c5 authored by Stan Moore's avatar Stan Moore
Browse files

Rename ring_neighbors command since Steve doesn't like underscores in command names

parent b29a5558
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ comm_modify keyword value ... :pre

zero or more keyword/value pairs may be appended :ulb,l
keyword = {mode} or {cutoff} or {cutoff/multi} or {group} or {vel} or
{ring_neighbors} :l
{ring/neighbors} :l
  {mode} value = {single} or {multi} = communicate atoms within a single or multiple distances
  {cutoff} value = Rcut (distance units) = communicate atoms from this far away
  {cutoff/multi} type value
@@ -22,7 +22,7 @@ keyword = {mode} or {cutoff} or {cutoff/multi} or {group} or {vel} or
     value = Rcut (distance units) = communicate atoms for selected types from this far away
  {group} value = group-ID = only communicate atoms in the group
  {vel} value = {yes} or {no} = do or do not communicate velocity info with ghost atoms :pre
  {ring_neighbors} value = {yes} or {no} = do or do not use optimize ring
  {ring/neighbors} value = {yes} or {no} = do or do not use optimize ring
communication to only nearest neighbors :pre
:ule

@@ -146,7 +146,7 @@ with its "remap v" option enabled, then the velocities for ghost atoms
also include components due to any velocity shift that occurs across
that boundary (e.g. due to dilation or shear).

The {ring_neighbors} keyword enables an optimization to perform ring
The {ring/neighbors} keyword enables an optimization to perform ring
communications only to nearest neighbor processors for supported
communication operations. This can result in substabtial speedups for
calculations using a very large number of processors.
@@ -163,5 +163,5 @@ Communication mode {multi} is currently only available for
[Default:]

The option defauls are mode = single, group = all, cutoff = 0.0, vel =
no, ring_neighbors = no.  The cutoff default of 0.0 means that ghost
no, ring/neighbors = no.  The cutoff default of 0.0 means that ghost
cutoff = neighbor cutoff = pairwise force cutoff + neighbor skin.
+1 −1
Original line number Diff line number Diff line
@@ -309,7 +309,7 @@ void Comm::modify_params(int narg, char **arg)
      else if (strcmp(arg[iarg+1],"no") == 0) ghost_velocity = 0;
      else error->all(FLERR,"Illegal comm_modify command");
      iarg += 2;
    } else if (strcmp(arg[iarg],"ring_neighbors") == 0) {
    } else if (strcmp(arg[iarg],"ring/neighbors") == 0) {
      if (iarg+2 > narg) error->all(FLERR,"Illegal comm_modify command");
      if (strcmp(arg[iarg+1],"yes") == 0) neighborflag = 1;
      else if (strcmp(arg[iarg+1],"no") == 0) neighborflag = 0;