Line data Source code
1 0 : // Distributed under the MIT License.
2 : // See LICENSE.txt for details.
3 :
4 : #pragma once
5 :
6 : #include "DataStructures/LinkedMessageId.hpp"
7 : #include "DataStructures/Tensor/TypeAliases.hpp"
8 : #include "DataStructures/Variables.hpp"
9 : #include "Domain/Domain.hpp"
10 : #include "Domain/FunctionsOfTime/FunctionOfTime.hpp"
11 : #include "Domain/Structure/ElementId.hpp"
12 : #include "ParallelAlgorithms/ApparentHorizonFinder/HorizonAliases.hpp"
13 : #include "ParallelAlgorithms/ApparentHorizonFinder/Storage.hpp"
14 : #include "Utilities/Gsl.hpp"
15 :
16 : namespace ah {
17 : /*!
18 : * \brief Compute the `ah::vars_to_interpolate_to_target` for a given
19 : * \p element_id from the `ah::source_vars` in that element.
20 : */
21 : template <typename Fr>
22 1 : void compute_vars_to_interpolate_to_target(
23 : gsl::not_null<Variables<ah::vars_to_interpolate_to_target<3, Fr>>*>
24 : target_vars,
25 : const tnsr::aa<DataVector, 3>& spacetime_metric,
26 : const tnsr::aa<DataVector, 3>& pi, const tnsr::iaa<DataVector, 3>& phi,
27 : const tnsr::ijaa<DataVector, 3>& deriv_phi,
28 : const LinkedMessageId<double>& time, const Domain<3>& domain,
29 : const Mesh<3>& mesh, const ElementId<3>& element_id,
30 : const domain::FunctionsOfTimeMap& functions_of_time);
31 : } // namespace ah
|