SpECTRE
v2025.03.17
|
Initialize the subcell grid, including the size of the evolved Variables
and, if present, primitive Variables
.
More...
#include <Initialize.hpp>
Public Types | |
using | const_global_cache_tags = implementation defined |
using | simple_tags = implementation defined |
using | compute_tags = implementation defined |
Static Public Member Functions | |
template<typename DbTagsList , typename... InboxTags, typename ArrayIndex , typename ActionList , typename ParallelComponent , typename Metavariables > | |
static Parallel::iterable_action_return_t | apply (db::DataBox< DbTagsList > &box, const tuples::TaggedTuple< InboxTags... > &inboxes, const Parallel::GlobalCache< Metavariables > &cache, const ArrayIndex &array_index, ActionList, const ParallelComponent *const) |
Initialize the subcell grid, including the size of the evolved Variables
and, if present, primitive Variables
.
By default sets the element to subcell::ActiveGrid::Subcell
unless it is not allowed to use subcell either because it is at an external boundary or because it or one of its neighbors has been marked as DG-only.
GlobalCache:
DataBox:
domain::Tags::Mesh<Dim>
domain::Tags::Element<Dim>
System::variables_tag
subcell::Tags::Mesh<Dim>
subcell::Tags::MeshForGhostData<Dim>
subcell::Tags::ActiveGrid
subcell::Tags::DidRollback
subcell::Tags::TciGridHistory
subcell::Tags::TciCallsSinceRollback
subcell::Tags::GhostDataForReconstruction<Dim>
subcell::Tags::TciDecision
subcell::Tags::DataForRdmpTci
subcell::fd::Tags::InverseJacobianLogicalToGrid<Dim>
subcell::fd::Tags::DetInverseJacobianLogicalToGrid
subcell::Tags::LogicalCoordinates<Dim>
subcell::Tags::ReconstructionOrder<Dim>
(set as std::nullopt
)subcell::Tags::Coordinates<Dim, Frame::Grid>
(as compute tag)subcell::Tags::Coordinates<Dim, Frame::Inertial>
(as compute tag)System::variables_tag
and System::primitive_variables_tag
if the cell is troubledTags::dt<System::variables_tag>
if the cell is troubled