Line data Source code
1 0 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : #pragma once 5 : 6 : #include <deque> 7 : 8 : #include "DataStructures/DataBox/Tag.hpp" 9 : #include "Evolution/DgSubcell/ActiveGrid.hpp" 10 : 11 : namespace evolution::dg::subcell::Tags { 12 : /// A record of which grid the TCI requested we use. 13 : /// 14 : /// This is necessary because when using linear multistep methods for the time 15 : /// integration we need to wait until the entire history is smooth before 16 : /// returning to DG. For an Nth order integration in time, this means we need N 17 : /// steps where the TCI has decided the solution is representable using DG. 18 : /// 19 : /// The front of the history is the most recent entry. 20 1 : struct TciGridHistory : db::SimpleTag { 21 0 : using type = std::deque<evolution::dg::subcell::ActiveGrid>; 22 : }; 23 : } // namespace evolution::dg::subcell::Tags