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/DataBox/Tag.hpp" 7 : 8 : namespace Parallel::Tags { 9 : /// \ingroup DataBoxTagsGroup 10 : /// \ingroup ParallelGroup 11 : /// Tag to retrieve the `ArrayIndex` from the DataBox. 12 : template <typename Index> 13 1 : struct ArrayIndex : db::SimpleTag { 14 0 : using type = Index; 15 : }; 16 : } // namespace Parallel::Tags