RENSToyBackendSpec

class jaxrens.cli.schema.backend.RENSToyBackendSpec(*, periodic=False, softcore_repulsion=None, max_neighbors_list=<factory>, max_neighbors_offset=5, max_neighbors_shrink_dwell=0, type='rens_toy', eps_rep=10.0, h_rep=8.0, eps_attr=1.0, mu=1.0, sigma=0.2, r_cut=3.0, n_images=8)[source]

Bases: BaseBackendSpec

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

Multi-modal in (a, d) despite its simplicity, which makes it the cheapest way to see replica exchange actually do something: independent runs at different pressures settle into different basins, and the swaps are what rescue them.

Drive it with the lattice_1d and distance_1d moves — the general 3-D cell moves scale isotropically and would break the diag(a, 1, 1) cell this backend relies on. See RENSToyBackend for the embedding.

backend:
  type: rens_toy
  periodic: true
  mu: 1.0
  sigma: 0.2
  r_cut: 3.0
Parameters:
build_backend()[source]

Construct and return the EnergyBackend instance.

Subclasses override to pass their specific constructor kwargs.

Return type:

EnergyBackend

model_config = {'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].