Embody


Integrators Module

Contains implementations of the integrators (aka numerical integration methods).

Functions and values

Function or value Description

integrateForwardEuler system settings

Full Usage: integrateForwardEuler system settings

Parameters:
Returns: IntegratorStep<'l, 't> array

Forward Euler integration method (commonly known as the Euler method).

system : CelestialSystem<'l, 't>
settings : IntegratorSettings<'l, 't>
Returns: IntegratorStep<'l, 't> array

integrateLeapfrog system settings

Full Usage: integrateLeapfrog system settings

Parameters:
Returns: IntegratorStep<'l, 't> array

Leapfrog method.

system : CelestialSystem<'l, 't>
settings : IntegratorSettings<'l, 't>
Returns: IntegratorStep<'l, 't> array

integrateMidpoint system settings

Full Usage: integrateMidpoint system settings

Parameters:
Returns: IntegratorStep<'l, 't> array

Midpoint integration method.

system : CelestialSystem<'l, 't>
settings : IntegratorSettings<'l, 't>
Returns: IntegratorStep<'l, 't> array

integrateRK4 system settings

Full Usage: integrateRK4 system settings

Parameters:
Returns: IntegratorStep<'l, 't> array

4th Runge-Kutta method (aka RK4).

system : CelestialSystem<'l, 't>
settings : IntegratorSettings<'l, 't>
Returns: IntegratorStep<'l, 't> array

integrateVelocityVerlet system settings

Full Usage: integrateVelocityVerlet system settings

Parameters:
Returns: IntegratorStep<'l, 't> array

Velocity Verlet method.

system : CelestialSystem<'l, 't>
settings : IntegratorSettings<'l, 't>
Returns: IntegratorStep<'l, 't> array