SpECTRE Documentation Coverage Report
Current view: top level - PointwiseFunctions/AnalyticData/GrMhd - AnalyticData.hpp Coverage Total Hit
Commit: 0d1d717af84a81fb1284a20c4013708fe85cc2f0 Lines: 40.0 % 5 2
Test Date: 2026-10-22 17:29:42
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 "PointwiseFunctions/AnalyticSolutions/GeneralRelativity/Solutions.hpp"
       9              : #include "PointwiseFunctions/Hydro/TagsDeclarations.hpp"
      10              : #include "PointwiseFunctions/Hydro/Temperature.hpp"
      11              : 
      12              : namespace grmhd {
      13              : /// Base struct for properties common to all GRMHD analytic data classes
      14            1 : struct AnalyticDataBase {
      15            0 :   static constexpr size_t volume_dim = 3_st;
      16              : 
      17              :   template <typename DataType>
      18            0 :   using tags =
      19              :       tmpl::push_back<typename gr::AnalyticSolution<3>::template tags<DataType>,
      20              :                       hydro::Tags::RestMassDensity<DataType>,
      21              :                       hydro::Tags::ElectronFraction<DataType>,
      22              :                       hydro::Tags::SpecificInternalEnergy<DataType>,
      23              :                       hydro::Tags::Temperature<DataType>,
      24              :                       hydro::Tags::Pressure<DataType>,
      25              :                       hydro::Tags::SpatialVelocity<DataType, 3>,
      26              :                       hydro::Tags::MagneticField<DataType, 3>,
      27              :                       hydro::Tags::DivergenceCleaningField<DataType>,
      28              :                       hydro::Tags::LorentzFactor<DataType>,
      29              :                       hydro::Tags::SpecificEnthalpy<DataType>>;
      30              : };
      31              : 
      32              : /*!
      33              :  * \ingroup AnalyticDataGroup
      34              :  * \brief Holds classes implementing analytic data for the GrMhd system.
      35              :  */
      36            1 : namespace AnalyticData {}
      37              : }  // namespace grmhd
        

Generated by: LCOV version 2.0-1