deMonPy.modules.dyn
Back to DeMonNanoPy API Reference
Description
Molecular dynamics workflow (registry key "md").
Source file: deMonPy/modules/dyn.py
Classes
_dyn (modules)
Simple molecular dynamics driver with configurable temperature, velocities and trajectory output.
Methods
| Method | Signature | Description |
|---|---|---|
__init__ |
__init__(context, **kwargs) |
Attach the calculator context. |
update_mddynamics |
update_mddynamics(velocities=None, temp=300, wall=None) |
Set MD parameters (temperature, velocities, wall time). |
update_mdstep |
update_mdstep(max=100, out=1) |
Set number of MD steps and output frequency. |
update_time_step |
update_time_step(timestep=0.4) |
Set the MD time step (fs). |
add_trajectory_output |
add_trajectory_output(out_traj=True) |
Enable trajectory (deMon.traj) output. |
forward |
forward(image=None, restart=False, temp=300, velocities=None, **kwds) |
Run the MD workflow for one or more images. |