enhanced stochastic wall example

This commit is contained in:
Steve Plimpton
2020-01-14 13:20:35 -07:00
parent b9c6e0f700
commit ceeae57172
16 changed files with 893 additions and 52 deletions

View File

@ -149,7 +149,7 @@ double RanMars::besselexp(double theta, double alpha, double cp)
{
double first,v1,v2;
if (theta < 0.0 || alpha < 0.0 || alpha < 1.0)
if (theta < 0.0 || alpha < 0.0 || alpha > 1.0)
error->all(FLERR,"Invalid Bessel exponential distribution parameters");
v1 = uniform();