SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Systems/GeneralizedHarmonic - AllSolutions.hpp Hit Total Coverage
Commit: 0a69427d3dc19cb77b6ca61d0cc3acfd3eca9706 Lines: 1 3 33.3 %
Date: 2024-04-26 01:27:01
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/AnalyticData/GhGrMhd/Factory.hpp"
       9             : #include "PointwiseFunctions/AnalyticData/GhScalarTensor/Factory.hpp"
      10             : #include "PointwiseFunctions/AnalyticSolutions/GeneralRelativity/Factory.hpp"
      11             : #include "PointwiseFunctions/AnalyticSolutions/GhGrMhd/Factory.hpp"
      12             : #include "PointwiseFunctions/AnalyticSolutions/GhRelativisticEuler/Factory.hpp"
      13             : #include "Utilities/TMPL.hpp"
      14             : 
      15             : namespace gh {
      16             : /*!
      17             :  * \brief All solutions, including matter ones from GRMHD, etc. Used by
      18             :  * e.g. boundary conditions.
      19             :  */
      20           1 : using ghmhd_solutions =
      21             :     tmpl::append<gh::RelativisticEuler::Solutions::all_solutions,
      22             :                  gh::grmhd::Solutions::all_solutions,
      23             :                  gh::grmhd::AnalyticData::all_analytic_data>;
      24             : template <size_t Dim>
      25           0 : using solutions_including_matter = tmpl::append<
      26             :     gh::Solutions::all_solutions<Dim>,
      27             :     tmpl::conditional_t<
      28             :         Dim == 3,
      29             :         tmpl::append<ghmhd_solutions,
      30             :                      gh::ScalarTensor::AnalyticData::all_analytic_data>,
      31             :         tmpl::list<>>>;
      32             : }  // namespace gh

Generated by: LCOV version 1.14