cutoff. In this case, if the distance r between
two atoms is less than the cutoff, then the forces are calculated as
specified above. If r is greater than the cutoff, then the forces
and energies are simply set to 0. But this method leads to a discontinuity
in the force field. As atoms move within the cutoff distance, there
electrostatic and van der Waals energies suddenly jump from 0 to some
finite value.
The other means of dealing with these cutoffs provided by NAMD is
switching functions. These functions smoothly bring the forces and energies
to 0 at the cutoff distance to avoid any discontinuities in the force field.
These switching functions are equivalent to those used in X-PLOR when
the VSWitch and SHIft options are specified. They are
activated using the switching parameter in the configuration file.
There are different switching functions used for electrostatics and
van der Waals. For electrostatics, the energy function is modified
to be