make fix gcmc and fix widom compatible with USER-INTEL
this fixes #2672
This commit is contained in:
@ -2330,7 +2330,9 @@ double FixGCMC::energy_full()
|
||||
// unlike Verlet, not performing a reverse_comm() or forces here
|
||||
// b/c GCMC does not care about forces
|
||||
// don't think it will mess up energy due to any post_force() fixes
|
||||
// but Modify::pre_reverse() is needed for USER-INTEL
|
||||
|
||||
if (modify->n_pre_reverse) modify->pre_reverse(eflag,vflag);
|
||||
if (modify->n_post_force) modify->post_force(vflag);
|
||||
if (modify->n_end_of_step) modify->end_of_step();
|
||||
|
||||
|
||||
@ -1057,7 +1057,9 @@ double FixWidom::energy_full()
|
||||
// unlike Verlet, not performing a reverse_comm() or forces here
|
||||
// b/c Widom does not care about forces
|
||||
// don't think it will mess up energy due to any post_force() fixes
|
||||
// but Modify::pre_reverse() is needed for USER-INTEL
|
||||
|
||||
if (modify->n_pre_reverse) modify->pre_reverse(eflag,vflag);
|
||||
if (modify->n_pre_force) modify->pre_force(vflag);
|
||||
if (modify->n_end_of_step) modify->end_of_step();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user