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 "Time/OptionTags/VariableOrderAlgorithm.hpp" 8 : #include "Time/VariableOrderAlgorithm.hpp" 9 : #include "Utilities/TMPL.hpp" 10 : 11 : namespace Tags { 12 : /// \ingroup DataBoxTagsGroup 13 : /// \ingroup TimeGroup 14 : /// \brief Algorithm for changing the time-stepper order in a 15 : /// variable-order evolution. 16 : /// \see ChangeTimeStepperOrder 17 1 : struct VariableOrderAlgorithm : db::SimpleTag { 18 0 : using type = ::VariableOrderAlgorithm; 19 0 : using option_tags = tmpl::list<::OptionTags::VariableOrderAlgorithm>; 20 0 : static constexpr bool is_overlayable = true; 21 : 22 0 : static constexpr bool pass_metavariables = false; 23 0 : static type create_from_options(const type& option) { return option; } 24 : }; 25 : } // namespace Tags