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 : #include "DataStructures/DataBox/TagName.hpp" 10 : 11 : namespace Tags { 12 : /// \ingroup DataBoxTagsGroup 13 : /// \ingroup TimeGroup 14 : /// \brief Tag for the previous value of the stepper error measure. 15 : template <typename Tag> 16 1 : struct PreviousStepperError : db::PrefixTag, db::SimpleTag { 17 0 : static std::string name() { 18 : return "PreviousStepperError(" + db::tag_name<Tag>() + ")"; 19 : } 20 0 : using type = typename Tag::type; 21 0 : using tag = Tag; 22 : }; 23 : } // namespace Tags