SpECTRE Documentation Coverage Report
Current view: top level - PointwiseFunctions/AnalyticData/GrMhd - AnalyticData.hpp Hit Total Coverage
Commit: 1f2210958b4f38fdc0400907ee7c6d5af5111418 Lines: 2 5 40.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 "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 1.14