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:
BaseBackendSpecLennard-Jones, computed all-pairs with optional periodic images.
Set
periodic: trueand acutofffor condensed-phase work. Mind the interaction betweencutoff, thecell:volume bounds andsupercell_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
EnergyBackendinstance.Subclasses override to pass their specific constructor kwargs.
- Return type:
- model_config = {'extra': 'forbid', 'frozen': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].