SpECTRE Documentation Coverage Report
Current view: top level - Time/Tags - StepperErrors.hpp Hit Total Coverage
Commit: 3c2e9d3ed337bca2146eee9de07432e292a38c3a Lines: 1 5 20.0 %
Date: 2024-06-11 22:56:19
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 <array>
       7             : #include <optional>
       8             : #include <string>
       9             : 
      10             : #include "DataStructures/DataBox/Tag.hpp"
      11             : #include "DataStructures/DataBox/TagName.hpp"
      12             : #include "Time/StepperErrorEstimate.hpp"
      13             : 
      14             : namespace Tags {
      15             : /// \ingroup DataBoxTagsGroup
      16             : /// \ingroup TimeGroup
      17             : /// \brief Tag for the stepper error measures.
      18             : template <typename Tag>
      19           1 : struct StepperErrors : db::PrefixTag, db::SimpleTag {
      20           0 :   static std::string name() {
      21             :     return "StepperErrors(" + db::tag_name<Tag>() + ")";
      22             :   }
      23           0 :   using type =
      24             :       std::array<std::optional<StepperErrorEstimate<typename Tag::type>>, 2>;
      25           0 :   using tag = Tag;
      26             : };
      27             : }  // namespace Tags

Generated by: LCOV version 1.14