SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Imex/Tags - SolveTolerance.hpp Hit Total Coverage
Commit: 965048f86d23c819715b3af1ca3f880c8145d4bb Lines: 0 10 0.0 %
Date: 2024-05-16 17:00:40
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 "DataStructures/DataBox/Tag.hpp"
       7             : #include "Evolution/Imex/Tags/OptionGroup.hpp"
       8             : #include "Options/Options.hpp"
       9             : 
      10             : namespace imex {
      11             : namespace OptionTags {
      12           0 : struct SolveTolerance {
      13           0 :   static constexpr Options::String help =
      14             :       "Absolute tolerance for IMEX solve (only used in Implicit mode)";
      15           0 :   using type = double;
      16           0 :   using group = Group;
      17             : };
      18             : }  // namespace OptionTags
      19             : 
      20             : namespace Tags {
      21           0 : struct SolveTolerance : db::SimpleTag {
      22           0 :   using type = double;
      23           0 :   using option_tags = tmpl::list<::imex::OptionTags::SolveTolerance>;
      24             : 
      25           0 :   static constexpr bool pass_metavariables = false;
      26           0 :   static type create_from_options(const type& tolerance) { return tolerance; }
      27             : };
      28             : }  // namespace Tags
      29             : }  // namespace imex

Generated by: LCOV version 1.14