API Reference
This page provides the API documentation for the core components of synth-dynamics.
System
ForceField
Integrator
- class synth_dynamics.LangevinIntegrator(dt=0.1, temperature=300.0, friction=1.0)[source]
Bases:
object- step(positions, forces)[source]
Performs a single integration step.
x(t+dt) = x(t) + (dt/gamma) * F + sqrt(2 * kb * T * dt / gamma) * R
- Parameters:
positions – (N, 3) array of current positions.
forces – (N, 3) array of current forces.
- Returns:
(N, 3) array of updated positions.
- Return type:
new_positions