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/DataBox.hpp" 7 : #include "Evolution/DgSubcell/Tags/TciStatus.hpp" 8 : 9 : namespace evolution::dg::subcell { 10 : /// Returns the value of evolution::dg::subcell::Tags::TciDecision. 11 : template <typename DbTagsList> 12 1 : int get_tci_decision(const db::DataBox<DbTagsList>& box) { 13 : return db::get<Tags::TciDecision>(box); 14 : } 15 : } // namespace evolution::dg::subcell