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 "Evolution/Imex/Mode.hpp"
8 : #include "Evolution/Imex/Tags/OptionGroup.hpp"
9 : #include "Options/Options.hpp"
10 :
11 : namespace imex {
12 1 : namespace OptionTags {
13 : /// Tag for IMEX implementation to use
14 1 : struct Mode {
15 0 : static constexpr Options::String help{"IMEX implementation to use"};
16 0 : using type = ::imex::Mode;
17 0 : using group = Group;
18 : };
19 : } // namespace OptionTags
20 :
21 : namespace Tags {
22 : /// Tag for IMEX implementation to use
23 1 : struct Mode : db::SimpleTag {
24 0 : using type = ::imex::Mode;
25 0 : using option_tags = tmpl::list<::imex::OptionTags::Mode>;
26 :
27 0 : static constexpr bool pass_metavariables = false;
28 0 : static type create_from_options(const type& mode) { return mode; }
29 : };
30 : } // namespace Tags
31 : } // namespace imex
|