Tags.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include <string>
7 
10 #include "PointwiseFunctions/Elasticity/ConstitutiveRelations/ConstitutiveRelation.hpp"
11 
12 /// \cond
13 namespace Elasticity {
14 namespace Tags {
15 template <size_t Dim>
16 struct Stress;
17 } // namespace Tags
18 } // namespace Elasticity
19 namespace Tags {
20 template <size_t Dim, typename Frame>
21 struct Coordinates;
22 } // namespace Tags
23 /// \endcond
24 
25 namespace Elasticity {
26 namespace Tags {
27 
28 /// Base tag for the constitutive relation
30 
31 template <typename ConstitutiveRelationType>
33  static constexpr OptionString help = {
34  "The constitutive relation of the elastic material"};
35  using type = ConstitutiveRelationType;
36  static std::string name() noexcept { return "Material"; }
37 };
38 
39 } // namespace Tags
40 } // namespace Elasticity
Tags for the DataBox inherit from this type.
Definition: DataBoxTag.hpp:65
Items related to solving elasticity problems.
Definition: Tags.hpp:34
const char *const OptionString
The string used in option structs.
Definition: Options.hpp:27
Definition: DataBoxTag.hpp:29
Defines a list of useful type aliases for tensors.
Tags that are base tags, i.e. a simple or compute tag must derive off them for them to be useful...
Definition: DataBoxTag.hpp:83
Defines classes SimpleTag, PrefixTag, ComputeTag and several functions for retrieving tag info...
Base tag for the constitutive relation.
Definition: Tags.hpp:29