SpECTRE Documentation Coverage Report
Current view: top level - DataStructures/DataBox - MetavariablesTag.hpp Hit Total Coverage
Commit: 1f2210958b4f38fdc0400907ee7c6d5af5111418 Lines: 2 6 33.3 %
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 <string>
       7             : 
       8             : #include "DataStructures/DataBox/Tag.hpp"
       9             : 
      10           0 : namespace Parallel::Tags {
      11             : /// \ingroup DataBoxTagsGroup
      12             : /// \ingroup ParallelGroup
      13             : /// \brief Tag to retrieve the `Metavariables` from the DataBox.
      14             : ///
      15             : /// \details To insert the metavariables into the DataBox use
      16             : /// `Parallel::Tags::MetavariablesImpl<metavariables>`
      17           1 : struct Metavariables {};
      18             : 
      19             : /// \ingroup DataBoxTagsGroup
      20             : /// \brief Tag to insert Metavars into the DataBox
      21             : ///
      22             : /// \details Can be retrieved via `Parallel::Tags::Metavariables` (i.e. without
      23             : /// the template parameter)
      24             : template <typename Metavars>
      25           1 : struct MetavariablesImpl : Metavariables, db::SimpleTag {
      26           0 :   using type = Metavars;
      27           0 :   static std::string name() { return "Metavariables"; }
      28             : };
      29             : }  // namespace Parallel::Tags

Generated by: LCOV version 1.14