SpECTRE
v2024.09.29
|
Sends data from the parent element to its children elements during adaptive mesh refinement. More...
#include <SendDataToChildren.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 > &element_id, const std::vector< ElementId< Metavariables::volume_dim > > &ids_of_children) |
Sends data from the parent element to its children elements during adaptive mesh refinement.
This action should be called after all children elements have been created by amr::Actions::CreateChild. This action sends a copy of all items corresponding to the mutable_item_creation_tags of box
to each of the elements with ids_of_children
. Finally, the parent element destroys itself.