Line data Source code
1 0 : // Distributed under the MIT License.
2 : // See LICENSE.txt for details.
3 :
4 : #pragma once
5 :
6 : #include <cstddef>
7 :
8 : #include "DataStructures/Tensor/TypeAliases.hpp"
9 : #include "Utilities/Gsl.hpp"
10 :
11 : /// \cond
12 : class DataVector;
13 : /// \endcond
14 :
15 : namespace gh::gauges {
16 : /*!
17 : * \brief Compute \f$0.5 n^a n^b \Pi_{ab}\f$ and \f$0.5 n^a n^b \Phi_{iab}\f$
18 : */
19 : template <size_t Dim, typename Frame>
20 1 : void half_pi_and_phi_two_normals(
21 : gsl::not_null<Scalar<DataVector>*> half_pi_two_normals,
22 : gsl::not_null<tnsr::i<DataVector, Dim, Frame>*> half_phi_two_normals,
23 : const tnsr::A<DataVector, Dim, Frame>& spacetime_normal_vector,
24 : const tnsr::aa<DataVector, Dim, Frame>& pi,
25 : const tnsr::iaa<DataVector, Dim, Frame>& phi);
26 : } // namespace gh::gauges
|