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 : #include <optional> 8 : #include <tuple> 9 : #include <utility> 10 : 11 : #include "DataStructures/DataBox/Access.hpp" 12 : #include "DataStructures/DataVector.hpp" 13 : #include "Domain/Structure/DirectionalIdMap.hpp" 14 : #include "Evolution/DiscontinuousGalerkin/BoundaryData.hpp" 15 : #include "NumericalAlgorithms/Spectral/Mesh.hpp" 16 : #include "Time/TimeStepId.hpp" 17 : #include "Utilities/Gsl.hpp" 18 : 19 : namespace evolution::dg::subcell { 20 : /*! 21 : * \brief Copies the neighbors' TCI decisions into 22 : * `subcell::Tags::NeighborTciDecisions<Dim>` 23 : */ 24 : template <size_t Dim> 25 1 : void neighbor_tci_decision( 26 : gsl::not_null<db::Access*> box, 27 : const std::pair<TimeStepId, 28 : DirectionalIdMap<Dim, evolution::dg::BoundaryData<Dim>>>& 29 : received_temporal_id_and_data); 30 : } // namespace evolution::dg::subcell