Removed abort condition, enabled capped force

This commit is contained in:
Oliver Henrich 2020-04-07 13:32:05 +01:00
parent 01cd32ebc2
commit 15ddbf7e9e
1 changed files with 1 additions and 1 deletions

View File

@ -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;