BaseBackendSpec¶
- class jaxrens.cli.schema.backend.BaseBackendSpec(*, periodic=False, softcore_repulsion=None, max_neighbors_list=<factory>, max_neighbors_offset=5, max_neighbors_shrink_dwell=0)[source]¶
Bases:
BaseModelFields shared by every backend type.
- Parameters:
- model_config = {'extra': 'forbid', 'frozen': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to_backend_config()[source]¶
Produce the library
BackendConfigdataclass.Subclasses override
_backend_config_extrasto inject their specific fields (checkpoint_path, cutoff, etc.). Shared fields (periodic, max_neighbors_list/offset) are handled here.n_atomsis derived from the initial walker positions at resolve time, not stored on the backend spec.- Return type: