change chi to chi0 in improper_cossq_omp.cpp
This commit is contained in:
committed by
GitHub
parent
5251ba1465
commit
7fe804d19d
@ -134,7 +134,7 @@ void ImproperCossqOMP::eval(int nfrom, int nto, ThrData * const thr)
|
|||||||
|
|
||||||
/* Calculate the angle: */
|
/* Calculate the angle: */
|
||||||
double torangle = acos(cosphi);
|
double torangle = acos(cosphi);
|
||||||
cosphi = cos(torangle - chi[type]);
|
cosphi = cos(torangle - chi0[type]);
|
||||||
|
|
||||||
if (EFLAG) eimproper = 0.5 * k[type] * cosphi * cosphi;
|
if (EFLAG) eimproper = 0.5 * k[type] * cosphi * cosphi;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user