SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Systems/CurvedScalarWave - System.hpp Hit Total Coverage
Commit: 1f2210958b4f38fdc0400907ee7c6d5af5111418 Lines: 0 15 0.0 %
Date: 2025-12-05 05:03:31
Legend: Lines: hit not hit

          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 "DataStructures/Tensor/EagerMath/Magnitude.hpp"
       9             : #include "DataStructures/VariablesTag.hpp"
      10             : #include "Evolution/Systems/CurvedScalarWave/BoundaryConditions/BoundaryCondition.hpp"
      11             : #include "Evolution/Systems/CurvedScalarWave/Characteristics.hpp"
      12             : #include "Evolution/Systems/CurvedScalarWave/Tags.hpp"
      13             : #include "Evolution/Systems/CurvedScalarWave/TimeDerivative.hpp"
      14             : #include "PointwiseFunctions/GeneralRelativity/Tags.hpp"
      15             : #include "Utilities/TMPL.hpp"
      16             : 
      17             : /*!
      18             :  * \ingroup EvolutionSystemsGroup
      19             :  * \brief Items related to evolving a scalar wave on a curved background
      20             :  */
      21             : namespace CurvedScalarWave {
      22             : 
      23             : template <size_t Dim>
      24           0 : struct System {
      25           0 :   static constexpr bool is_in_flux_conservative_form = false;
      26           0 :   static constexpr bool has_primitive_and_conservative_vars = false;
      27           0 :   static constexpr size_t volume_dim = Dim;
      28           0 :   static constexpr bool is_euclidean = false;
      29             : 
      30           0 :   using boundary_conditions_base = BoundaryConditions::BoundaryCondition<Dim>;
      31             : 
      32           0 :   using variables_tag =
      33             :       ::Tags::Variables<tmpl::list<Tags::Psi, Tags::Pi, Tags::Phi<Dim>>>;
      34           0 :   using flux_variables = tmpl::list<>;
      35           0 :   using gradient_variables = tmpl::list<Tags::Psi, Tags::Pi, Tags::Phi<Dim>>;
      36             : 
      37             :   // Relic alias: needs to be removed once all evolution systems
      38             :   // convert to using dg::ComputeTimeDerivative
      39           0 :   using gradients_tags = gradient_variables;
      40             : 
      41           0 :   using spacetime_tag_list = tmpl::list<
      42             :       gr::Tags::Lapse<DataVector>,
      43             :       ::Tags::deriv<gr::Tags::Lapse<DataVector>, tmpl::size_t<Dim>,
      44             :                     Frame::Inertial>,
      45             :       gr::Tags::Shift<DataVector, volume_dim>,
      46             :       ::Tags::deriv<gr::Tags::Shift<DataVector, Dim>, tmpl::size_t<Dim>,
      47             :                     Frame::Inertial>,
      48             :       gr::Tags::SpatialMetric<DataVector, volume_dim>,
      49             :       gr::Tags::InverseSpatialMetric<DataVector, volume_dim>,
      50             :       gr::Tags::TraceSpatialChristoffelSecondKind<DataVector, volume_dim>,
      51             :       gr::Tags::TraceExtrinsicCurvature<DataVector>>;
      52             : 
      53           0 :   using compute_volume_time_derivative_terms = TimeDerivative<Dim>;
      54             : 
      55           0 :   using compute_largest_characteristic_speed =
      56             :       Tags::ComputeLargestCharacteristicSpeed<Dim>;
      57             : 
      58           0 :   using inverse_spatial_metric_tag =
      59             :       gr::Tags::InverseSpatialMetric<DataVector, Dim>;
      60             : };
      61             : }  // namespace CurvedScalarWave

Generated by: LCOV version 1.14