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 gr { 9 : namespace Tags { 10 : /*! 11 : * \brief The quantity `Tag` scaled by a conformal factor to the given `Power` 12 : */ 13 : template <typename Tag, int Power> 14 1 : struct Conformal : db::PrefixTag, db::SimpleTag { 15 0 : using type = typename Tag::type; 16 0 : using tag = Tag; 17 0 : static constexpr int conformal_factor_power = Power; 18 : }; 19 : } // namespace Tags 20 : } // namespace gr