TestHelpers.hpp
Go to the documentation of this file.
1 // Distributed under the MIT License.
2 // See LICENSE.txt for details.
3 
4 /// \file
5 /// Defines functions useful for testing curved scalar wave
6 
7 #pragma once
8 
9 #include <cstddef>
10 
12 
13 template <typename DataType>
14 Scalar<DataType> make_pi(const DataType& used_for_size);
15 
16 template <size_t Dim, typename DataType>
17 tnsr::i<DataType, Dim> make_phi(const DataType& used_for_size);
18 
19 template <size_t Dim, typename DataType>
20 tnsr::i<DataType, Dim> make_d_psi(const DataType& used_for_size);
21 
22 template <size_t Dim, typename DataType>
23 tnsr::i<DataType, Dim> make_d_pi(const DataType& used_for_size);
24 
25 template <size_t Dim, typename DataType>
26 tnsr::ij<DataType, Dim> make_d_phi(const DataType& used_for_size);
27 
28 template <typename DataType>
29 Scalar<DataType> make_constraint_gamma1(const DataType& used_for_size);
30 
31 template <typename DataType>
32 Scalar<DataType> make_constraint_gamma2(const DataType& used_for_size);
Defines classes for Tensor.
Tensor< T, Symmetry<>, index_list<> > Scalar
Scalar type.
Definition: TypeAliases.hpp:21