Skip to content

JANUS

Janus is a bit-wise time-reversible high-order symplectic integrator using a mix of floating point and integer arithmetic. The basic idea and this specific implementation is described in Rein & Tamayo (2018).

Attributes

scale_pos (double)

Scale of the problem. Positions get divided by this number before the conversion to an integer. Default: 1e-16.

scale_vel (double)

Scale of the problem. Velocities get divided by this number before the conversion to an integer. Default: 1e-16.

order (uint)

The order of the scheme. Supported values: 2, 4, 6, 8, 10. Default is 6.

recalculate_integer_coordinates_this_timestep (uint)

If this flag is set, then JANUS will recalculate the integer coordinates from floating point coordinates at the next timestep.