Module Integrate3dSource

Sourcetype method_ =
  1. | Explicit_euler
  2. | Semi_implicit_euler
  3. | Verlet
  4. | Rk4
Sourcetype spin_law =
  1. | Momentum
  2. | Spin_gyroscopic
  3. | Spin_naive
Sourcetype turn =
  1. | First_order
  2. | Exact
Sourcetype force = Vec3.t -> Vec3.t -> Vec3.t
Sourceval methods : method_ list
Sourceval name : method_ -> string
Sourceval no_force : force
Sourceval step : method_ -> ?law:spin_law -> ?turn:turn -> ?torque:Vec3.t -> force:force -> dt:float -> Body3d.t -> Body3d.t
Sourceval spin_step : ?law:spin_law -> ?turn:turn -> torque:Vec3.t -> dt:float -> Body3d.t -> Body3d.t
Sourceval explicit_euler : force:force -> dt:float -> Body3d.t -> Body3d.t
Sourceval semi_implicit_euler : force:force -> dt:float -> Body3d.t -> Body3d.t
Sourceval verlet : force:force -> dt:float -> Body3d.t -> Body3d.t
Sourceval rk4 : force:force -> dt:float -> Body3d.t -> Body3d.t