Tags.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include <cstddef>
7 #include <string>
8 
11 #include "Evolution/Systems/RelativisticEuler/Valencia/TagsDeclarations.hpp"
12 
13 /// \cond
14 class DataVector;
15 /// \endcond
16 
17 namespace RelativisticEuler {
18 namespace Valencia {
19 /// %Tags for the Valencia formulation of the relativistic Euler system.
20 namespace Tags {
21 
22 /// The densitized rest-mass density \f${\tilde D}\f$
24  using type = Scalar<DataVector>;
25  static std::string name() noexcept { return "TildeD"; }
26 };
27 
28 /// The densitized energy density \f${\tilde \tau}\f$
30  using type = Scalar<DataVector>;
31  static std::string name() noexcept { return "TildeTau"; }
32 };
33 
34 /// The densitized momentum density \f${\tilde S_i}\f$
35 template <size_t Dim, typename Fr>
37  using type = tnsr::i<DataVector, Dim, Fr>;
38  static std::string name() noexcept { return Frame::prefix<Fr>() + "TildeS"; }
39 };
40 
41 } // namespace Tags
42 } // namespace Valencia
43 } // namespace RelativisticEuler
The densitized momentum density .
Definition: Tags.hpp:36
Items related to evolving the relativistic Euler system.
Definition: Characteristics.hpp:21
Tags for the DataBox inherit from this type.
Definition: DataBoxTag.hpp:65
The densitized rest-mass density .
Definition: Tags.hpp:23
Definition: DataBoxTag.hpp:29
Defines a list of useful type aliases for tensors.
Stores a collection of function values.
Definition: DataVector.hpp:46
Defines classes SimpleTag, PrefixTag, ComputeTag and several functions for retrieving tag info...
Tensor< T, Symmetry<>, index_list<> > Scalar
Scalar type.
Definition: TypeAliases.hpp:21
The densitized energy density .
Definition: Tags.hpp:29