Commit 15ddbf7e authored by Oliver Henrich's avatar Oliver Henrich
Browse files

Removed abort condition, enabled capped force

parent 01cd32eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -221,7 +221,7 @@ void BondOxdnaFene::compute(int eflag, int vflag)
              TAGINT_FORMAT " " TAGINT_FORMAT " %g",
              update->ntimestep,atom->tag[a],atom->tag[b],r);
      error->warning(FLERR,str,0);
      if (rlogarg <= -8.0) error->one(FLERR,"Bad FENE bond");
      rlogarg = 0.1;
    }

    fbond = -k[type]*rr0/rlogarg/Deltasq/r;