Line data Source code
1 0 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : #pragma once 5 : 6 : #include <cstddef> 7 : 8 : #include "PointwiseFunctions/AnalyticSolutions/GeneralRelativity/Ccz4WrappedGr.hpp" 9 : #include "PointwiseFunctions/AnalyticSolutions/GeneralRelativity/GaugePlaneWave.hpp" 10 : #include "PointwiseFunctions/AnalyticSolutions/GeneralRelativity/GaugeWave.hpp" 11 : #include "PointwiseFunctions/AnalyticSolutions/GeneralRelativity/HarmonicSchwarzschild.hpp" 12 : #include "PointwiseFunctions/AnalyticSolutions/GeneralRelativity/KerrSchild.hpp" 13 : #include "PointwiseFunctions/AnalyticSolutions/GeneralRelativity/Minkowski.hpp" 14 : #include "PointwiseFunctions/AnalyticSolutions/GeneralRelativity/SphericalKerrSchild.hpp" 15 : #include "PointwiseFunctions/AnalyticSolutions/GeneralRelativity/TrumpetSchwarzschild.hpp" 16 : #include "PointwiseFunctions/AnalyticSolutions/GeneralRelativity/WrappedGr.hpp" 17 : #include "Utilities/TMPL.hpp" 18 : 19 0 : namespace gh::Solutions { 20 : /// \brief List of all GH analytic solutions 21 : template <size_t Dim> 22 1 : using all_solutions = 23 : tmpl::append<tmpl::list<WrappedGr<gr::Solutions::GaugePlaneWave<Dim>>, 24 : WrappedGr<gr::Solutions::GaugeWave<Dim>>, 25 : WrappedGr<gr::Solutions::Minkowski<Dim>>>, 26 : tmpl::conditional_t< 27 : Dim == 3, 28 : tmpl::list<WrappedGr<gr::Solutions::HarmonicSchwarzschild>, 29 : WrappedGr<gr::Solutions::KerrSchild>, 30 : WrappedGr<gr::Solutions::SphericalKerrSchild>, 31 : WrappedGr<gr::Solutions::TrumpetSchwarzschild>>, 32 : tmpl::list<>>>; 33 : } // namespace gh::Solutions 34 : 35 : namespace Ccz4::Solutions { 36 : /// \brief List of all Ccz4 analytic solutions 37 : /// Right now it only makes sense to do TrumpetSchwarzschild or time-independent 38 : /// solutions because we can either use 1+log slicing with Gamma-driver 39 : /// or not evolve the lapse and shift at all. We will allow analytic 40 : /// lapse and shift in the future. 41 1 : using all_solutions = 42 : tmpl::list<Ccz4WrappedGr<gr::Solutions::KerrSchild>, 43 : Ccz4WrappedGr<gr::Solutions::Minkowski<3>>, 44 : Ccz4WrappedGr<gr::Solutions::TrumpetSchwarzschild>>; 45 : } // namespace Ccz4::Solutions