FaceNormal.hpp
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 #pragma once
5 
6 #include <cstddef>
7 
8 #include "DataStructures/Tensor/EagerMath/Magnitude.hpp"
9 #include "Domain/FaceNormal.hpp"
10 #include "Domain/Tags.hpp"
11 
12 namespace domain::Tags {
13 
14 /// The _normalized_ face normal
15 template <size_t Dim, typename LocalFrame = Frame::Inertial>
16 using FaceNormal =
18 
19 /// The magnitude of the _unnormalized_ face normal, see
20 /// `::unnormalized_face_normal`
21 template <size_t Dim, typename LocalFrame = Frame::Inertial>
24 
25 } // namespace domain::Tags
FaceNormal.hpp
Tags.hpp
domain::Tags::FaceNormal
::Tags::Normalized< Tags::UnnormalizedFaceNormal< Dim, LocalFrame > > FaceNormal
The normalized face normal.
Definition: FaceNormal.hpp:17
Tags::Normalized
Definition: Magnitude.hpp:137
cstddef
Tags::Magnitude
Definition: Magnitude.hpp:98
domain::Tags
Tags for the domain.
Definition: FaceNormal.hpp:107