SubcellOptions.hpp
1 // 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/DgSubcell/SubcellOptions.hpp"
8 #include "NumericalAlgorithms/DiscontinuousGalerkin/Tags/OptionsGroup.hpp"
9 #include "Options/Options.hpp"
10 #include "Utilities/TMPL.hpp"
11 
12 namespace evolution::dg::subcell {
13 namespace OptionTags {
14 /// System-agnostic options for DG-subcell
16  static std::string name() noexcept { return "Subcell"; }
18  static constexpr Options::String help =
19  "System-agnostic options for DG-subcell";
21 };
22 } // namespace OptionTags
23 
24 namespace Tags {
25 /// System-agnostic options for DG-subcell
28 
29  using option_tags = tmpl::list<OptionTags::SubcellOptions>;
30  static constexpr bool pass_metavariables = false;
31  static type create_from_options(const type& subcell_options) noexcept {
32  return subcell_options;
33  }
34 };
35 } // namespace Tags
36 } // namespace evolution::dg::subcell
std::string
Options.hpp
db::SimpleTag
Mark a struct as a simple tag by inheriting from this.
Definition: Tag.hpp:36
evolution::dg::subcell::OptionTags::SubcellOptions
System-agnostic options for DG-subcell.
Definition: SubcellOptions.hpp:15
evolution::dg::subcell::SubcellOptions
Holds the system-agnostic subcell parameters, such as numbers controlling when to switch between DG a...
Definition: SubcellOptions.hpp:23
evolution::dg::subcell
Implementation of a generic finite volume/conservative finite difference subcell limiter.
Definition: Actions.hpp:6
Options::String
const char *const String
The string used in option structs.
Definition: Options.hpp:32
evolution::dg::subcell::Tags::SubcellOptions
System-agnostic options for DG-subcell.
Definition: SubcellOptions.hpp:26
dg::OptionTags::DiscontinuousGalerkinGroup
Group holding options for controlling the DG discretization.
Definition: OptionsGroup.hpp:19
TMPL.hpp