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 : 9 : #include "DataStructures/DataBox/Tag.hpp" 10 : #include "DataStructures/Tensor/TypeAliases.hpp" 11 : 12 : /// \cond 13 : class DataVector; 14 : /// \endcond 15 : 16 : namespace evolution::dg::subcell::Tags { 17 : /// The reconstruction order 18 : /// 19 : /// Only set if the reconstruction method actually returns the reconstruction 20 : /// order used. There can be a different reconstruction order in each logical 21 : /// dimension of an element. 22 : template <size_t Dim> 23 1 : struct ReconstructionOrder : db::SimpleTag { 24 0 : using type = std::optional<tnsr::I<DataVector, Dim, Frame::ElementLogical>>; 25 : }; 26 : } // namespace evolution::dg::subcell::Tags