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 "Evolution/Systems/GeneralizedHarmonic/GaugeSourceFunctions/DhGaugeParameters.hpp" 9 : #include "Options/String.hpp" 10 : 11 : /// \cond 12 : namespace gh::OptionTags { 13 : struct Group; 14 : } // namespace gh::OptionTags 15 : /// \endcond 16 : 17 : namespace gh::gauges { 18 0 : namespace OptionTags { 19 : template <bool UseRollon> 20 0 : struct DhGaugeParameters { 21 0 : using type = gh::gauges::DhGaugeParameters<UseRollon>; 22 0 : static constexpr Options::String help{ 23 : "Parameters for initializing damped harmonic gauge."}; 24 0 : using group = gh::OptionTags::Group; 25 : }; 26 : } // namespace OptionTags 27 : 28 0 : namespace Tags { 29 : /// \brief Input option tags for the generalized harmonic evolution system 30 : template <bool UseRollon> 31 1 : struct DhGaugeParameters : db::SimpleTag { 32 0 : using ParametersType = gh::gauges::DhGaugeParameters<UseRollon>; 33 0 : using type = ParametersType; 34 0 : using option_tags = 35 : tmpl::list<gh::gauges::OptionTags::DhGaugeParameters<UseRollon>>; 36 : 37 0 : static constexpr bool pass_metavariables = false; 38 0 : static ParametersType create_from_options(const ParametersType& parameters) { 39 : return parameters; 40 : } 41 : }; 42 : } // namespace Tags 43 : } // namespace gh::gauges