Line data Source code
1 0 : // Distributed under the MIT License.
2 : // See LICENSE.txt for details.
3 :
4 : /// Defines functions interface_logical_coordinates
5 :
6 : #pragma once
7 :
8 : #include <cstddef>
9 :
10 : #include "DataStructures/Tensor/TypeAliases.hpp"
11 :
12 : /// \cond
13 : template <size_t Dim>
14 : class Mesh;
15 : class DataVector;
16 : template <size_t Dim>
17 : class Direction;
18 : /// \endcond
19 :
20 : /*!
21 : * \ingroup ComputationalDomainGroup
22 : * \brief Compute the logical coordinates on a face of an Element.
23 : *
24 : * \returns element logical-frame vector holding coordinates
25 : *
26 : * \example
27 : * \snippet Test_InterfaceLogicalCoordinates.cpp interface_logical_coordinates_example
28 : */
29 : template <size_t VolumeDim>
30 : tnsr::I<DataVector, VolumeDim, Frame::ElementLogical>
31 1 : interface_logical_coordinates(const Mesh<VolumeDim - 1>& mesh,
32 : const Direction<VolumeDim>& direction);
|