LJBackendSpec

class jaxrens.cli.schema.backend.LJBackendSpec(*, periodic=False, softcore_repulsion=None, max_neighbors_list=<factory>, max_neighbors_offset=5, max_neighbors_shrink_dwell=0, type='lj', epsilon=1.0, sigma=1.0, cutoff=None, supercell_trafo=(1, 1, 1))[source]

Bases: BaseBackendSpec

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

Set periodic: true and a cutoff for condensed-phase work. Mind the interaction between cutoff, the cell: volume bounds and supercell_trafo: the resolver warns at startup when the smallest cell the prior permits is too thin to honour the cutoff.

backend:
  type: lj
  epsilon: 1.0
  sigma: 1.0
  cutoff: 2.5
  periodic: true
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].