<commit_before>﻿#pragma once

#include <memory>
#include <vector>

#include "geometry/named_quantities.hpp"
#include "physics/n_body_system.hpp"
#include "quantities/quantities.hpp"

namespace principia {
namespace testing_utilities {

// A reference frame with a basis.
// The frame is the International Celestial Reference Frame.
// The basis is defined from the orbit of the Earth at J2000.0 as follows:
// The xy plane is the plane of the Earth's orbit at J2000.0.
// The x axis is out along the ascending node of the instantaneous plane of the
// Earth's orbit and the Earth's mean equator at J2000.0.
// The z axis is perpendicular to the xy-plane in the directional (+ or -) sense
// of Earth's north pole at J2000.0.
// The basis is direct and orthonormal.
struct ICRFJ2000Ecliptic;
// The xy plane is the plane of the Earth's mean equator at J2000.0.
// The x axis is out along the ascending node of the instantaneous plane of the
// Earth's orbit and the Earth's mean equator at J2000.0.
// The z axis is along the Earth's mean north pole at J2000.0
struct ICRFJ2000Equator;
geometry::Position<ICRFJ2000Ecliptic> const kSolarSystemBarycentre;

class SolarSystem {
 public:
  using Bodies = std::vector<std::unique_ptr<physics::Body const> const>;

  // The indices of the bodies in the |Bodies| vector.<commit_msg>rotation<commit_after>﻿#pragma once

#include <memory>
#include <vector>

#include "geometry/named_quantities.hpp"
#include "physics/n_body_system.hpp"
#include "quantities/quantities.hpp"

namespace principia {
namespace testing_utilities {

// A reference frame with a basis.
// The frame is the International Celestial Reference Frame.
// The basis is defined from the orbit of the Earth at J2000.0 as follows:
// The xy plane is the plane of the Earth's orbit at J2000.0.
// The x axis is out along the ascending node of the instantaneous plane of the
// Earth's orbit and the Earth's mean equator at J2000.0.
// The z axis is perpendicular to the xy-plane in the directional (+ or -) sense
// of Earth's north pole at J2000.0.
// The basis is right-handed and orthonormal.
struct ICRFJ2000Ecliptic;
// The xy plane is the plane of the Earth's mean equator at J2000.0.
// The x axis is out along the ascending node of the instantaneous plane of the
// Earth's orbit and the Earth's mean equator at J2000.0.
// The z axis is along the Earth's mean north pole at J2000.0.
// The basis is right-handed and orthonormal.
// Note that |ICRFJ2000Equator| and |ICRFJ2000Ecliptic| share their x axis.
struct ICRFJ2000Equator;
geometry::Position<ICRFJ2000Ecliptic> const kSolarSystemBarycentre;

class SolarSystem {
 public:
  using Bodies = std::vector<std::unique_ptr<physics::Body const> const>;

  // The indices of the bodies in the |Bodies| vector.
{'fraction_non_alphanumeric': 0.08333333333333333, 'fraction_numerical': 0.0367965367965368, 'mean_word_length': 4.06946983546618, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4607029', 'n_tokens_mistral': 928, 'n_tokens_neox': 826, 'n_words': 370}