Tags.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include <string>
7 
9 #include "DataStructures/DataVector.hpp" // IWYU pragma: keep
11 
12 namespace Burgers {
13 namespace Tags {
14 struct U : db::SimpleTag {
15  static std::string name() noexcept { return "U"; }
16  using type = Scalar<DataVector>;
17 };
18 } // namespace Tags
19 } // namespace Burgers
Tags for the DataBox inherit from this type.
Definition: DataBoxTag.hpp:65
Definition: DataBoxTag.hpp:29
Defines a list of useful type aliases for tensors.
Defines classes SimpleTag, PrefixTag, ComputeTag and several functions for retrieving tag info...
Items related to evolving the Burgers equation .
Definition: Equations.cpp:20
Tensor< T, Symmetry<>, index_list<> > Scalar
Scalar type.
Definition: TypeAliases.hpp:21
Definition: Tags.hpp:14