SpECTRE
v2021.04.06
Documentation
Introduction
Releases
Installation
User Tutorials
Dev Guide
Code of Conduct
Contributing Guide
Code Reference
Topics
Namespaces
Files
Bibliography
View on GitHub
src
Evolution
DgSubcell
Tags
TciGridHistory.hpp
1
// Distributed under the MIT License.
2
// See LICENSE.txt for details.
3
4
#pragma once
5
6
#include <
deque
>
7
8
#include "
DataStructures/DataBox/DataBoxTag.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
struct
TciGridHistory
:
db::SimpleTag
{
21
using
type
=
std::deque<evolution::dg::subcell::ActiveGrid>
;
22
};
23
}
// namespace evolution::dg::subcell::Tags
DataBoxTag.hpp
db::SimpleTag
Mark a struct as a simple tag by inheriting from this.
Definition:
Tag.hpp:36
evolution::dg::subcell::Tags::TciGridHistory
A record of which grid the TCI requested we use.
Definition:
TciGridHistory.hpp:20
deque
evolution::dg::subcell::Tags
Tags for the DG-subcell solver
Definition:
ActiveGrid.hpp:9
© Copyright 2017 - 2021
SXS Collaboration
,
Distributed under the
MIT License