Line data Source code
1 0 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : #pragma once 5 : 6 : #include "DataStructures/VariablesTag.hpp" 7 : #include "Evolution/Systems/GeneralizedHarmonic/BoundaryConditions/BoundaryCondition.hpp" 8 : #include "Evolution/Systems/GeneralizedHarmonic/BoundaryCorrections/BoundaryCorrection.hpp" 9 : #include "Evolution/Systems/GeneralizedHarmonic/Characteristics.hpp" 10 : #include "Evolution/Systems/GeneralizedHarmonic/Equations.hpp" 11 : #include "Evolution/Systems/GeneralizedHarmonic/TimeDerivative.hpp" 12 : #include "PointwiseFunctions/GeneralRelativity/Tags.hpp" 13 : #include "Utilities/TMPL.hpp" 14 : 15 : /// \cond 16 : class DataVector; 17 : /// \endcond 18 : 19 : /*! 20 : * \ingroup EvolutionSystemsGroup 21 : * \brief Items related to evolving the first-order generalized harmonic system. 22 : */ 23 : namespace gh { 24 : template <size_t Dim> 25 0 : struct System { 26 0 : static constexpr bool is_in_flux_conservative_form = false; 27 0 : static constexpr bool has_primitive_and_conservative_vars = false; 28 0 : static constexpr size_t volume_dim = Dim; 29 0 : static constexpr bool is_euclidean = false; 30 : 31 0 : using boundary_conditions_base = BoundaryConditions::BoundaryCondition<Dim>; 32 0 : using boundary_correction_base = BoundaryCorrections::BoundaryCorrection<Dim>; 33 : 34 0 : using variables_tag = ::Tags::Variables< 35 : tmpl::list<gr::Tags::SpacetimeMetric<DataVector, Dim>, 36 : Tags::Pi<DataVector, Dim>, Tags::Phi<DataVector, Dim>>>; 37 0 : using flux_variables = tmpl::list<>; 38 0 : using gradient_variables = 39 : tmpl::list<gr::Tags::SpacetimeMetric<DataVector, Dim>, 40 : Tags::Pi<DataVector, Dim>, Tags::Phi<DataVector, Dim>>; 41 0 : using gradients_tags = gradient_variables; 42 : 43 0 : using compute_volume_time_derivative_terms = TimeDerivative<Dim>; 44 0 : using normal_dot_fluxes = ComputeNormalDotFluxes<Dim>; 45 : 46 0 : using compute_largest_characteristic_speed = 47 : Tags::ComputeLargestCharacteristicSpeed<Dim, Frame::Inertial>; 48 : 49 0 : using inverse_spatial_metric_tag = 50 : gr::Tags::InverseSpatialMetric<DataVector, Dim>; 51 : }; 52 : } // namespace gh