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