correct factor 2 force error for m=1 in angle style cosine/periodic
This commit is contained in:
@ -117,7 +117,7 @@ void AngleCosinePeriodic::compute(int eflag, int vflag)
|
||||
tn = 1.0;
|
||||
tn_1 = 1.0;
|
||||
tn_2 = 0.0;
|
||||
un = 1.0;
|
||||
un = (m==1) ? 2.0 : 1.0;
|
||||
un_1 = 2.0;
|
||||
un_2 = 0.0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user