Line data Source code
1 0 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : #pragma once 5 : 6 : #include <array> 7 : #include <cstddef> 8 : #include <unordered_map> 9 : 10 : #include "DataStructures/DataBox/Tag.hpp" 11 : #include "Domain/Amr/Flag.hpp" 12 : 13 : /// \cond 14 : template <size_t VolumeDim> 15 : class ElementId; 16 : /// \endcond 17 : 18 : namespace amr::Tags { 19 : /// amr::Flag%s for the neighbors of an Element. 20 : template <size_t VolumeDim> 21 1 : struct NeighborFlags : db::SimpleTag { 22 0 : using type = std::unordered_map<ElementId<VolumeDim>, 23 : std::array<amr::Flag, VolumeDim>>; 24 : }; 25 : 26 : } // namespace amr::Tags