fix copy and paste bug
This commit is contained in:
@ -229,7 +229,7 @@ void FixRigidSmallOMP::compute_forces_and_torques()
|
||||
#if defined(_OPENMP)
|
||||
#pragma omp parallel for LMP_DEFAULT_NONE schedule(static)
|
||||
#endif
|
||||
for (int ibody = 0; ibody < nbody; ibody++) {
|
||||
for (int ibody = 0; ibody < nlocal_body; ibody++) {
|
||||
double * _noalias const fcm = body[ibody].fcm;
|
||||
const double mass = body[ibody].mass;
|
||||
fcm[0] += gvec[0]*mass;
|
||||
|
||||
Reference in New Issue
Block a user