IntroductionΒΆ

FlexMD is a python package providing molecular dynamics (MD) simulations using the energy evaluation methods made available by the ADF suite. A set of example scripts can be found in the examples/scmlib directory of a standard ADF installation.

FlexMD can be accessed interactively by running startpython, followed by a standard python import command for the package scm.flexmd. The python help function can be used to obtain detailed documentation about all FlexMD classes. In the following example, an inquiry of one class (the MDMolecule class) can be performed.

$ startpython
 from scm import flexmd
 help(flexmd.MDMolecule)

To leave the interactive help, press q. The help function can also be used to list the contents of the FlexMD package:

$ startpython
 from scm import flexmd
 help(flexmd)

Python can also give the help documentation as plain text:

$ startpython
 from scm import flexmd
 import pydoc
 print pydoc.render_doc(flexmd.ForceJob, "Help on %s")