Notation: A binary has mass ,
separation ,
semi-major
axis ,
and period .
We define
.
A perturber
has mass
and distance .
We use standard N-body units, so
the cluster mass, length, and time scales are all 1. The mean stellar
mass is therefore
.
1. Binaries without unperturbed motion
Binaries are constrained by the following
operational parameters:
The value of
is determined primarily by the accuracy desired,
as the error incurred in binary integration scales as .
Empirically, we find that a typical error per unit time associated
with perturbed binary motion is a few times
(in standard
units, with no initial binaries). We take
(with accuracy parameter
)
for reasonable accuracy. Once
is chosen, the choice of
is dictated by by efficiency
considerations and the values of the other parameters. The number of
perturbers is
For a binary with
perturbers, we must perform
pairwise
force calculations per time step. With 200 steps per orbit and
an orbital period of
,
this implies a total of
The original implementation of perturber lists associated the list with the top-level node of a binary/multiple system and used the same list for all internal motion. The list is recomputed at each center-of-mass time step. As of August 1998, we optionally allow the use of low-level perturber lists for more efficient treatment of multiple systems. As with the top-level lists, low-level lists are updated each center-of-mass time step; membership is drawn from the top-level list, applying the same perturbation criteria for inner binaries as is used in creating the top-level list for the outer binary.
2. Unperturbed binaries
Direct integration of a lightly perturbed binary in
an orbit that is not too eccentric, with accuracy parameter
and
steps per orbit, conserves energy at the level of
(relative error) per orbit. (The number of steps is
modified over and above the standard Aarseth criterion, depending on
the mass of the binary, in order to increase the integration accuracy
for energetic binaries.) While this is a small error, it is
systematic, always decreasing the total energy of the system.
Two types of unperturbed binary motion are recognized, defined by
additional parameters:
During unperturbed motion, the internal motion of the components is treated in the kepler approximation, and the binary is followed as a point mass. The component positions and velocities are taken into account in computing the total energy of the system, however, and are updated at the end of each unperturbed step. A tidal error is incurred during pericenter reflection, as the configuration of the binary relative to the external field changes during the step with no corresponding change in acc or jerk until the end of the unperturbed motion. At present, this error is simply included in the overall integration error. It should probably be accumulated as a separate item in kira_counters. This tidal error is seen immediately in the instantaneously energy, and may also introduce an anomalously large jerk into the motions of the binary center of mass and the closest perturbers.
In order to minimize the tidal error in pericenter reflection (which often is systematic, as the same reflection configuration is typically repeated many times), is kept small-- is the standard choice. Systematic tidal errors are less of a problem for fully unperturbed motion, which proceeds an orbit at a time. Moreover, most perturbative terms are periodic in nature, and so vanish over a full orbital period, allowing to be substantially greater than . We adopt .
As a practical matter, long-lived multiple systems, such as hierarchical triples, can pose severe problems, as the inner binary is often not ``unperturbed'' by the above criteria, but the system survives for many binary periods, resulting in large energy errors. A triple system is treated as unperturbed (i.e. both the inner and outer orbits are followed as two-body motion, and the center of mass is advanced as a point mass) if
We currently (pragmatically) take and . To minimize the tidal error, both the inner and outer orbits are advanced through integral numbers of periods. Any residual error is absorbed in the same way as for binary motion.
Unperturbed binary-binary systems are treated similarly, applying the stability criterion to each interior binary separately. Hierarchical systems are treated as unperturbed if the inner system is stable (by the above definition) and the outer orbit is weakly perturbed.