SpECTRE Documentation Coverage Report
Current view: top level - Evolution/DgSubcell/Tags - ActiveGrid.hpp Coverage Total Hit
Commit: 0d1d717af84a81fb1284a20c4013708fe85cc2f0 Lines: 25.0 % 12 3
Test Date: 2026-10-22 17:29:42
Legend: Lines:     hit not hit

            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/DgSubcell/ActiveGrid.hpp"
       8              : #include "NumericalAlgorithms/SpatialDiscretization/OptionTags.hpp"
       9              : #include "Options/String.hpp"
      10              : #include "Utilities/TMPL.hpp"
      11              : 
      12              : namespace evolution::dg::subcell {
      13            1 : namespace OptionTags {
      14            0 : struct ActiveGrid {
      15            0 :   using type = evolution::dg::subcell::ActiveGrid;
      16            0 :   static constexpr Options::String help = {
      17              :       "The type of the active grid. Either 'Dg' or 'Subcell'."};
      18            0 :   using group = SpatialDiscretization::OptionTags::SpatialDiscretizationGroup;
      19              : };
      20              : }  // namespace OptionTags
      21            1 : namespace Tags {
      22              : 
      23              : /// The grid currently used for the DG-subcell evolution on the element.
      24            1 : struct ActiveGrid : db::SimpleTag {
      25            0 :   using type = evolution::dg::subcell::ActiveGrid;
      26            0 :   using option_tags =
      27              :       tmpl::list<evolution::dg::subcell::OptionTags::ActiveGrid>;
      28              : 
      29            0 :   static constexpr bool pass_metavariables = false;
      30            0 :   static type create_from_options(const type option) { return option; }
      31              : };
      32              : }  // namespace Tags
      33              : }  // namespace evolution::dg::subcell
        

Generated by: LCOV version 2.0-1