TestTags.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include "DataStructures/DataBox/Tag.hpp"
10 
11 /// \cond
12 class DataVector;
13 /// \endcond
14 
15 namespace TestHelpers::Tags {
16 /// [simple_variables_tag]
17 template <typename VectorType = DataVector>
19  using type = tnsr::I<VectorType, 3>;
20 };
21 /// [simple_variables_tag]
22 
23 template <typename VectorType = DataVector>
25  using type = tnsr::i<VectorType, 3>;
26 };
27 
28 template <typename VectorType = DataVector>
30  using type = ::Scalar<VectorType>;
31 };
32 
33 template <typename VectorType = DataVector>
35  using type = ::Scalar<VectorType>;
36 };
37 
38 template <typename VectorType = DataVector>
40  using type = tnsr::iJ<VectorType, 3>;
41 };
42 
43 /// [prefix_variables_tag]
44 template <class Tag>
46  using type = typename Tag::type;
47  using tag = Tag;
48 };
49 /// [prefix_variables_tag]
50 
51 template <class Tag>
53  using type = typename Tag::type;
54  using tag = Tag;
55 };
56 
57 template <class Tag>
59  using type = typename Tag::type;
60  using tag = Tag;
61 };
62 
63 template <class Tag>
65  using type = typename Tag::type;
66  using tag = Tag;
67 };
68 } // namespace TestHelpers::Tags
TestHelpers::Tags::Prefix0
[prefix_variables_tag]
Definition: TestTags.hpp:45
db::PrefixTag
Marks an item as being a prefix to another tag.
Definition: Tag.hpp:66
IndexType.hpp
db::SimpleTag
Tags for the DataBox inherit from this type.
Definition: Tag.hpp:23
TestHelpers::Tags::Prefix3
Definition: TestTags.hpp:64
TestHelpers::Tags::Vector
[simple_variables_tag]
Definition: TestTags.hpp:18
TestHelpers::Tags::Scalar
Definition: TestTags.hpp:29
TestHelpers::Tags::Prefix2
Definition: TestTags.hpp:58
DataVector
Stores a collection of function values.
Definition: DataVector.hpp:42
Metafunctions.hpp
TestHelpers::Tags::Scalar2
Definition: TestTags.hpp:34
TestHelpers::Tags::DerivOfVector
Definition: TestTags.hpp:39
TypeAliases.hpp
TestHelpers::Tags::OneForm
[simple_variables_tag]
Definition: TestTags.hpp:24
TestHelpers::Tags::Prefix1
[prefix_variables_tag]
Definition: TestTags.hpp:52