NEB-style reaction paths
sci-form provides three reaction-path primitives:
| Command | What it does |
|---|---|
simplified-neb-path | interpolates between two geometries and relaxes the internal images with a spring-coupled gradient step |
neb-energy | single-point energy with any NEB-capable backend |
neb-gradient | single-point energy plus the gradient of that same backend |
flowchart LR
A[Reactant coords] --> C[Linear interpolation]
B[Product coords] --> C
C --> D[Internal images]
D --> E[Backend energy + gradient]
E --> F[Spring-coupled Euler step]
F --> G[Clamped displacement]
G --> D
D --> H[Path energies]
Simplified NEB
The path is linearly interpolated into n_images points. The endpoints are fixed; each internal image is updated for n_iter iterations with
where step_size and spring_k. The displacement is clamped to a fixed maximum per image and iteration, because strained interpolation endpoints can carry very large forces. spring_k = 0 disables the spring coupling and relaxes each image independently.
This is an exploratory, low-cost path. It is not a climbing-image NEB, it does not use tangent projection, and it does not locate a transition state. Use it to inspect a plausible path, not to report a barrier.
Energy and gradient backends
--method accepts uff, mmff94, pm3, xtb (GFN2), gfn1, gfn2 and hf3c. Absolute energies are not comparable across backends: for the ethanol geometry in the catalogue, uff gives 6.993 kcal/mol, mmff94 2.325, pm3 −14379.2, xtb/gfn2 −7146.2 and hf3c −94898.5 kcal/mol. Compare energies only along a path computed with one backend.
neb-energy evaluates one SCF for pm3/xtb; neb-gradient uses the analytic gradient for uff/mmff94, the stationary-density gradient for pm3, and warm-started central differences for xtb, gfn1, gfn2 and hf3c. See reaction backends.
Output
simplified-neb-path:
{
"images": [
{"index": 0, "coords": ["..."], "potential_energy_kcal_mol": 6.993048432903878},
{"index": 1, "coords": ["..."], "potential_energy_kcal_mol": 5.493985628868082},
{"index": 2, "coords": ["..."], "potential_energy_kcal_mol": 6.993048432903878}
],
"notes": [
"Simplified NEB (uff) with spring-coupled gradient relaxation on 1 internal images.",
"Low-cost exploratory path; not a full climbing-image / tangent-projected NEB."
]
}neb-gradient returns {"energy_kcal_mol": ..., "gradient_kcal_mol_ang": [...], "method": ...} with one gradient triple per atom in input order.
Validation and limits
- Coordinates must contain exactly
3 × n_atomsfinite values. n_imagesmust be an integer in2..=1000;n_itermust be an integer ≥ 1.spring_kmust be finite and ≥ 0;step_sizefinite and > 0.- Empty or malformed SMILES and unknown backends are rejected by the path builders,
neb-energyandneb-gradient. - Multi-fragment SMILES (for example
[Cl-].CBr) are evaluated with every disconnected component; the coordinate array must cover all atoms. - Connectivity-changing paths need a topology-independent backend (
pm3,gfn1,gfn2,xtborhf3c). UFF and MMFF carry one fixed topology and are rejected by the 3D reaction path for bond-order/connectivity changes. - Single-point energy and gradient reject non-finite coordinates, a non-finite backend energy and a gradient whose length is not
3 × n_atoms. - WASM takes
n_images/n_iteras numbers and rejects negative, fractional,NaNand infinite values with{"error": ...}instead of wrapping them. list_neb_backendsmarks a backend available only when every element has parameters for it: UFF atom types, MMFF94 (H, C, N, O, F, Si, P, S, Cl, Br, I, Fe), the PM3 table, the GFN1/GFN2 tables, and HF-3c (H, C, N, O, F, P, S, Cl). Empty element lists and atomic numbers outside1..=118are errors. Availability is parameter coverage, not a promise that an SCF will converge.- Python exposes the UFF-only
compute_simplified_neb_path; the configurable backend selector and the single-point energy/gradient queries are Rust/WASM/CLI only. - The backend gradients are the same validated gradients used by
pm3-gradient,xtb-gradientand the force fields; the simplified NEB has no separate CI-NEB or transition-state gate. The Rust-only 3D CI-NEB does have ASE NEB parity gates for same-topology UFF paths and a connectivity-changing PM3 path; see reaction dynamics. - No climbing image, no tangent projection, no TS optimization, no reparameterization by arc length.
- Absolute energies are backend-specific and may be shifted arbitrarily.
Surfaces
| Surface | Entry point |
|---|---|
| CLI | simplified-neb-path, neb-energy, neb-gradient |
| Rust | compute_simplified_neb_path_configurable, neb_backend_energy_kcal, neb_backend_energy_and_gradient |
| Python | compute_simplified_neb_path (UFF) |
| WASM | compute_neb_path_with_method, compute_simplified_neb_path, neb_single_point_energy, neb_energy_and_gradient, list_neb_backends |