odisseo package#

Submodules#

Module contents#

odisseo.construct_initial_state(position, velocity)[source]#

Constructs the initial state for the simulation.

Parameters:
  • position (jnp.ndarray) – Initial positions of the bodies.

  • velocity (jnp.ndarray) – Initial velocities of the bodies.

Returns:

jnp.ndarray – The initial state containing positions and velocities.