API Reference#
Core classes#
Base class for all dynamics simulations. |
|
Base class for declarative, serializable dynamics strategies. |
|
Velocity Verlet integrator for molecular dynamics simulations. |
|
Composite dynamics engine fusing multiple sub-stages on a single GPU. |
|
Orchestrates multi-rank pipeline execution. |
Protocols and enums#
Enumeration of lifecycle stages where dynamics hooks can fire. |
Convergence#
Hook that evaluates composable convergence criteria and optionally migrates converged samples between pipeline stages. |
Constants#
Convert a string or number to a floating-point number, if possible. |
Integrators#
The algorithms are described in Integrator Algorithms.
Microcanonical (NVE) integrator via velocity Verlet. |
|
NVT integrator via BAOAB Langevin dynamics. |
|
NVT integrator via Nosé-Hoover chain (NHC) thermostat. |
|
Isothermal-isobaric (NPT) integrator via MTK barostat and NHC thermostat. |
|
Isenthalpic-isobaric (NPH) integrator via MTK barostat. |
Optimizers#
FIRE and FIREVariableCell are deprecated; see Integrator Algorithms.
Fixed-cell FIRE2 geometry optimizer. |
|
Variable-cell FIRE2 geometry optimizer. |
|
Fixed-cell L-BFGS geometry optimizer. |
|
Variable-cell L-BFGS geometry optimizer. |
Hooks#
Dynamics-specific hooks are documented in Dynamics Hooks — Stages & Usage.
General-purpose hooks (NeighborListHook,
BiasedPotentialHook,
WrapPeriodicHook), the shared profiling hooks
(StageTimingHook,
TorchProfilerHook), and the core hook protocol
are documented in Hooks — Core Framework.
Data sinks#
Abstract base class for local storage of Batch data. |
|
Sink that a consumer can grow to the capacity it needs. |
|
GPU-resident buffer for storing batched atomic data. |
|
CPU-resident buffer for storing batched atomic data. |
|
Zarr-backed storage for batched atomic data. |
Sampling#
Size-aware sampler for inflight batching. |
|
Structures served in dataset order from one position, for in-flight batching. |
|
Structures a propagator starts from, served in order from one position. |
|
Decide whether the batch being drawn still fits once a candidate joins it. |
|
Fit policy that admits a batch while its totals stay within the given bounds. |