The vdw_forces routine includes an If condition over ld_vdw variable from vdw_module inside the main loop. As this variable is invariant through this loop the code has been optimised by taking the test outside of the loop and generating two versions of the code, one for which If and one where it is false.

Valène Pellissier 2011-08-24