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/Prefixes.hpp" 7 : #include "DataStructures/DataBox/Tag.hpp" 8 : #include "Time/TimeStepId.hpp" 9 : 10 : namespace Tags { 11 : /// \ingroup DataBoxTagsGroup 12 : /// \ingroup TimeGroup 13 : /// \brief Tag for ::TimeStepId for the algorithm state 14 1 : struct TimeStepId : db::SimpleTag { 15 0 : using type = ::TimeStepId; 16 : template <typename Tag> 17 0 : using step_prefix = typename Tags::dt<Tag>; 18 : }; 19 : } // namespace Tags