Line data Source code
1 0 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : #pragma once 5 : 6 : #include <boost/functional/hash.hpp> 7 : #include <cstddef> 8 : #include <utility> 9 : 10 : #include "DataStructures/DataBox/Tag.hpp" 11 : #include "Domain/Structure/DirectionalIdMap.hpp" 12 : #include "NumericalAlgorithms/Spectral/Mesh.hpp" 13 : 14 : namespace domain::Tags { 15 : /*! 16 : * \brief Holds the mesh of each neighboring element. 17 : * 18 : * This knowledge can be used to determine the geometry of mortars between 19 : * elements. It is kept up to date by AMR. 20 : * 21 : * For DG-FD hybrid methods this is necessary to determine what numerical method 22 : * the neighbor is using. This knowledge can be used for optimizing code. 23 : */ 24 : template <size_t Dim> 25 1 : struct NeighborMesh : db::SimpleTag { 26 0 : using type = DirectionalIdMap<Dim, ::Mesh<Dim>>; 27 : }; 28 : } // namespace domain::Tags