Simulate

Simulator

Core simulation loop.

jax_sph.simulate.simulate(cfg: DictConfig)[source]

Core simulation loop.

This function is the main entry point for the simulation and does the following:

  1. Initialize the 1) case, 2) solver, 3) neighbor list, 4) integrator.

  2. Run the simulation loop and optionally write states.