SpECTRE
v2024.12.16
|
Initializes the data of a newly created parent element from the data of its children elements. More...
#include <InitializeParent.hpp>
Static Public Member Functions | |
template<typename ParallelComponent , typename DbTagList , typename Metavariables > | |
static void | apply (db::DataBox< DbTagList > &box, Parallel::GlobalCache< Metavariables > &cache, const ElementId< Metavariables::volume_dim > &parent_id, std::unordered_map< ElementId< Metavariables::volume_dim >, tuples::tagged_tuple_from_typelist< typename db::DataBox< DbTagList >::mutable_item_creation_tags > > children_items) |
Initializes the data of a newly created parent element from the data of its children elements.
DataBox:
This action is meant to be invoked by amr::Actions::CollectDataFromChildren