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