xnn.common.deploy.step_graph#

Molecular dynamics steps on a step plan, replayed as one CUDA graph.

A model whose core records step plans (AMOEBA and HIPPO, see plan_step()) evaluates a moving structure without deciding anything on the host: the plan holds the decisions, a Verlet pair list and solves of fixed length. StepGraph keeps such a plan over a run and, on a GPU, records the whole step (energy, forces and stress) once and replays it.

Functions

plan_core(model)

The submodule of model that records step plans, or None.

Classes

StepGraph(model, cutoff[, skin, margin, ...])

The steps of a molecular dynamics run, evaluated on a step plan.