jax_dna.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
- jax_dna.simulators.jax_md.jaxmd.REQUIRED_KEYS
- jax_dna.simulators.jax_md.jaxmd.ERR_MISSING_REQUIRED_KEYS = 'Missing required keys: {}'
- jax_dna.simulators.jax_md.jaxmd.SIM_STATE
- class jax_dna.simulators.jax_md.jaxmd.JaxMDSimulator[source]
Bases:
jax_dna.simulators.base.BaseSimulationA sampler based on running a jax_md simulation routine.
- energy_configs: list[jax_dna.energy.configuration.BaseConfiguration]
- energy_fns: list[jax_dna.energy.base.BaseEnergyFunction]
- simulator_params: jax_dna.simulators.jax_md.utils.StaticSimulatorParams
- space: jax_md.space.Space
- transform_fn: collections.abc.Callable
- simulator_init: collections.abc.Callable[[collections.abc.Callable, collections.abc.Callable], jax_md.simulate.Simulator]
- topology: jax_dna.input.topology.Topology
- jax_dna.simulators.jax_md.jaxmd.build_run_fn(energy_configs: list[jax_dna.energy.configuration.BaseConfiguration], energy_fns: list[jax_dna.energy.base.BaseEnergyFunction], simulator_params: jax_dna.simulators.jax_md.utils.StaticSimulatorParams, space: jax_md.space.Space, transform_fn: collections.abc.Callable, simulator_init: collections.abc.Callable[[collections.abc.Callable, collections.abc.Callable], jax_md.simulate.Simulator], neighbors: jax_dna.simulators.jax_md.utils.NeighborHelper) collections.abc.Callable[[dict[str, float], jax_md.rigid_body.RigidBody, int, jax.random.PRNGKey], jax_dna.input.trajectory.Trajectory][source]
Builds the run function for the jax_md simulation.