SpECTRE Documentation Coverage Report
Current view: top level - Parallel/Tags - InputSource.hpp Hit Total Coverage
Commit: 3c072f0ce967e2e56649d3fa12aa2a0e4fe2a42e Lines: 1 6 16.7 %
Date: 2024-04-23 20:50:18
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 <string>
       7             : #include <vector>
       8             : 
       9             : #include "DataStructures/DataBox/Tag.hpp"
      10             : #include "Options/Tags.hpp"
      11             : 
      12             : namespace Parallel::Tags {
      13             : /// \ingroup DataBoxTagsGroup
      14             : /// A tag storing the input file yaml input source passed in at runtime, so that
      15             : /// it can be accessed and written to files.
      16           1 : struct InputSource : db::SimpleTag {
      17           0 :   using type = std::vector<std::string>;
      18           0 :   using option_tags = tmpl::list<::Options::Tags::InputSource>;
      19             : 
      20           0 :   static constexpr bool pass_metavariables = false;
      21           0 :   static type create_from_options(const type& input_source) {
      22             :     return input_source;
      23             :   }
      24             : };
      25             : }  // namespace Parallel::Tags

Generated by: LCOV version 1.14