mythos.simulators.jax_md.jaxmd
A sampler based on running a jax_md simulation routine.
Attributes
Classes
A sampler based on running a jax_md simulation routine. |
Functions
|
Builds the run function for the jax_md simulation. |
Module Contents
- mythos.simulators.jax_md.jaxmd.SIM_STATE
- class mythos.simulators.jax_md.jaxmd.JaxMDSimulator[source]
Bases:
mythos.simulators.base.SimulatorA sampler based on running a jax_md simulation routine.
- energy_fn: mythos.energy.base.EnergyFunction
- simulator_params: mythos.simulators.jax_md.utils.StaticSimulatorParams
- space: jax_md.space.Space
- simulator_init: collections.abc.Callable[[collections.abc.Callable, collections.abc.Callable], jax_md.simulate.Simulator]
- mythos.simulators.jax_md.jaxmd.build_run_fn(energy_fn: mythos.energy.base.EnergyFunction, simulator_params: mythos.simulators.jax_md.utils.StaticSimulatorParams, space: jax_md.space.Space, simulator_init: collections.abc.Callable[[collections.abc.Callable, collections.abc.Callable], jax_md.simulate.Simulator], neighbors: mythos.simulators.jax_md.utils.NeighborHelper) collections.abc.Callable[[dict[str, float], jax_md.rigid_body.RigidBody, int, jax.random.PRNGKey], mythos.input.trajectory.Trajectory][source]
Builds the run function for the jax_md simulation.