SpECTRE Documentation Coverage Report
Current view: top level - Evolution/Imex/Tags - SolveFailures.hpp Hit Total Coverage
Commit: 965048f86d23c819715b3af1ca3f880c8145d4bb Lines: 1 4 25.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 "DataStructures/DataVector.hpp"
       8             : #include "DataStructures/Tensor/Tensor.hpp"
       9             : #include "Utilities/PrettyType.hpp"
      10             : 
      11             : namespace imex::Tags {
      12             : /*!
      13             :  * Tag for a count of the pointwise implicit solve failures during the
      14             :  * most recent solve.  A value of 0 means the solve succeeded, a value
      15             :  * of 1 means the first fallback succeeded, and so on.
      16             :  */
      17             : template <typename Sector>
      18           1 : struct SolveFailures : db::SimpleTag {
      19           0 :   static std::string name() {
      20             :     return "SolveFailures(" + pretty_type::name<Sector>() + ")";
      21             :   }
      22           0 :   using type = Scalar<DataVector>;
      23             : };
      24             : }  // namespace imex::Tags

Generated by: LCOV version 1.14