create_jaxmd¶
- jaxrens.backends.jaxmd.create_jaxmd(potential, periodic, tersoff_params=None, tersoff_params_file=None, eam_params_file=None)[source]¶
Create a jax-md backend.
- Parameters:
potential (str) –
"tersoff"or"eam".periodic (bool) – Whether to build the displacement function over
periodic_general(True; supports dynamic cell vianew_box=kwarg) orfree(False).tersoff_params (str | None) – Inline parameter-set name (currently
"si"). Mutually exclusive withtersoff_params_file.tersoff_params_file (str | None) – Path to a LAMMPS-format Tersoff parameter file. Only single-element files are supported (jax-md’s all-pairs Tersoff is single-species).
eam_params_file (str | None) – Path to a LAMMPS DYNAMO
setflEAM file. Required forpotential="eam".
- Returns:
JaxMDBackendinstance.- Return type: