|
SpECTRE
v2025.08.19
|
Initialize the subcell grid, including the size of the evolved Variables and, if present, primitive Variables.
More...
#include <Initialize.hpp>
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_tagsubcell::Tags::Mesh<Dim>subcell::Tags::MeshForGhostData<Dim>subcell::Tags::ActiveGridsubcell::Tags::DidRollbacksubcell::Tags::TciGridHistorysubcell::Tags::TciCallsSinceRollbacksubcell::Tags::GhostDataForReconstruction<Dim>subcell::Tags::TciDecisionsubcell::Tags::DataForRdmpTcisubcell::fd::Tags::InverseJacobianLogicalToGrid<Dim>subcell::fd::Tags::DetInverseJacobianLogicalToGridsubcell::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