Commit 5cd856c9 authored by Steve Plimpton's avatar Steve Plimpton
Browse files

fix spring doc page update

parent c31f1e9f
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -89,11 +89,7 @@ NOTE: The center of mass of a group of atoms is calculated in
group can straddle a periodic boundary.  See the "dump"_dump.html doc
page for a discussion of unwrapped coordinates.  It also means that a
spring connecting two groups or a group and the tether point can cross
a periodic boundary and its length be calculated correctly.  One
exception is for rigid bodies, which should not be used with the fix
spring command, if the rigid body will cross a periodic boundary.
This is because image flags for rigid bodies are used in a different
way, as explained on the "fix rigid"_fix_rigid.html doc page.
a periodic boundary and its length be calculated correctly.  

[Restart, fix_modify, output, run start/stop, minimize info:]

+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ void AtomVecAtomic::grow(int n)
  if (n == 0) grow_nmax();
  else nmax = n;
  atom->nmax = nmax;
  if (nmax < 0)
  if (nmax < 0 || nmax > MAXSMALLINT)
    error->one(FLERR,"Per-processor system is too big");

  tag = memory->grow(atom->tag,nmax,"atom:tag");
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ void AtomVecBody::grow(int n)
  if (n == 0) grow_nmax();
  else nmax = n;
  atom->nmax = nmax;
  if (nmax < 0)
  if (nmax < 0 || nmax > MAXSMALLINT)
    error->one(FLERR,"Per-processor system is too big");

  tag = memory->grow(atom->tag,nmax,"atom:tag");
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ void AtomVecCharge::grow(int n)
  if (n == 0) grow_nmax();
  else nmax = n;
  atom->nmax = nmax;
  if (nmax < 0)
  if (nmax < 0 || nmax > MAXSMALLINT)
    error->one(FLERR,"Per-processor system is too big");

  tag = memory->grow(atom->tag,nmax,"atom:tag");
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ void AtomVecEllipsoid::grow(int n)
  if (n == 0) grow_nmax();
  else nmax = n;
  atom->nmax = nmax;
  if (nmax < 0)
  if (nmax < 0 || nmax > MAXSMALLINT)
    error->one(FLERR,"Per-processor system is too big");

  tag = memory->grow(atom->tag,nmax,"atom:tag");
Loading