jaxrens.cli.schema.backend

Pydantic schema for the [backend] section of a jaxrens YAML config.

Each concrete spec class carries exactly the fields its constructor accepts. to_backend_config() and build_backend() are the seam between the CLI config layer and the library core — they replace the flat backend schema dispatch that used to live in cli/resolve.py.

Classes

BaseBackendSpec

Fields shared by every backend type.

DoubleWellBackendSpec

Toy double-well potential with a tunable barrier.

GaussianMixtureBackendSpec

Toy multi-modal Gaussian mixture.

HarmonicBackendSpec

Toy isotropic harmonic well about the origin.

JaxMDBackendSpec

jax-md classical analytic potentials (Tersoff, EAM).

LJBackendSpec

Lennard-Jones, computed all-pairs with optional periodic images.

MACEBackendSpec

MACE-JAX message-passing potential.

NequixBackendSpec

Nequix message-passing potential.

NeuralILBackendSpec

NeuralIL machine-learned potential loaded from a pickle.

RENSToyBackendSpec

Two particles in a periodic 1-D box — the RENS-paper toy model.

SoftCoreSpec

Fixed repulsive Morse soft-core term.