External Potential Force

class halmd.mdsim.forces.external(args)

Construct external potential force.

Parameters:

The module computes the force on the particles due to an external potential. Recomputation is triggered by the signals on_force and on_prepend_force of args.particle.

potential

Instance of halmd.mdsim.potentials.external.

disconnect()

Disconnect force from profiler and particle module.

on_prepend_apply(slot)

Connect nullary slot function to signal. The signal is emitted before the force computation.

Returns:signal connection
on_append_apply(slot)

Connect nullary slot function to signal. The signal is emitted after the force computation.

Returns:signal connection