which provides access to the current phase and the corresponding other phase for each of the phases in the pair. This allows some simplification of the phase pair loops in several sub-models and avoids the need for pointer swaps.