Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 88817a719d78
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bc6b5efff855
Choose a head ref
  • 14 commits
  • 24 files changed
  • 1 contributor

Commits on Jul 4, 2021

  1. tchouk

    eggrobin committed Jul 4, 2021
    Copy the full SHA
    9b340e9 View commit details
  2. Copy the full SHA
    892a548 View commit details

Commits on Jul 5, 2021

  1. it seems to work

    eggrobin committed Jul 5, 2021
    Copy the full SHA
    ada710f View commit details
  2. merge

    eggrobin committed Jul 5, 2021
    Copy the full SHA
    0518e87 View commit details
  3. link

    eggrobin committed Jul 5, 2021
    Copy the full SHA
    750fad0 View commit details
  4. Copy the full SHA
    33b8b49 View commit details
  5. Actually add the files...

    eggrobin committed Jul 5, 2021
    Copy the full SHA
    4caf79a View commit details

Commits on Jul 6, 2021

  1. merge

    eggrobin committed Jul 6, 2021
    Copy the full SHA
    dfeacfe View commit details
  2. Copy the full SHA
    64adeca View commit details
  3. Copy the full SHA
    f673f99 View commit details
  4. no ALGOL

    eggrobin committed Jul 6, 2021
    Copy the full SHA
    d5c1608 View commit details
  5. Copy the full SHA
    02ede40 View commit details

Commits on Jul 7, 2021

  1. BOM

    eggrobin committed Jul 7, 2021
    Copy the full SHA
    4aee2ee View commit details
  2. Merge pull request #3048 from eggrobin/tchouk-tchouk

    Legible output for Instant
    eggrobin authored Jul 7, 2021
    Copy the full SHA
    bc6b5ef View commit details
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@ TOOLS_TRANSLATION_UNITS := $(wildcard tools/*.cpp)
LIBRARY_TRANSLATION_UNITS := $(filter-out $(TEST_OR_FAKE_OR_MOCK_TRANSLATION_UNITS) $(BENCHMARK_TRANSLATION_UNITS), $(wildcard */*.cpp))
ASTRONOMY_LIB_TRANSLATION_UNITS := $(filter-out $(TEST_OR_FAKE_OR_MOCK_TRANSLATION_UNITS), $(wildcard astronomy/*.cpp))
BASE_LIB_TRANSLATION_UNITS := $(filter-out $(TEST_OR_FAKE_OR_MOCK_TRANSLATION_UNITS), $(wildcard base/*.cpp))
GEOMETRY_LIB_TRANSLATION_UNITS := $(filter-out $(TEST_OR_FAKE_OR_MOCK_TRANSLATION_UNITS), $(wildcard geometry/*.cpp))
JOURNAL_LIB_TRANSLATION_UNITS := $(filter-out $(TEST_OR_FAKE_OR_MOCK_TRANSLATION_UNITS), $(wildcard journal/*.cpp))
MATHEMATICA_LIB_TRANSLATION_UNITS := $(filter-out $(TEST_OR_FAKE_OR_MOCK_TRANSLATION_UNITS), $(wildcard mathematica/*.cpp))
NUMERICS_LIB_TRANSLATION_UNITS := $(filter-out $(TEST_OR_FAKE_OR_MOCK_TRANSLATION_UNITS), $(wildcard numerics/*.cpp))
@@ -194,6 +195,7 @@ PLUGIN_OBJECTS := $(addprefix $(OBJ_DIRECTORY), $(PLUGIN_TRANSLATI
VERSION_OBJECTS := $(addprefix $(OBJ_DIRECTORY), $(VERSION_TRANSLATION_UNIT:.cc=.o))
ASTRONOMY_LIB_OBJECTS := $(addprefix $(OBJ_DIRECTORY), $(ASTRONOMY_LIB_TRANSLATION_UNITS:.cpp=.o)) $(VERSION_OBJECTS)
BASE_LIB_OBJECTS := $(addprefix $(OBJ_DIRECTORY), $(BASE_LIB_TRANSLATION_UNITS:.cpp=.o)) $(VERSION_OBJECTS)
GEOMETRY_LIB_OBJECTS := $(addprefix $(OBJ_DIRECTORY), $(GEOMETRY_LIB_TRANSLATION_UNITS:.cpp=.o)) $(VERSION_OBJECTS)
JOURNAL_LIB_OBJECTS := $(addprefix $(OBJ_DIRECTORY), $(JOURNAL_LIB_TRANSLATION_UNITS:.cpp=.o))
MATHEMATICA_LIB_OBJECTS := $(addprefix $(OBJ_DIRECTORY), $(MATHEMATICA_LIB_TRANSLATION_UNITS:.cpp=.o))
NUMERICS_LIB_OBJECTS := $(addprefix $(OBJ_DIRECTORY), $(NUMERICS_LIB_TRANSLATION_UNITS:.cpp=.o)) $(VERSION_OBJECTS)
@@ -237,7 +239,7 @@ $(TOOLS_BIN): $(TOOLS_OBJECTS) $(PROTO_OBJECTS) $(BASE_LIB_OBJECTS) $(NUMERICS_L

KSP_PLUGIN := $(PLUGIN_DIRECTORY)principia.so

$(KSP_PLUGIN) : $(PROTO_OBJECTS) $(PLUGIN_OBJECTS) $(JOURNAL_LIB_OBJECTS) $(BASE_LIB_OBJECTS) $(NUMERICS_LIB_OBJECTS) $(PHYSICS_LIB_OBJECTS)
$(KSP_PLUGIN) : $(PROTO_OBJECTS) $(PLUGIN_OBJECTS) $(JOURNAL_LIB_OBJECTS) $(BASE_LIB_OBJECTS) $(NUMERICS_LIB_OBJECTS) $(PHYSICS_LIB_OBJECTS) $(GEOMETRY_LIB_OBJECTS)
@mkdir -p $(@D)
$(CXX) $(SHAREDFLAG) $(LDFLAGS) $^ $(LIBS) -o $@

@@ -255,7 +257,7 @@ $(TEST_BINS) : $(BIN_DIRECTORY)% : $(OBJ_DIRECTORY)%.o
$(PACKAGE_TEST_BINS) : $(BIN_DIRECTORY)%test : $$(filter $(OBJ_DIRECTORY)%$$(PERCENT), $(TEST_OBJECTS))
$(PRINCIPIA_TEST_BIN) : $(TEST_OBJECTS)

$(PLUGIN_INDEPENDENT_PACKAGE_TEST_BINS) $(PLUGIN_INDEPENDENT_TEST_BINS) : $(GMOCK_OBJECTS) $(GMOCK_MAIN_OBJECT) $(PROTO_OBJECTS) $(ASTRONOMY_LIB_OBJECTS) $(MATHEMATICA_LIB_OBJECTS) $(PHYSICS_LIB_OBJECTS) $(BASE_LIB_OBJECTS) $(NUMERICS_LIB_OBJECTS)
$(PLUGIN_INDEPENDENT_PACKAGE_TEST_BINS) $(PLUGIN_INDEPENDENT_TEST_BINS) : $(GMOCK_OBJECTS) $(GMOCK_MAIN_OBJECT) $(PROTO_OBJECTS) $(ASTRONOMY_LIB_OBJECTS) $(MATHEMATICA_LIB_OBJECTS) $(PHYSICS_LIB_OBJECTS) $(BASE_LIB_OBJECTS) $(NUMERICS_LIB_OBJECTS) $(GEOMETRY_LIB_OBJECTS)
@mkdir -p $(@D)
$(CXX) $(LDFLAGS) $^ $(LIBS) -o $@

@@ -264,7 +266,7 @@ $(PLUGIN_INDEPENDENT_PACKAGE_TEST_BINS) $(PLUGIN_INDEPENDENT_TEST_BINS) : $(GMOC
# NOTE(egg): this assumes that only the plugin-dependent tests need to be linked
# against mock objects. The classes further up that are big enough to be mocked
# are likely to be highly templatized, so this will probably hold for a while.
$(PRINCIPIA_TEST_BIN) $(PLUGIN_DEPENDENT_PACKAGE_TEST_BINS) $(PLUGIN_DEPENDENT_TEST_BINS) : $(FAKE_OR_MOCK_OBJECTS) $(GMOCK_OBJECTS) $(GMOCK_MAIN_OBJECT) $(KSP_PLUGIN) $(ASTRONOMY_LIB_OBJECTS) $(MATHEMATICA_LIB_OBJECTS) $(PHYSICS_LIB_OBJECTS) $(BASE_LIB_OBJECTS) $(NUMERICS_LIB_OBJECTS)
$(PRINCIPIA_TEST_BIN) $(PLUGIN_DEPENDENT_PACKAGE_TEST_BINS) $(PLUGIN_DEPENDENT_TEST_BINS) : $(FAKE_OR_MOCK_OBJECTS) $(GMOCK_OBJECTS) $(GMOCK_MAIN_OBJECT) $(KSP_PLUGIN) $(ASTRONOMY_LIB_OBJECTS) $(MATHEMATICA_LIB_OBJECTS) $(PHYSICS_LIB_OBJECTS) $(BASE_LIB_OBJECTS) $(NUMERICS_LIB_OBJECTS) $(GEOMETRY_LIB_OBJECTS)
@mkdir -p $(@D)
$(CXX) $(LDFLAGS) $^ $(TEST_LIBS) $(LIBS) -lpthread -o $@

@@ -292,7 +294,7 @@ PACKAGE_BENCHMARK_TARGET := $(patsubst $(BIN_DIRECTORY)%, %, $(PACKAGE_BENCHMARK

PRINCIPIA_BENCHMARK_BIN := $(BIN_DIRECTORY)benchmark

$(PRINCIPIA_BENCHMARK_BIN) : $(BENCHMARK_OBJECTS) $(FAKE_OR_MOCK_OBJECTS) $(GMOCK_OBJECTS) $(KSP_PLUGIN) $(BASE_LIB_OBJECTS) $(NUMERICS_LIB_OBJECTS) $(PHYSICS_LIB_OBJECTS) $(ASTRONOMY_LIB_OBJECTS)
$(PRINCIPIA_BENCHMARK_BIN) : $(BENCHMARK_OBJECTS) $(FAKE_OR_MOCK_OBJECTS) $(GMOCK_OBJECTS) $(KSP_PLUGIN) $(BASE_LIB_OBJECTS) $(NUMERICS_LIB_OBJECTS) $(PHYSICS_LIB_OBJECTS) $(ASTRONOMY_LIB_OBJECTS) $(GEOMETRY_LIB_OBJECTS)
@mkdir -p $(@D)
$(CXX) $(LDFLAGS) $^ $(TEST_LIBS) -lpthread -o $@

1 change: 1 addition & 0 deletions astronomy/astronomy.vcxproj
Original file line number Diff line number Diff line change
@@ -104,6 +104,7 @@
<ItemGroup>
<ClCompile Include="..\base\bundle.cpp" />
<ClCompile Include="..\base\cpuid.cpp" />
<ClCompile Include="..\geometry\instant_output.cpp" />
<ClCompile Include="..\numerics\cbrt.cpp" />
<ClCompile Include="..\physics\protector.cpp" />
<ClCompile Include="date_time_test.cpp" />
3 changes: 3 additions & 0 deletions astronomy/astronomy.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -332,5 +332,8 @@
<ClCompile Include="..\base\cpuid.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\geometry\instant_output.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
3 changes: 3 additions & 0 deletions astronomy/time_scales.hpp
Original file line number Diff line number Diff line change
@@ -85,8 +85,11 @@ constexpr DateTime TTSecond(Instant const& t);
// TODO(egg): TTMillisecond, but this is trickier because we use binary
// floating-point. UTC would be nice, too.

constexpr Instant DateTimeAsTT(DateTime const& tt);

} // namespace internal_time_scales

using internal_time_scales::DateTimeAsTT;
using internal_time_scales::EarthRotationAngle;
using internal_time_scales::Parse北斗Time;
using internal_time_scales::ParseGPSTime;
2 changes: 1 addition & 1 deletion astronomy/time_scales_body.hpp
Original file line number Diff line number Diff line change
@@ -578,7 +578,7 @@ inline Instant Parse北斗Time(std::string const& s) {
constexpr Date TTDay(Instant const& t) {
// We use a cast as a constexpr version of a floor; this is only correct with
// a positive JD, but we do not support dates before JD0.5 anyway.
CONSTEXPR_CHECK(t > "JD0.5"_TT);
CONSTEXPR_CHECK(t >= "JD0.5"_TT);
std::int64_t jd_minus_half =
static_cast<std::int64_t>((t - "JD0.5"_TT) / Day);
// We want operations rounded toward negative infinity, but we also don’t
1 change: 1 addition & 0 deletions benchmarks/benchmarks.vcxproj
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@
<ItemGroup>
<ClCompile Include="..\astronomy\standard_product_3.cpp" />
<ClCompile Include="..\base\cpuid.cpp" />
<ClCompile Include="..\geometry\instant_output.cpp" />
<ClCompile Include="..\ksp_plugin\planetarium.cpp" />
<ClCompile Include="..\numerics\cbrt.cpp" />
<ClCompile Include="..\numerics\elliptic_integrals.cpp" />
3 changes: 3 additions & 0 deletions benchmarks/benchmarks.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -89,6 +89,9 @@
<ClCompile Include="..\base\cpuid.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\geometry\instant_output.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="quantities.hpp">
2 changes: 2 additions & 0 deletions geometry/geometry.vcxproj
Original file line number Diff line number Diff line change
@@ -67,6 +67,8 @@
<ClCompile Include="grassmann_test.cpp" />
<ClCompile Include="hilbert_test.cpp" />
<ClCompile Include="identity_test.cpp" />
<ClCompile Include="instant_output.cpp" />
<ClCompile Include="instant_output_test.cpp" />
<ClCompile Include="pair_test.cpp" />
<ClCompile Include="perspective_test.cpp" />
<ClCompile Include="point_test.cpp" />
6 changes: 6 additions & 0 deletions geometry/geometry.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -238,5 +238,11 @@
<ClCompile Include="..\base\cpuid.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="instant_output.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="instant_output_test.cpp">
<Filter>Test Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
50 changes: 50 additions & 0 deletions geometry/instant_output.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@

#include <limits>
#include <string_view>

#include "absl/strings/str_format.h"
#include "astronomy/time_scales.hpp"
#include "geometry/named_quantities.hpp"

namespace principia {
namespace geometry {
namespace internal_point {

using astronomy::DateTimeAsTT;
using astronomy::J2000;
using astronomy::operator""_TT;
using astronomy::TTSecond;
using quantities::Time;
using quantities::si::Second;

std::ostream& operator<<(std::ostream& os, Instant const& t) {
Time const from_j2000 = t - J2000;
// Dates before JD0.5 and after the year 9999 are not supported; Sterbenz’s
// lemma fails to apply in the second before J2000, we need to print the
// sign of 0 for J2000 itself, and the second after J2000 has fractions of a
// second that are too small to be reasonably printed in fixed format.
if (t >= "JD0.5"_TT && t < "9999-12-31T24:00:00"_TT &&
!(t > J2000 - 1 * Second && t < J2000 + 1 * Second)) {
auto const tt_second = TTSecond(t);
Instant const start_of_second = DateTimeAsTT(tt_second);
// This subtraction is exact by Sterbenz’s lemma.
Time const remainder = t - start_of_second;
// |remainder| being the result of a subtraction of numbers greater than or
// equal to 1, it is a multiple of 2u ≈ 2×10⁻¹⁶; 16 fractional decimal
// digits suffice to unambiguously represent it (alternatively, as shown by
// the static_assert, 17 decimal places are necessary, of which 16 are
// fractional for numbers in [1, 10[; the integer part is taken care of by
// |tt_second|).
static_assert(std::numeric_limits<double>::max_digits10 - 1 == 16);
return os << tt_second << ","
<< std::string_view(absl::StrFormat("%.16f", remainder / Second))
.substr(2)
<< " (TT)";
}
// The operator<< on the Time prints the requisite sign.
return os << "J2000" << from_j2000 << " (TT)";
}

} // namespace internal_point
} // namespace geometry
} // namespace principia
123 changes: 123 additions & 0 deletions geometry/instant_output_test.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@

#include <strstream>

#include "astronomy/time_scales.hpp"
#include "geometry/named_quantities.hpp"
#include "geometry/sign.hpp"
#include "gtest/gtest.h"
#include "gmock/gmock.h"

namespace principia {
namespace geometry {

using astronomy::InfiniteFuture;
using astronomy::InfinitePast;
using astronomy::J2000;
using astronomy::operator""_TT;
using astronomy::operator""_UT1;
using astronomy::operator""_UTC;
using quantities::Time;
using quantities::si::Second;
using ::testing::Eq;

class InstantOutputTest : public ::testing::Test {};

TEST_F(InstantOutputTest, UniversalTime) {
// Note that since we are roughly twelve hours from J2000, we expect
// log₁₀(12 h / 1 s), between four and five, of the printed digits to be
// unrepresentable: our granularity is about seven picoseconds. This is
// obvious in the case of UTC, which is offset from TT(TAI) by an integer
// number of milliseconds at any time.
EXPECT_THAT((std::stringstream() << "2000-01-01T00:00:00"_UTC).str(),
Eq("2000-01-01T00:01:04,1840000000011059 (TT)"));
EXPECT_THAT(
(std::stringstream() << JustAfter("2000-01-01T00:00:00"_UTC)).str(),
Eq("2000-01-01T00:01:04,1840000000083819 (TT)"));

EXPECT_THAT((std::stringstream() << "2000-01-01T00:00:00"_UT1).str(),
Eq("2000-01-01T00:01:03,8286119957119809 (TT)"));

// A second after J2000, the granularity is a couple tenths of femtoseconds.
EXPECT_THAT((std::stringstream() << "2000-01-01T11:58:56,816"_UTC).str(),
Eq("2000-01-01T12:00:01,0000000000000000 (TT)"));
EXPECT_THAT(
(std::stringstream() << JustAfter("2000-01-01T11:58:56,816"_UTC)).str(),
Eq("2000-01-01T12:00:01,0000000000000002 (TT)"));
// TODO(egg): This is horribly misrounded because of the 32.184 in |FromTAI|;
// we should be doing that in |DateTime| arithmetic.
EXPECT_THAT((std::stringstream() << "2000-01-01T11:58:56,817"_UTC).str(),
Eq("2000-01-01T12:00:01,0009999999999977 (TT)"));

// Times from VA501, see https://esamultimedia.esa.int/docs/esa-x-1819eng.pdf.
// The granularity around that time is about fifteen nanoseconds.
constexpr Instant H₀ = "1996-06-04T12:33:59"_UTC;
constexpr Instant backup_sri_malfunction = H₀ + 36.672 * Second;
constexpr Instant nominal_sri_malfunction = H₀ + 36.749 * Second;
EXPECT_THAT((std::stringstream() << H₀).str(),
Eq("1996-06-04T12:35:01,1840000003576279 (TT)"));
EXPECT_THAT((std::stringstream() << backup_sri_malfunction).str(),
Eq("1996-06-04T12:35:37,8560000061988831 (TT)"));
EXPECT_THAT((std::stringstream() << nominal_sri_malfunction).str(),
Eq("1996-06-04T12:35:37,9329999983310699 (TT)"));
}

TEST_F(InstantOutputTest, J2000) {
EXPECT_THAT((std::stringstream() << "2000-01-01T11:59:59"_TT).str(),
Eq("2000-01-01T11:59:59,0000000000000000 (TT)"));
EXPECT_THAT(
(std::stringstream() << JustAfter("2000-01-01T11:59:59"_TT)).str(),
Eq("J2000-9.99999999999999889e-01 s (TT)"));
EXPECT_THAT((std::stringstream() << JustBefore(J2000)).str(),
Eq("J2000-4.94065645841246544e-324 s (TT)"));
EXPECT_THAT((std::stringstream() << JustAfter(JustBefore(J2000))).str(),
Eq("J2000-0.00000000000000000e+00 s (TT)"));
EXPECT_THAT((std::stringstream() << J2000).str(),
Eq("J2000+0.00000000000000000e+00 s (TT)"));
EXPECT_THAT((std::stringstream() << JustAfter(J2000)).str(),
Eq("J2000+4.94065645841246544e-324 s (TT)"));
EXPECT_THAT(
(std::stringstream() << JustBefore("2000-01-01T12:00:01"_TT)).str(),
Eq("J2000+9.99999999999999889e-01 s (TT)"));
EXPECT_THAT((std::stringstream() << "2000-01-01T12:00:01"_TT).str(),
Eq("2000-01-01T12:00:01,0000000000000000 (TT)"));
// 2000-01-01T11:58:55,816 UTC is J2000, and UT1 is within a second of UTC, so
// this is within a second of J2000.
EXPECT_THAT((std::stringstream() << "2000-01-01T11:58:55,816"_UT1).str(),
Eq("J2000-3.54947059731458125e-01 s (TT)"));
}

TEST_F(InstantOutputTest, DistantPast) {
// Note that near JD0, our granularity is about thirty microseconds.
EXPECT_THAT((std::stringstream() << JustAfter("JD0.5"_TT)).str(),
Eq("J-4712-01-02T00:00:00,0000305175781250 (TT)"));
EXPECT_THAT((std::stringstream() << "JD0.5"_TT).str(),
Eq("J-4712-01-02T00:00:00,0000000000000000 (TT)"));
EXPECT_THAT((std::stringstream() << JustBefore("JD0.5"_TT)).str(),
Eq("J2000-2.11813444800000031e+11 s (TT)"));
}

TEST_F(InstantOutputTest, DistantFuture) {
// Likewise in the year 10000, our granularity is about thirty microseconds.
EXPECT_THAT(
(std::stringstream() << JustBefore("9999-12-31T24:00:00"_TT)).str(),
Eq("9999-12-31T23:59:59,9999694824218750 (TT)"));
EXPECT_THAT((std::stringstream() << "9999-12-31T24:00:00"_TT).str(),
Eq("J2000+2.52455572800000000e+11 s (TT)"));
}

TEST_F(InstantOutputTest, InfinitePast) {
EXPECT_THAT((std::stringstream() << JustAfter(InfinitePast)).str(),
Eq("J2000-1.79769313486231571e+308 s (TT)"));
EXPECT_THAT((std::stringstream() << InfinitePast).str(),
Eq("J2000-inf s (TT)"));
}

TEST_F(InstantOutputTest, InfiniteFuture) {
EXPECT_THAT((std::stringstream() << JustBefore(InfiniteFuture)).str(),
Eq("J2000+1.79769313486231571e+308 s (TT)"));
EXPECT_THAT((std::stringstream() << InfiniteFuture).str(),
Eq("J2000+inf s (TT)"));
}

} // namespace geometry
} // namespace principia
5 changes: 5 additions & 0 deletions geometry/named_quantities.hpp
Original file line number Diff line number Diff line change
@@ -43,5 +43,10 @@ using InertiaTensor =
constexpr Instant JustAfter(Instant const t) { return NextUp(t); }
constexpr Instant JustBefore(Instant const t) { return NextDown(t); }

namespace internal_point {
// We must declare this in the internal namespace where Point is defined so that
// it is found by ADL.
std::ostream& operator<<(std::ostream& os, const Instant& t);
} // namespace internal_point
} // namespace geometry
} // namespace principia
1 change: 1 addition & 0 deletions integrators/integrators.vcxproj
Original file line number Diff line number Diff line change
@@ -38,6 +38,7 @@
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\base\cpuid.cpp" />
<ClCompile Include="..\geometry\instant_output.cpp" />
<ClCompile Include="embedded_explicit_generalized_runge_kutta_nyström_integrator_test.cpp" />
<ClCompile Include="embedded_explicit_runge_kutta_nyström_integrator_test.cpp" />
<ClCompile Include="symmetric_linear_multistep_integrator_test.cpp" />
3 changes: 3 additions & 0 deletions integrators/integrators.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -91,5 +91,8 @@
<ClCompile Include="..\base\cpuid.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\geometry\instant_output.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions ksp_plugin/ksp_plugin.vcxproj
Original file line number Diff line number Diff line change
@@ -65,6 +65,7 @@
<ClCompile Include="..\base\flags.cpp" />
<ClCompile Include="..\base\version.generated.cc" />
<ClCompile Include="..\base\zfp_compressor.cpp" />
<ClCompile Include="..\geometry\instant_output.cpp" />
<ClCompile Include="..\journal\profiles.cpp" />
<ClCompile Include="..\journal\recorder.cpp" />
<ClCompile Include="..\numerics\cbrt.cpp" />
3 changes: 3 additions & 0 deletions ksp_plugin/ksp_plugin.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -181,6 +181,9 @@
<ClCompile Include="..\base\cpuid.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\geometry\instant_output.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\serialization\journal.proto" />
1 change: 1 addition & 0 deletions ksp_plugin_test/ksp_plugin_test.vcxproj
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@
<ClCompile Include="..\base\flags.cpp" />
<ClCompile Include="..\base\version.generated.cc" />
<ClCompile Include="..\base\zfp_compressor.cpp" />
<ClCompile Include="..\geometry\instant_output.cpp" />
<ClCompile Include="..\journal\profiles.cpp" />
<ClCompile Include="..\journal\recorder.cpp" />
<ClCompile Include="..\ksp_plugin\celestial.cpp" />
3 changes: 3 additions & 0 deletions ksp_plugin_test/ksp_plugin_test.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -194,6 +194,9 @@
<ClCompile Include="..\base\cpuid.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\geometry\instant_output.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="mock_plugin.hpp">
1 change: 1 addition & 0 deletions mathematica/mathematica.vcxproj
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@
<ItemGroup>
<ClCompile Include="..\base\bundle.cpp" />
<ClCompile Include="..\base\cpuid.cpp" />
<ClCompile Include="..\geometry\instant_output.cpp" />
<ClCompile Include="..\numerics\cbrt.cpp" />
<ClCompile Include="..\physics\protector.cpp" />
<ClCompile Include="error_analysis_test.cpp" />
3 changes: 3 additions & 0 deletions mathematica/mathematica.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -41,6 +41,9 @@
<ClCompile Include="..\base\cpuid.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\geometry\instant_output.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="mathematica.hpp">
1 change: 1 addition & 0 deletions numerics/numerics.vcxproj
Original file line number Diff line number Diff line change
@@ -80,6 +80,7 @@
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\base\cpuid.cpp" />
<ClCompile Include="..\geometry\instant_output.cpp" />
<ClCompile Include="apodization_test.cpp" />
<ClCompile Include="cbrt.cpp" />
<ClCompile Include="cbrt_test.cpp" />
Loading