Removed abort condition, enabled capped force

This commit is contained in:
Oliver Henrich 2020-04-08 08:23:34 +01:00
parent 15ddbf7e9e
commit 1fed78eecf
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ double BondOxdnaFene::single(int type, double rsq, int /*i*/, int /*j*/,
sprintf(str,"FENE bond too long: " BIGINT_FORMAT " %g", sprintf(str,"FENE bond too long: " BIGINT_FORMAT " %g",
update->ntimestep,sqrt(rsq)); update->ntimestep,sqrt(rsq));
error->warning(FLERR,str,0); error->warning(FLERR,str,0);
if (rlogarg <= -8.0) error->one(FLERR,"Bad FENE bond"); rlogarg = 0.1;
} }
double eng = -0.5 * k[type]*log(rlogarg); double eng = -0.5 * k[type]*log(rlogarg);